Beruflich Dokumente
Kultur Dokumente
ROUTER
♦ 5.5 Ethernet Internet
H Anthony Chan; Yang Li LAN
♦ 5.6 Hubs and switches
h.a.chan@ieee.org; yli@crg.ee.uct.ac.za
♦ 5.7 PPP User hosts
http://web.uct.ac.za/depts/commnetwork/achan.html
♦ 5.8 Link Virtualization: ATM and MPLS
Department of Electrical Engineering
University of Cape Town
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 1 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 2 February 23, 2007
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 3 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 4 February 23, 2007
Interconnected Ethernets example Hubs
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 9 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 10 February 23, 2007
Switch example
Filtering/Forwarding
Suppose C sends frame to D
When switch receives a frame: ♦ Switch receives frame from C
¾notes in switch table that C is on interface 1
index switch table using MAC dest address
if entry found for destination
¾because D is not in table, switch floods frame to
then{ both interfaces 2 and 3
if dest on segment from which frame arrived ♦ frame received by D
then drop the frame
else forward the frame on interface indicated Switch address interface
} 1 A 1
hub 2 3 hub
else flood B 1
hub
forward on all but the interface D E 2
on which the frame arrived F
A G G 3
B C E H I
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 11 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 12 February 23, 2007
Switch example
Interconnection Without Backbone
Suppose D replies back with frame to C
♦ Switch receives frame from D ♦ Not recommended for two reasons:
¾notes in bridge table that D is on interface 2 ¾single point of failure at Computer Science hub
¾because C is in table, switch forwards frame only ¾all traffic between EE and SE must path over CS
to interface 1 segment
♦ frame received by C
♦ for increased reliability, desirable to have ♦ switch installation breaks subnet into LAN
redundant, alternate paths from source to dest segments
♦ with multiple simultaneous paths, cycles result - ♦ switch filters packets:
switches may multiply and forward frame forever ¾same-LAN-segment frames not usually
♦ solution: organize switches in a spanning tree by forwarded onto other LAN segments
disabling subset of interfaces ¾segments become separate collision domains
Switch
Disabled
Computer hub collision
hub
Science hub domain
Electrical
Systems
Engineering
Engineering collision domain collision domain
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 15 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 16 February 23, 2007
Switches: dedicated access More on Switches
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 17 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 18 February 23, 2007
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 21 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 22 February 23, 2007
Summary comparison
EEE3080F
Communication Network and System Fundamentals
Hubs Switches Routers
Traffic isolation No Yes Yes Make me an instrument of your peace.
Plug and play Yes Yes No
(Prayer of St. Francis of Assissi)
Optimal routing No No Yes
Cut through yes yes No
© 2003-2007
What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks What I have is only borrowed from God so Make me an instrument of your peace. Communication Networks
that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 23 February 23, 2007 that I may serve others. H Anthony Chan (Prayer of St. Francis of Assissi) 510 Page 24 February 23, 2007