Professional Documents
Culture Documents
Layer 2 and Layer 3 Switching: Freeha Khan 2 Presentation IS 8040 Data Communication Theory and Practice
Layer 2 and Layer 3 Switching: Freeha Khan 2 Presentation IS 8040 Data Communication Theory and Practice
Freeha Khan 2nd Presentation IS 8040 Data Communication Theory and Practice
4/7/2013 IS8040 1
Switching
Today in data communications, all switching and routing equipment perform two basic operations: Switching data frames Maintenance of switching operations Switching is the process of taking an incoming frame from one interface and delivering it out through another interface Routers use Layer 3 switching to route a packet, and switches (Layer 2 switches) use Layer 2 switching to forward frames
4/7/2013 IS8040 2
Switches
Switches are similar to bridges but usually have more ports Switches provide a unique network segment on each port, thereby separating collision domains Today, network designers are replacing hubs in their wiring closets with switches to increase their network performance and bandwidth while protecting their existing wiring investments
4/7/2013 IS8040 3
Switches
10/100-Mbps Ethernet Switches are good resolution if Ethernet LANs are stretched to the breaking point under the weight of
new users, servers and high-end applications
Most switches provide shared or dedicated 10/100 uplinks to other switches or network backbones, and some even provide one or two dedicated Gigabit Ethernet links for especially heavy bandwidth requirements
4/7/2013 IS8040 4
Layer 2 Switching
Layer 2 switches, operate at the second, or data link, layer of the open systems interconnection model OSI Model
Application Presentation Session Transport Network Data Link Physical
IS8040 5
4/7/2013
Layer 2 Switch
4/7/2013
Garrett Communications Magnum switches come with eight to 24 10/100-Mbps ports and range in price from $599 to $1,199.
IS8040
Layer 2 Switching
Layer 2 switches operate at MAC layer Layer 2 switches broadcast multicast traffic to all their ports very detrimental to performance Static entries can be defined on switches to control multicast at layer 2 but static entries do not react to dynamic behaviors
4/7/2013
IS8040
Layer 2 Switching
Check incoming network traffic Keep track of the physical addresses of all stations attached to their ports Forward traffic to specific station addresses according to the forwarding tables Layer 2 switches can deliver data at wire speeds because they dont have to examine individual data packets
4/7/2013 IS8040 8
Layer 2 Switching
Layer 2 Switching
If the Layer 2 switch does not know where to send the frame, it broadcasts the frame out all its ports to the network to learn the correct destination When the frame's reply is returned, the switch learns the location of the new address and adds the information to the switching table
4/7/2013 IS8040 10
Layer 3 Switching
Layer 3 switching operates at the network layer
OSI Model
Application Presentation Session Transport Network Data Link Physical
IS8040 11
4/7/2013
Layer 3 Switch
Limited-purpose Layer 3 switches are only available for Ethernet They only route IP/IPX protocols Capable to perform routing at wire speed: 10, 100, 1000 Mbps
4/7/2013 IS8040 12
Layer 3 Switching
Hardware based packet-to-packet IP routing Hardware based routers cost less than traditional software-based routers They switch non-routable traffic to Layer 2
4/7/2013
IS8040
13
Layer 3 Switch
Layer 3 Switching
It examines packet information and forwards packets based on their network-layer destination addresses Layer 3 switching also supports router functionality
4/7/2013
IS8040
15
Layer 3 Switching
References
Switched, Fast, and Gigabit Ethernet, Robert Breyer and Sean Riley, Third Edition Business Data Communications, Stallings, Fourth Edition http://www.gcn.com http://www.slac.stanford.edu/ http://www.cisco.com/univercd
4/7/2013 IS8040 20
References
http://www.gcn.com/state/vol6_no9/guide/8372.html http://www.msic.com
4/7/2013
IS8040
21