cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
669
Views
0
Helpful
11
Replies

Stop EIGRP from distributing a connected network

kfarrington
Level 3
Level 3

Good Afternoon all :)

router1 has config

inte0/0

ip address 10.1.1.1 255.255.255.0

!

router eigrp 1

network 10.0.0.0

But I dont want the 10.1.1.1 network to participate in eigrp 1. Could use prfix lists but am wondering if there is a specific EIGRP command to stop this from taking part in eigrp 1. Dont think passive will work!!!

Many thx

11 Replies 11

lgijssel
Level 9
Level 9

Why should passive not work? I think it does!

router eigrp 1

network 10.0.0.0

passive-interface e0/0

this should achieve your goal.

Hi there :)

passive interface will just stop sending/receiving eigrp hellos (I understand) but the interface will still be redistributed into the eigrp AS.

Am i wrong in this assumption?

many thx

No, that is correct.

So you do not want net 10.1.1.0/24 to appear in the routing tables?

The most suitable solution for that is using a distribute list.

Hi there again :)

Just tested this, and passive interface does not work, and eigrp still distributes this network into the AS.

:((

Not yet seen the previous reply?

Many thx for your time.

Just thought there may be a little Cisco featurette under eigrp that may do this, but I cant find one. So it's prefix-lists for me :))

Once again, thx.

kevin.hart
Level 1
Level 1

Try being more specific with you network statement!

i.e. if you have the following

int ethernet0/0

ip address 10.1.1.1 255.255.255.0

!

interface serial0/0

ip address 10.2.1.1 255.255.255.252

!

router eigrp 1

network 10.2.1.0 0.0.0.3

!

This will only redistribute the serial subnet (10.2.1.0/30) into eigrp

But if you had the following

router eigrp 1

network 10.0.0.0

!

This would cover all subnets.

Hope this helps.

I think this feature was introduced in 12.0.7T, and then in 12.1

Thanks

You can't do this with EIGRP. It only takes a classful network address, and no mask. The distribute-list suggested earlier is the best solution.

Hi All

The wildcard option is a valid option, cos I use it in production.

Here is my live config

router eigrp 100

redistribute static

passive-interface Dialer1

network 172.16.0.0 0.0.7.255

network 172.16.45.0 0.0.0.255

no auto-summary

The IOS is 12.2, I would go for this option over the others

Regards

config from a live network.

!

router eigrp 1

redistribute static route-map STATIC-INTO-EIGRP1

passive-interface Loopback0

network 150.100.100.0 0.0.0.255

network 192.168.0.220 0.0.0.3

network 192.168.20.1 0.0.0.0

network 192.168.21.4 0.0.0.3

network 192.168.22.4 0.0.0.3

network 192.168.22.8 0.0.0.3

network 192.168.22.12 0.0.0.3

network 192.168.22.16 0.0.0.3

network 192.168.22.20 0.0.0.3

network 192.168.22.24 0.0.0.3

no auto-summary

eigrp log-neighbor-changes

!

IOS is 121-16

i would rather have 1 entry for the 192.168.22.0 network with 1 distribute list to filter out the connected segment rather than have x entries for those segments i want to explicitly include (and implicitly exclude the connected segment) in eigrp.

distribute lists are the way to go if it is just the 1 connected segement you want to filter out.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: