network 10.0.0.0
network 192.168.99.0
!
line vty 0 5
login
password 7 wAVcXxom8sGSOA
!
ip route 0.0.0.0 0.0.0.0 10.0.0.2
!
access-list 100 permit ip 192.168.99.0 0.0.0.255 192.168.98.0 0.0.0.255
!
end
ERT_805# | | | |
ERT_805# show ip route | |
Codes: A | --all O | --ospf S-- | static R--rip C--connected E--egp T--tunnel |
o-- | cdp D-- | EIGRP | [Distance/Metric] g<Group#> |
S0.0.0.0/0 [2/0] via 10.0.0.2 serial0/0* act C 10.0.0.0/26 [0/1] via 10.0.0.1 serial0/0* act C 10.0.0.2/32 [1/0] via 10.0.0.1 serial0/0* act
R 192.168.98.0/24 [120/1] via 10.0.0.2 ttl=160, serial0/0* act C 192.168.99.0/24 [0/1] via 192.168.99.64 fastethernet0/0* act
ERT_805#
4.2 EIGRP – Enhanced interior Gateway Routing Protocol
EIGRP is distance-vector protocol that combines the advantage of distance-vector and link state protocol. The different between these two protocols is distance-vector protocol shares everything it knows with directly connected neighbor only. Link state protocols announce information with directly connected links but share the information with all routers in same area. Because EIGRP is distance-vector therefore it’s run of the Bellman Ford protocol. These protocols are prone to routing loops and counting to infinity. As result they must implement loop-avoidance such as split horizon, route poisoning and holddown timers.
4.2.1 EIRGP Command
router eigrp autonomous system number– enable eigrp in global configuration mode.
Network – enable routing on an IP network
Neighbor – Specify a neighbor router
Auto-summary– Enable automatic network number summarization