28
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

Embed Size (px)

DESCRIPTION

3 Why Interconnect? To separate / connect one corporate division with another. To connect two LANs with different protocols. To connect a LAN to the Internet. To break a LAN into segments to relieve traffic congestion. To provide a security wall between two different types of users. To connect WLAN to LAN

Citation preview

Page 1: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

1

Networking and Internetworking Deviceswe need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

Page 2: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

2

Introduction

Many times it is necessary to connect a local area network to another local area network or to a wide area network.

Local area network to local area network connections are often performed with a bridge.

Local area network to wide area network connections are usually performed with a router.

A third device, the switch, can be used to interconnect segments of a local area network.

Page 3: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

3

Why Interconnect?

To separate / connect one corporate division with another.

To connect two LANs with different protocols.

To connect a LAN to the Internet.

To break a LAN into segments to relieve traffic congestion.

To provide a security wall between two different types of users.

To connect WLAN to LAN

Page 4: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

4

Networking and Internetworking DevicesConnecting devices and the OSI Model

Page 5: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

5

Repeatersoperate on physical layerregenerate the original bit pattern (which may become too weak or corrupted) and put the refreshed copy back onto the linkallow us to extend only the physical length of a network

Page 6: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

6

RepeatersA repeater in the OSI model

Page 7: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

7

Repeatersfunction of a repeater a repeater is a regenerator, not an amplifier

Page 8: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

8

Bridgesoperate in physical and data link layersdivide a large network into smaller segmentsrelay frames between two originally separate LANs

Page 9: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

9

BridgesA bridge in the OSI model

Page 10: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

10

Bridgescontain logic that allows them to keep the traffic for each segment separatefilter traffic – useful for controlling congestion and isolating problem linkswhen a frameenters a bridge,checks addressand forwards tothe right segment

Page 11: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

11

BridgesTypes of Bridges simple bridges – most primitive, least expensive,

addresses must be entered manually for each segment

multiport bridges – can connect more than one LANs

Page 12: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

12

BridgesTypes of Bridges (cont) transparent bridges – build table of station

addresses dynamically by checking source and destination addresses, self updating

to prevent loops in the LANs connected by several bridges spanning tree algorithm and source routing is used

Page 13: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

13

BridgesBridges can connect LANs using different protocols at the data link layer; issues considered frame format payload size data rate address bit order access method, etc

Page 14: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

14

Routersoperate in physical, data link and network layers of the OSI modelrelay packets among multiple interconnected networksby default is a single-protocoldevice

Page 15: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

15

Routersrouters in an internet routers act like stations on a network, have several

addresses on and link to two or more networks at thesame time

packets received will be relayedto the adjacent network or passed them onto another router

Page 16: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

16

Gatewaysoperate in all seven layers of the OSI

Page 17: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

17

Gatewaysa gateway is a protocol converter accept a packet formatted for one protocol (e.g.

AppleTalk) and convert it to a packet formatted for another protocol (e.g. TCP/IP)

Page 18: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

18

Other devicesMultiprotocol routers designed to route packets belonging to two or

more protocols (e.g. IP, IPX, AppleTalk) single protocol versus

multiprotocol routers:

Page 19: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

19

Other devicesBrouters a single-protocol or multiprotocol routers that acts

as a router and sometime as a bridge

Page 20: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

20

Other devicesSwitches provide bridging

functionality withgreater efficiency

store-and-forward switch cut-through switch

Routing Switches use network layer destination address to find the

output link to which the packet should be forwarded

Page 21: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

21

Routing Algorithmscommon methods used to calculate the shortest path between two routers distance vector routing

each router periodically shares its knowledge about the entire network with its neighbors

link state routing each router shares its

knowledge of its neighbor with all routers in the internetwork

Page 22: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

22

Routing AlgorithmsDistance Vector Routing the concept

Page 23: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

23

Routing AlgorithmsDistance Vector Routing (cont) routing table

Page 24: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

24

Routing AlgorithmsDistance Vector Routing (cont) routing table distribution

Page 25: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

25

Routing AlgorithmsDistance Vector Routing (cont) updating routing table for router A

Page 26: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

26

Routing AlgorithmsDistance Vector Routing (cont) final routing table

Page 27: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

27

Routing AlgorithmsDistance Vector Routing (cont) Updating algorithm

1. If the advertised destination table is not in the routing table, the routershould add the advertised information to the table

2. If the advertised destination is in the routing table, a. if the next hop field is the same, the router should

replace the entry in the table with the advertised one b. if the next hop field is not the same

i. if the advertised hop count is smaller than the one in the table, the router should replace the entry in the table with the new one

ii. if the advertised hop count is same or larger, the router should do nothing

Page 28: 1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability

28

Routing AlgorithmsDistance Vector Routing (cont) Example