Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 11-21-2004, 12:06 AM   #1 (permalink)
Psycho
 
Wingless's Avatar
 
Location: Metro Detroit, Mich, USA
Quick question: routers and switches

What's the difference between, say, a 4-port router, and a 4-port switch? Or, what is a router, and what is a switch?
__________________
Tommy
Nibs is a funny word.
So here I am, above palm trees, so straight and tall...
You are, smaller getting smaller, but I still see... you.

Jimmy Eat World - Goodbye Sky Harbor
Wingless is offline  
Old 11-21-2004, 12:47 AM   #2 (permalink)
big damn hero
 
guthmund's Avatar
 
Ah, I knew I remembered Mr. Mephisto doing an excellent write up about this....

Check out this thread...

http://www.tfproject.org/tfp/showthr...uters+switches

It don't get any better than that....
__________________
No signature. None. Seriously.
guthmund is offline  
Old 11-21-2004, 07:12 AM   #3 (permalink)
Knight of the Old Republic
 
Lasereth's Avatar
 
Location: Winston-Salem, NC
While Mr. Mephisto's guide is extremely useful, it's hard to understand for folks who don't even know what each component does. So here's my extremely simple, way-too-layman's definitions:

A 4-port hub can be used to connect PC's together through a decent connection. A switch can be used to do the same thing but is simply faster than a hub for various reasons that Mr. Mephisto explained. So basically, a hub and a switch are sort of the same thing with a switch allowing much faster connections.

A router can be attached to a hub or switch. Some routers have built in 4-port switches which is really useful. What does a router do? It simply allows an ethernet Internet connection to be shared across a network to multiple computers. If you have dial-up, a router isn't necessary (you can share dial-up Internet across a hub to multiple PCs). If you have Cable or DSL, a router is needed. Without a router, only one computer on a hub or switch network can use the broadband Internet connection without paying extra. If you buy a router and connect it to your network, multiple computers on the network can share the broadband Internet connection by means of DHCP and other neat acronyms.

In summary: a hub is a device that allows computers to connect to each other on a network. A switch does the same thing only faster due to various technological upgrades. A router can be used to allow a broadband Internet connection to be shared across a switch or hub network.

I know this is a simple explanation but I don't think further explanation is needed for someone who just wants to know what each device is.

-Lasereth
__________________
"A Darwinian attacks his theory, seeking to find flaws. An ID believer defends his theory, seeking to conceal flaws." -Roger Ebert

Last edited by Lasereth; 11-21-2004 at 07:14 AM..
Lasereth is offline  
Old 11-21-2004, 08:52 AM   #4 (permalink)
zen_tom
Guest
 
A hub is like a pool where all the machines on the network share their communication.

