Internetworking Devices Internetworking Devices (Cont.)
Internetworking Devices Internetworking Devices (Cont.)
an internet = a collection of connected networks which share a common set of rules for communication reminder: the Internet = connected set of networks which all use IP usually, additional devices are needed: a b d t LAN may need to extend further than its standard allows broadcast dt t d f th th it t d d ll use repeaters (also called signal regenerators) the number of nodes required on the network may be too high, so the network may have to be subdivided use bridges two or more networks may have to be connected together use routers (if the networks use the same Network layer protocol) or gateways (if the networks use different protocol stacks) warning: terminology is not universally agreed on (especially by equipment i t i l i t i ll d ( i ll b i t manufacturers and vendors :^) e.g. confusion between functionality of bridges vs. routers
1
repeater active only at the Physical layer bridge most active at the Datalink layer router links separate but similar LANs most active at the Network layer gateway provides translation service between incompatible LANs or applications active in all layers NOTE: each of these devices also operates in all layers below the one in which it is most active 2
a repeater copies and refreshes incoming bits it does not amplify the signal
unlike a repeater, a bridge contains logic which allows it to keep traffic for each segment separate bridge can filter traffic helps in controlling traffic congestion, isolating problems, security
5 6
transparent bridge (also called a learning bridge) builds its tables of addresses automatically as it relays Frames (by noting the source address in each Frame) if more than one bridge connects 2 LANs, a loop could be formed in the g , p bridges forwarding tables Frames could circulate forever transparent bridges learn the topology and build a loop-free spanning tree
Frame relayed to entire upper segment Frame relayed to entire lower segment
source routing bridge each sender l ti b id h d learns the topology (using Di th t l ( i Discovery Frames) F ) and decides the exact path of segments and bridges each of its Frames will take
7 8
problems i connecting diff bl in ti different t t types of LAN: f LAN different Frame formats different payload sizes (e.g. 1500 bytes in Ethernet, 4500 bytes in Token Ring) different data rates (e.g. 10 Mbps in Ethernet, 16 Mbps in Token Ring) different bit order of addresses presence or absence of priority bits presence or absence of ACK/NAK
9 10
a router has links to 2 or more networks at the same time a router link to one of its connected networks has an address on that network if there is no router connected to both the senders network and receivers network, the router connected to the senders network transfers the Packet across one of its connected networks to another router which (hopefully) is nearer the receiver nearer Packets forwarded from one router to the next like this, until receiver is found
11 12
f from IBM adjustments to incoming packets could include changes to: values in header and/or trailer fields data rate size of packet entire format of packet
13 14