Lecture 27.3 - Exchanging Routes Between Routers
Lecture 27.3 - Exchanging Routes Between Routers
Static
Dynamic ( Via routing protocols )
Static Routing
Static Routing
Typically used in the small network
Information on destination prefix and gateway are required
Used in small real network less than 10 network
If network be more … Can increase administrative overhead
No dynamic-failover
Implementing Static Routing
Configuration
Router(config)# ip route < destination-network >
< destination subnet mask > <
nex-hop >
OR:
Logical interface
Mean virtual interface used for routing practice between routers
We used instead of physical interface
Interface loopback < id >
The other purpose of this interface is we used it in the lab in virtual its easy to put all
device and in lab its so difficult but we use loopback
Dynamic Routing
Dynamic Routing
Usually configured in large networks
Exchanging network by using routing protocols
In dynamic routing there is no need to add networks which a router need it!!
In dynamic routing we go to each router and define his network for others ..
» Autonomous System;
• Collection of networks all under one administrative authority
• Collection of network and routers that is belong to one Company
Why between one AS:
» IGP;
• Interior Gateway Protocol
• Designed to provide prefix reachability information within an
Same Autonomous System
• Used Between Routers of a company.
Distance vector
Visibility of network topology limited
Resends its route over and over even there is no change ( periodically every 30 second )
Elects shortest path based on the total metric ( hop count )
Ex: IGRP, RIPv1/v2
Link State
Complete visibility to network topology
Used hello packet
Elect shortest path based on the link cost ( bandwidth )
Ex: OSPF, IS-IS
Hybrid
Combines feature of distance victor and link state
Ex: EIGRP
EGP ( Exterior Gateway Protocol )
» EGP:
• Exterior Gateway Protocol
• Designed to provide prefix reachability information between different AS or different IGP protocols
EGP ( Exterior Gateway Protocol )
» EGP:
• Exterior Gateway Protocol
• Designed to provide prefix reachability information between different AS or different IGP protocols
Dynamic Static
Path-Vector
Distance Vector
BGP
EIGR
P