A switch allows the machines to communicate more directly with one another (i.e. they don't all share the same 'pool' of information)

A router is a thing that connects different and often distant networks together i.e. Many people connect to their ISP via a broadband router.
 
Old 11-21-2004, 09:00 AM   #5 (permalink)
Professional Loafer
 
bendsley's Avatar
 
Location: texas
Also, please be advised that some switches are Layer 3 switches.
=============================================================
A Layer 3 Switch Is a Router
Vendors and the trade press alike have tried to apply the term "Layer 3 switch" to various products of the day, succeeding only in confusing IT decision makers. A Layer 3 switch does everything to a packet that a traditional router does:

* Determines forwarding path based on Layer 3 information
* Validates the integrity of the Layer 3 header via checksum
* Verifies packet expiration and updates accordingly
* Processes and responds to any option information
* Updates forwarding statistics in the Management Information Base (MIB)
* Applies security controls if required

Because it is designed to handle high-performance LAN traffic, a Layer 3 switch can be placed anywhere within a network core or backbone, easily and cost-effectively replacing the traditional collapsed backbone router. The Layer 3 switch communicates with the WAN router using industry-standard routing protocols like RIP and OSPF.

Router Interfaces as Layer 2 Switching Domains
The Layer 3 switch has inherent Layer 2 switching domains per interface, allowing for individual subnet bandwidth allocation, along with broadcast containment. Not all interfaces are created equal, so the ability to group ports together, whether based on physical characteristics or protocol information, is an extremely powerful tool for network designers concerned with capacity planning. This architecture is inherently scalable, capable of supporting numerous external Layer 2 switches that reside either in the data center or the wiring closet.

Such a design model preserves the subnetted infrastructure, concurrently boosting performance of those subnets and enabling the deployment of switched 10, 100, or 1000 Mbps right to the desktop if so desired. The concept of "subnet preservation" is the key to effective and trouble-free network migration—it allows gradual migration, helping IT managers to work within their staffing constraints without the need to renumber and reassign their entire network.

Effective Application of Policy
As previously stated, contemporary Layer 3 switches perform their forwarding—whether Layer 2, Layer 3, unicast, multicast, or broadcast—in hardware. Software is deployed to handle network administration, table management, and exception conditions. Some technologists view the hardware component of a Layer 3 switch as inflexible. In fact, hardware provides the ultimate flexibility not only in performance, but in parallel processing as well. The parallel processing model allows the network device to perform far more operations on packets than previously imagined, especially with respect to the application of policy.

A policy is a mechanism to alter the normal forwarding of a packet through a networking device. Familiar examples include security, load balancing, and protocol option processing. Newer policies include QoS, a way to allocate bandwidth and control propagation delay, in addition to CoS, a way to manage packet prioritization. QoS and CoS policies are not only meant to enable new multimedia applications, such as LAN telephony, but to ensure network response time for mission-critical applications, such as telemedicine. Policy implemented by intelligent networking devices, such as Layer 3 switches, enables the integration of voice, video, and data onto the same infrastructure, a process 3Com calls convergence.

Software-based architectures cannot seamlessly administer policy controls at even moderate rates of speed (beyond 10 Mbps). The Layer 3 switch solves the problem, enabling policies to be applied at the same performance levels as ordinary Layer 2 and 3 forwarding. Further innovation allows the Layer 3 switch to apply policy based on Layer 4 information, such as TCP and UDP port information. Forward thinkers refer to this as "Layer 4 switching." The FIRE architecture supports all these policies, all the way to Layer 4.

Even with the massive capacity additions being planned for many networks, effective policy management enabled by Layer 3 switching is key to the protection and availability of critical resources.

Ease of Management
One of the critical success factors for the Layer 2 switch was its implementation and operational simplicity. Deployment was often as easy as powering on the switch, assigning it an IP address, and making the physical network connections. Routers, on the other hand, required extensive training and forced users to sift through a multitude of arcane commands. Layer 3 switches remove such complexity. Setting up a routed environment is as simple as setting up a Layer 2 switch, defining the routed interface, and enabling the routing protocols. IT managers concerned about their investment in training staff on traditional router platforms must assess whether this is truly an investment, or simply a sunk cost based upon vendor lock-in schemes.

For the network management application perspective, a Layer 3 switch behaves exactly as a legacy router does. Because of its Layer 2 component, extensive Remote Monitoring (RMON) capabilities are available. However, since Layer 3 and Layer 4 capabilities are present in the Layer 3 switch, higher-layer monitoring is available with RMON2 technology. RMON and RMON2 have historically been deployed with expensive external devices known as probes. Moving the RMON/RMON2 capability into the Layer 3 switch is a major benefit for IT administrators.

Layer 3 Switching vs. Traditional Routing
By now, it should be clear that a Layer 3 switch can be deployed anywhere in the LAN where a traditional router can be or has been used.
Table 2 compares the two types of devices. The Layer 3 switch has been optimized for high-performance LAN support and is not meant to service wide area connections (although it could easily satisfy the requirements for high-performance MAN connectivity, such as SONET). This optimization boosts the performance of a Layer 3 switch to as much as ten times that of a legacy router, while driving the price down to as little as a tenth. This cost comparison does not include the lower training costs for Layer 3 switch administrators or the increased productivity of a high-performance network.

There is another major architectural difference between a Layer 3 switch and a router. A traditional router organizes bridging (Layer 2) and routing (Layer 3) as peers. A Layer 3 switch layers routing on top of switching, permitting a more natural networking architecture while greatly facilitating scalability.


Characteristic Layer 3 Switch Legacy Router
Routes core LAN protocols: IP, IPX, AppleTalk Yes Yes
Subnet definition Layer 2 switch domain Port
Forwarding architecture Hardware Software
RMON support Yes No
Price Low High
Forwarding performance High Low
Policy performance High Low
WAN support No Yes

Layer 3 Switch vs. Legacy Router

The Business Case for a Layer 3 Switch
Some IT managers may be concerned about deploying a "new" technology such as Layer 3 switching to their network. But Layer 3 switching is really an integration of two proven technologies: switching and routing. In fact, some Layer 3 switches are running the exact same routing software that has been fully tested and used in mission-critical networks for nearly a decade. So whether the decision maker is an early adopter of technology or more conservative, the Layer 3 switch can satisfy both needs.

The first step toward the deployment of next-generation IT infrastructures is to ignore the networking element. Although this may seem absurd, it allows managers to focus on the end users, services, and data without being bound by historical network deficiencies. The network should be transparent. When the requirements for information transfer are known, capacity planning techniques will determine the necessary client and server interconnects. Organizational and security mandates are then applied, yielding the policy and subnetted infrastructure. Cost is then factored in. Finally, the decision is made regarding the appropriate networking products to satisfy these requirements.

Layer 3 switching technology must be considered from two perspectives. First, as a migration tool to move users forward to higher-performance networking, or surprisingly, to squeeze more performance out of what is currently installed. Many users complain about FDDI performance, only to discover that the network is running at less than 20 percent of capacity. The problem is not the network, but rather the devices attached to it. The second perspective addresses what can be done when network performance bottlenecks are removed. A high-performance network enables a variety of steps to reduce costs and enhance security and business operations. The following are examples of several such steps.

* Server farms. Today, the viability of many organizations is closely related to their intellectual property, often stored on databases or server devices. The security and protection of these servers has been a major goal of IT managers, who have been at odds with the users of those servers. The point of contention has been the dependence of server performance on the network topology. The response has been to move servers within the same subnet or Layer 2 switching domain as users. With data traffic patterns becoming more distributed, this approach was breaking down. The Layer 3 switch allows servers to be centralized with no performance penalty, eliminating the cost of numerous server repositories while keeping end users satisfied.
* Intranets. Because of its secure nature, along with its higher capacity, the intranet is becoming a viable corporate communications vehicle with usage that includes HR record retrieval, major announcements, computer-based training, and live video broadcasts. Delivering a wide variety of services, some requiring a huge amount of bandwidth, can wreak havoc on the old router. The Layer 3 switch, because of its higher performance, traffic prioritization, and subnet preservation, is ideally suited for the deployment of intranets.
* Converged networks. For some time, technological prognosticators have been extolling the virtues of multimedia and warning of the excessive demand it will place on IT infrastructures. But many network managers have been disinclined to integrate their voice, video, and data traffic, concerned not only with the bandwidth requirements, but fearing the degraded quality of the respective elements. The ability to recognize and respond to the unique attributes of voice, data, and video not only makes their integration viable, but also attractive from a cost and management perspective. The inherent flow recognition capabilities of Layer 3 switching enable practical deployment of converged networks without performance uncertainties.


Q: Layer 3 switches vs. routers
Q: What is the difference between Layer 3 switching and regular routing?

A: Not much. Layer 3 switches were designed to provide greater performance at a lower price than traditional routers.
Q: Will Layer 3 switches always improve the performance of your network?

A: No. They will improve performance if your router is too slow to support the speed of the LANs your company uses.
Q: Do Layer 3 switch management systems differ from systems used to manage routers?

A: Yes. There are a lot of variations in management packages for Layer 3 switches just as there are lots of variations in router packages. IS managers need to look at each Layer 3 switch management package before deciding.
Q: Do Layer 3 switch vendors plan support for protocols beyond IP?

A: Yes. The major players, Nortel, Cisco, 3Com and Juniper either have support or plan support for Novell IPX. Cisco already supports additional protocols, but many vendors will likely stop after IPX support because they feel user companies will eventually phase out additional protocols.
__________________
"You hear the one about the fella who died, went to the pearly gates? St. Peter let him in. Sees a guy in a suit making a closing argument. Says, "Who's that?" St. Peter says, "Oh, that's God. Thinks he's Denny Crane."

Last edited by bendsley; 11-21-2004 at 09:02 AM..
bendsley is offline  
Old 11-21-2004, 10:29 AM   #6 (permalink)
Misanthropic
 
Crack's Avatar
 
Location: Ohio! yay!
That might be a little bit more indepth than he/she needs...
__________________
Crack, you and I are long overdue for a vicious bout of mansex.

~Halx
Crack is offline  
Old 11-21-2004, 10:04 PM   #7 (permalink)
big damn hero
 
guthmund's Avatar
 
Christ.

I thought by linking to another post we could avoid bringing out the chalkboard and pontificating on the virtues of the argument "The Switch Vs. Router conundrum."

Guess that wasn't going to happen, eh?

If it was a quick and dirty answer one was looking for I would imagine a quick search on Google would net the simple answer one was looking for. However, since we are simplifying the response let me give it a try....

Switch good, Router better.

4 words. "So simple, even a caveman could understand."
__________________
No signature. None. Seriously.
guthmund is offline  
 

Tags
question, quick, routers, switches


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 11:19 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360