Prerequisites: CCNP level skills.
Note!
Use the basic EIGRP configuration (Lab 45 Task 1) in the labs 45-53.
EIGRP filtering can use:
- Standard ACL.
- Extended ACL.
- Prefix-List.
- Route-Map.
- Administrative Distance.
- Passive-Interface.
- Offset-List.
- Stub Routing.
- Selective Stub Routing (stub routing with leak map).
Pic. 1 - Topology Diagram.
Icons designed by: Andrzej Szoblik - http://www.newo.plTask 1
Loopback 2: 10.0.4.4/24
Loopback 3: 10.0.44.4/24
Advertise them as External prefixes.
Task 2
Configure R4 so that it can advertise only connected and summary routes in EIGRP. It should not be queried by R1 and/or R2 if they lose any EIGRP prefix.
Lab Solution
Task 1
Add two more loopbacks on R4 with the respective addresses:
Loopback 2: 10.0.4.4/24
Loopback 3: 10.0.44.4/24
Advertise them as External prefixes.
R4 Configuration:
!
interface Loopback2
ip address 10.0.4.4 255.255.255.0
!
interface Loopback3
ip address 10.0.44.4 255.255.255.0
!
route-map CONNECTED permit 10
match interface Loopback2 Loopback3
!
ip address 10.0.4.4 255.255.255.0
!
interface Loopback3
ip address 10.0.44.4 255.255.255.0
!
route-map CONNECTED permit 10
match interface Loopback2 Loopback3
!
router eigrp 1
redistribute connected route-map CONNECTED
network 10.1.124.4 0.0.0.0
network 172.16.104.4 0.0.0.0
network 172.16.144.4 0.0.0.0
redistribute connected route-map CONNECTED
network 10.1.124.4 0.0.0.0
network 172.16.104.4 0.0.0.0
network 172.16.144.4 0.0.0.0
!
Verification:
Pic. 2 - R3 Receives External Prefixes.
Task 2Configure R4 so that it can advertise only connected and summary routes in EIGRP. It should not be queried by R1 and/or R2 if they lose any EIGRP prefix.
R4 Configuration:
!
router eigrp 1
redistribute connected route-map CONNECTED
network 10.1.124.4 0.0.0.0
network 172.16.104.4 0.0.0.0
network 172.16.144.4 0.0.0.0
eigrp stub connected summaryredistribute connected route-map CONNECTED
network 10.1.124.4 0.0.0.0
network 172.16.104.4 0.0.0.0
network 172.16.144.4 0.0.0.0
!
Pic. 3 - EIGRP Stub Options (the defaults in yellow).
Pic. 4 - R1 Sees R4 as the Stub Router.
Note!
Even though R4 is a 'stub' router allowing connected and summary routes, it does advertise EIGRP prefixes that have been redistributed. They are still connected enabled (redistributed) in EIGRP.
Pic. 5 - R3's External Prefixes.