Route Filtering: EIGRP and RIP mixed protocol lab 1.2

Objective: Configure a route filter at A that will only allow subnets 172.16.2.0/24, 172.16.8.0/24 and 172.16.9.0/24 to be advertised into RIP domain.

D#sh ip route rip
172.16.0.0/24 is subnetted, 13 subnets
R       172.16.253.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0
R       172.16.254.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0
R       172.16.251.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0
R       172.16.8.0 [120/3] via 172.16.252.1, 00:00:02, FastEthernet0/0
R       172.16.9.0 [120/3] via 172.16.252.1, 00:00:02, FastEthernet0/0
R       172.16.11.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0
R       172.16.7.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0
R       172.16.1.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0
R       172.16.2.0 [120/3] via 172.16.252.1, 00:00:02, FastEthernet0/0
R       172.16.3.0/24 is possibly down,
routing via 172.16.252.1, FastEthernet0/0

A(config-router)#do sh run | s router rip
router rip
redistribute eigrp 100 metric 3
passive-interface FastEthernet0/0
passive-interface FastEthernet0/1
network 172.16.0.0
distribute-list 2 out FastEthernet1/0
distribute-list 1 in FastEthernet1/1
distribute-list 3 out

A(config-router)#do sh access-list 3
Standard IP access list 3
10 permit 172.16.2.0, wildcard bits 0.0.0.255 (35 matches)
20 permit 172.16.8.0, wildcard bits 0.0.0.255 (35 matches)
30 permit 172.16.9.0, wildcard bits 0.0.0.255 (34 matches)

Caution: Do not apply the distribute list in EIGRP, it will filter internal routes as well and causing your adjacency to be down.


Advertisements
This entry was posted in EIGRP, Path Control, Route and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s