Académique Documents
Professionnel Documents
Culture Documents
IP Routing Table
The layer 3 uses the IP routing table to send packets from the source to destination. If not match Default Gateway
A network must consistently represent the paths available between routers In this dynamic environment, the paths represented by some kind of addressing scheme - must be kept current Layer 3 addresses across the entire internetwork also improves the use of bandwidth by preventing unnecessary broadcasts.
Router Determine Full Network address = Host And SubnetMask Lookup Destination Host Add. match which out going interface on Router
Router Functions
Routing = building maps and giving directions Switching = moving packets between interfaces Routers are packet switches
Routed Protocol
Routing Protocol
Network Protocol Protocol Name Destination Network 1.0 2.0 3.0 Exit Port to Use 1.1 2.1 3.1
Dynamic Route
Uses a route that network routing protocol adjusts automatically for topology or traffic changes
Static Routing
Router (config)#
S1 S2
Cisco A
172.16.2.0 S0
Cisco B
E0 S1
172.16.2.1
S1 S2
Cisco A
172.16.2.0 S0
Cisco B
E0 S1
172.16.2.1
More flexibility Automatically updating path to reach destination network. Direct traffic from the same session over different paths in a network for better performance. This is known as load-sharing.
How-to
How to send updates What knowledge is contained in these updates When to send this knowledge How to locate recipients of the update
Path cost
- Path cost is an arbitrary value assigned to each network link by the network administrator. The path length is the sum of all costs associated with all the links traversed.
Hop count
- Hop count is a value that counts the number of intermediate systems (such as routers) through which a packet must pass to travel from the source to the destination. The path length is the sum of all hops in the path.
Delay
Based on the length of time required to move a packet from the source to a destination. Conglomeration of several variables: - Bandwidth of network links - Queue lengths at intermediate routers - Network congestion on network links - Physical distance to be travelled from the source to the destination
Bandwidth
Based on the available traffic capacity of each network link. - Routes through links with greater bandwidth do not necessarily provide better routes than routes through slower links.
Cost
Based on the monetary cost of using each network link. For example, a slower company-owned link can be configured as preferable over faster public links that cost money for usage time.
Time to convergence
accurate, consistent view of the new topology after network fail or restructure. Convergence occurs when all routers use a consistent perspective of network topology After topology changes, Routers must re-compute routes, which disrupts routing The process and time required for router reconvergence varies with routing protocols
An autonomous system is a collection of networks under a common administrative domain. IGPs operate within an autonomous system. EGPs connect different autonomous systems.
Administrative Distance
Routers pass periodic copies of routing table to neighbor routers and accumulate distance vectors.
Each node maintains the distance from itself to each possible destination network.
Router C concludes that the best path to network 10.4.0.0 is through router B.
Router A updates its table to reflect the new but erroneous hop count.
Count to Infinity
Defining a Maximum
Routing Loops
Split Horizon
It is never useful to send information about a route back in the direction from which the original information came.
Route Poisoning
Routers advertise the distance of routes that have gone down to infinity.
Poison Reverse
Holddown Timers
The router keeps an entry for the networks possible down state, allowing time for other routers to recompute for this topology change.
Triggered Updates
The router sends updates when a change in its routing table occurs.
After initial flood, pass small event-triggered link-state updates to all other routers
Minimizes routing table entries Localizes impact of a topology change within an area
Fast convergence: changes are reported immediately by the source affected. Robustness against routing loops:
Routers know the topology. Link-state packets are sequenced and acknowledged.
Requires very strict network design (when more areas area routing) Problems with partitioning of areas Configuration generally simple but can be complex when tuning various parameters and when the design is complex Troubleshooting easier than in distance vector routing
Distance-Vector
View network technology from neighbors perspective Adds distance vectors from router to router Frequent, periodics updates: Slow convergence Passes copies of routing tables to neighbors router
Link-state
Gets common view of entire network topology Calculates the shortest path to other routers Event-triggered updates: Faster convergence Passes link-state routing updates to other routers
LAN-to-LAN routing
57