EIGRP STUB

Les AS 100, 200, 300 et 400 redistribuent leurs tables de routage :

BB3#show ip route eigrp
     1.0.0.0/24 is subnetted, 1 subnets
D EX    1.1.1.0 [175/20665600] via 10.1.113.3, 00:29:22, Ethernet0
     2.0.0.0/24 is subnetted, 1 subnets
D EX    2.2.2.0 [175/21177600] via 10.1.113.3, 00:17:21, Ethernet0
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [95/409600] via 10.1.113.3, 00:29:22, Ethernet0
     4.0.0.0/24 is subnetted, 1 subnets
D       4.4.4.0 [95/21177600] via 10.1.113.3, 00:29:22, Ethernet0
     5.0.0.0/24 is subnetted, 1 subnets
D EX    5.5.5.0 [175/21689600] via 10.1.113.3, 00:15:17, Ethernet0
     6.0.0.0/24 is subnetted, 1 subnets
D EX    6.6.6.0 [175/21689600] via 10.1.113.3, 00:15:17, Ethernet0
     112.0.0.0/24 is subnetted, 3 subnets
D EX    112.2.2.0 [175/21180160] via 10.1.113.3, 00:01:49, Ethernet0
D EX    112.1.1.0 [175/21180160] via 10.1.113.3, 00:01:49, Ethernet0
D EX    112.0.0.0 [175/21180160] via 10.1.113.3, 00:01:49, Ethernet0
     111.0.0.0/24 is subnetted, 3 subnets
D EX    111.2.2.0 [175/20668160] via 10.1.113.3, 00:29:22, Ethernet0
D EX    111.1.1.0 [175/20668160] via 10.1.113.3, 00:29:23, Ethernet0
D EX    111.0.0.0 [175/20668160] via 10.1.113.3, 00:29:23, Ethernet0
     10.0.0.0/24 is subnetted, 8 subnets
D       10.1.14.0 [95/21049600] via 10.1.113.3, 00:29:23, Ethernet0
D       10.1.12.0 [95/21049600] via 10.1.113.3, 00:29:23, Ethernet0
D EX    10.1.44.0 [175/21561600] via 10.1.113.3, 00:15:19, Ethernet0
D EX    10.1.111.0 [175/20540160] via 10.1.113.3, 00:29:24, Ethernet0
D       10.1.100.0 [95/20537600] via 10.1.113.3, 00:29:24, Ethernet0
D EX    10.1.112.0 [175/21052160] via 10.1.113.3, 00:17:23, Ethernet0
D EX    10.1.156.0 [175/21564160] via 10.1.113.3, 00:15:19, Ethernet0

Configuration de R3 en « Stub Connected »

R3(config)#router eigrp 300
R3(config-router)#eigrp stub ?
  connected      Do advertise connected routes
  leak-map       Allow dynamic prefixes based on the leak-map
  receive-only   Set IP-EIGRP as receive only neighbor
  redistributed  Do advertise redistributed routes
  static         Do advertise static routes
  summary        Do advertise summary routes

R3(config)#router eigrp 300
R3(config-router)#eigrp stub connected

R3 n`annonce que les routes connectées :

BB3#show ip route eigrp
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [95/409600] via 10.1.113.3, 00:05:55, Ethernet0
     10.0.0.0/24 is subnetted, 4 subnets
D       10.1.13.0 [95/20537600] via 10.1.113.3, 00:03:07, Ethernet0
D       10.1.100.0 [95/20537600] via 10.1.113.3, 00:05:55, Ethernet0

Utilisation d`une « route-map » et « leak-map » pour annoncer quelques sous-réseau :

R3(config)#access-list 1 permit 10.1.156.0 0.0.0.255
R3(config)#access-list 1 permit 113.0.0.0 0.0.0.255

R3(config)#route-map TEST permit 10
R3(config-route-map)#match ip address 1

R3(config)#router eigrp 300
R3(config-router)#eigrp stub connected leak-map TEST

Vérifications

BB3#show ip route e
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [95/409600] via 10.1.113.3, 00:01:24, Ethernet0
     10.0.0.0/24 is subnetted, 4 subnets
D       10.1.13.0 [95/20537600] via 10.1.113.3, 00:01:24, Ethernet0
D       10.1.100.0 [95/20537600] via 10.1.113.3, 00:01:24, Ethernet0
D EX    10.1.156.0 [175/21564160] via 10.1.113.3, 00:01:24, Ethernet0
BB3#ping 10.1.156.6 source 113.0.0.113

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.156.6, timeout is 2 seconds:
Packet sent with a source address of 113.0.0.113
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 172/172/172 ms

l`interface utilise pour les annonce peut être spécifiée dans le route map :

R3(config)#route-map TEST 10
R3(config-route-map)#match ip address 1
R3(config-route-map)#match interface fa0/0
This entry was posted in EIGRP. Bookmark the permalink.

Comments are closed.