- Determine the best path for sending data and filtering broadcast traffic to the local segment. They DON'T pass on broadcast traffic
- work at the Network layer of OSI => they can switch and route packets across network segments
- They provide these functions of a bridge
- filtering and isolating traffic
- connecting network segments
- routing table contains
- all known network addresses
- how to connect to other networks
- possible paths between those routers
- costs of sending data over those paths
- not only network addresses but also media access control sublayer addresses for each node
- Routers
- REQUIRE specific addresses: they only understand network numbers which allow them to talk to other routers and local adapter card addresses
- only pass Packets to the network segment they are destined for.
- routers don't talk to remote computers, only to other routers
- they can segment large networks into smaller ones
- they act as a safety barrier (firewall) between segments
- they prohibit broadcast storms, because broadcasts and bad data aren't forwarded
- are slower than most bridges
- can join dissimilar access methods: a router can route a packet from a TCP/IP Ethernet network to a TCP/IP Token Ring network
- Routers don't look at the destination computer address. They only look at the NETWORK address and they only pass on the data if the network address is known => less traffic
- Routable protocols:
- DECnet, IP, IPX, OSI, XNS, DDP (Apple)
- Routable protocols have Network layer addressing embedded
- Non-routable protocols:
- LAT, NetBEUI, DLC
- Non-routable protocols don't have network layer addressing
- routers can choose the best path for the data to follow
- routers can accommodate multiple active paths between LAN segments. To determine the best path, it takes these things into account:
- If one path is down, the data can be forwarded over on alternative route
- routers can listen and determine which parts of the network are busiest.
- it decides the path the data packet will follow by determining the number of hops between internetwork segments
- OSPF (Open Shortest Path First)
- is a link-state routing algorithm
- routes are calculated based on
- # of hops
- line speed
- traffic
- cost
- TCP/IP supports OSPF
- RIP (Routing Information Protocol)
- RIP is the protocol used to determine the # of hops to a distant segment.
- uses distance-vector algorithm to determine routes
- TCP/IP & IPX support RIP
- NLSP (NetWare Link Services Protocol)
- is a link-state algorithm for use with IPX
- There are 2 types of routers
- Static - manually setup and config the routing table and to specify each route
- Dynamic
- automatic discovery of routers
- use information from other routers
Both bridges and routers
- forward packets between networks
- send data across WAN links
- A Bridge
- recognizes the address of EACH computer on it's segment and forwards packets on the basis of the destination address
- either recognizes the address or it doesn't, and forwards the packet accordingly
- forwards all broadcast messages to all ports, except to the port from which the broadcast message came. Every computer on every segment receives this broadcast
- A Router
- works at the NETWORK layer and thus takes more information into account when determining what to forward and where to forward it to.
- Routers recognize the addresses of other routers and determine which packets to forward to which routers
- Bridges recognize ONE PATH between networks
- Routers can search between multiple paths and determine the best path at the moment
The 4 KEY pieces of information that distinguish bridges and routers:
Bridges | Routers |
|
|
|
|
|
|
- help lessen network congestion
- conserve resources
- boost data throughput
- make data delivery more reliable
- Different architectures
- Different media access control methods -- for example, they can connect an Ethernet segment to a Token-Ring segment
Summary of Router features
- use dynamic routing
- operate at the protocol level
- remote administration and configuration via SNMP
- support complex networks
- the more filtering done, the lower the performance
- provides security
- segment networks logically
- broadcast storms can be isolated
- often provide bridge functions also
- more complex routing protocols used [such as RIP, IGRP, OSPF]
No comments:
Post a Comment