2013年7月19日 星期五

EIGRP_static_route_redistribution


Objective
Redistribute static route into EIGRP routing protocol, It is use for IP classless network.


R1#
==============================
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Serial1/0
 ip address 100.100.100.1 255.255.255.252
 encapsulation ppp
!
router eigrp 10
 network 100.100.100.0 0.0.0.3
 no auto-summary
!
==============================


R2#
==============================
 interface FastEthernet0/0
 ip address 200.200.200.1 255.255.255.252
!
interface Serial1/0
 ip address 100.100.100.2 255.255.255.252
 encapsulation ppp
!
router eigrp 10
 redistribute static
 network 100.100.100.0 0.0.0.3
 network 200.200.200.0 0.0.0.3
 no auto-summary
!
ip route 1.1.1.1 255.255.255.255 100.100.100.1
==============================



R3#
==============================
interface FastEthernet0/0
 ip address 200.200.200.2 255.255.255.252
!
router eigrp 10
 network 200.200.200.0 0.0.0.3
 no auto-summary
!
==============================

R3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     200.200.200.0/30 is subnetted, 1 subnets
C       200.200.200.0 is directly connected, FastEthernet0/0
     1.0.0.0/32 is subnetted, 1 subnets
D EX    1.1.1.1 [170/2172416] via 200.200.200.1, 00:03:42, FastEthernet0/0
     100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D       100.100.100.0/30
           [90/2172416] via 200.200.200.1, 00:03:42, FastEthernet0/0
D       100.100.100.1/32
           [90/2172416] via 200.200.200.1, 00:03:42, FastEthernet0/0
R3#




R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     200.200.200.0/30 is subnetted, 1 subnets
C       200.200.200.0 is directly connected, FastEthernet0/0
     1.0.0.0/32 is subnetted, 1 subnets
S       1.1.1.1 [1/0] via 100.100.100.1
     100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       100.100.100.0/30 is directly connected, Serial1/0
C       100.100.100.1/32 is directly connected, Serial1/0
R2#

R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     200.200.200.0/30 is subnetted, 1 subnets
D       200.200.200.0 [90/2172416] via 100.100.100.2, 00:05:03, Serial1/0
     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       100.100.100.0/30 is directly connected, Serial1/0
C       100.100.100.2/32 is directly connected, Serial1/0
R1#

沒有留言:

張貼留言