2013年7月19日 星期五

EIGRP IP default-network


This lab is use EIGRP ip default-network command , it is only for IP classful 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 1.1.1.1 0.0.0.0
 network 100.100.100.0 0.0.0.3
 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
 network 100.100.100.0 0.0.0.3
 network 200.200.200.0 0.0.0.3
 auto-summary
!
ip default-network 1.0.0.0
=====================================



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




 R1#
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

D    200.200.200.0/24 [90/2172416] via 100.100.100.2, 00:16:04, Serial1/0
     1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       1.1.1.1/32 is directly connected, Loopback0
D       1.0.0.0/8 is a summary, 00:32:49, Null0
     100.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C       100.100.100.0/30 is directly connected, Serial1/0
D       100.0.0.0/8 is a summary, 00:32:49, Null0
C       100.100.100.2/32 is directly connected, Serial1/0
R1#




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 100.100.100.1 to network 1.0.0.0

     200.200.200.0/24 is variably subnetted, 2 subnets, 2 masks
C       200.200.200.0/30 is directly connected, FastEthernet0/0
D       200.200.200.0/24 is a summary, 00:14:25, Null0
D*   1.0.0.0/8 [90/2297856] via 100.100.100.1, 00:31:09, Serial1/0
     100.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C       100.100.100.0/30 is directly connected, Serial1/0
D       100.0.0.0/8 is a summary, 00:14:25, Null0
C       100.100.100.1/32 is directly connected, Serial1/0
R2#



R3#
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 200.200.200.1 to network 1.0.0.0

     200.200.200.0/30 is subnetted, 1 subnets
C       200.200.200.0 is directly connected, FastEthernet0/0
D*   1.0.0.0/8 [90/2300416] via 200.200.200.1, 00:12:51, FastEthernet0/0
D    100.0.0.0/8 [90/2172416] via 200.200.200.1, 00:12:51, FastEthernet0/0
R3#






沒有留言:

張貼留言