07-15-2009 04:00 AM - edited 03-06-2019 06:46 AM
Hi,
What is the important difference between the [passive-interface] and [network mask] techniques in EIGRP.
Br,
Auos.
07-15-2009 04:46 AM
Auos
An example might help -
R1 (s0/0 - 192.168.5.2 ) -> (s0/0 192.168.5.1) R0 (s0/1 - 172.16.5.1 ) -> (s0/0 172.16.5.2) R2
R1 eigrp config
===============
router eigrp 1
network 192.168.5.0
R2 eigrp config
===============
router eigrp 1
network 192.168.5.0
network 172.16.5.0 0.0.0.255
R3 eigrp config
===============
router eigrp 1
network 172.16.5.0 0.0.0.255
So with the above config all routers know about all networks.
1) Change R0 config for EIGRP to
router eigrp 1
network 192.168.5.0
What now happens is that
a) router R0 and R2 do not form a neigborship so R2 is only aware of its directly connected network
b) this is the important bit - R1 is now only aware of the 192.168.5.0 network ie. it's directly connected network. It is no longer aware of the 172.16.5.0/24 network
2) Change R0 config for EIGRP to
router eigrp 1
network 192.168.5.0
network 172.16.5.0 0.0.0.255
passive-interface s0/1
What happens here is that
a) router R0 and R2 do not form a neigborship so R2 is only aware of its directly connected network
b) unlike the previous scenario R1 is now aware of both it's directly connected network and the 172.16.5.0/24 network because this has been entered under the "router eigrp 1" config on R0.
So the network statement under "router eigrp 1" tells the router which interfaces to start running EIGRP on AND then EIGRP advertises out the network/mask found on the interface.
The passive-interface command tells the router not to form any neighborships on that interface but it does not stop EIGRP running on that interface.
Hope this makes sense.
Jon
07-15-2009 05:08 AM
To summarize Jon's reply,
Passive-interface will prevent the interface on the router from establishing a neighbor relationship. However, networks reachable from that interface will still be advertised by non-passive interfaces participating in EIGRP on that router.
The network mask command prevents interfaces not included in the mask from forming neighbor relationships. In addition, networks attached to the "excluded" interfaces WILL NOT be advertised by interfaces participating in EIGRP.
07-16-2009 05:42 AM
I know a little bit the difference of how RIP-2 and EIGRP work. My question is.. is there any difference in how passive-interface works in RIP-2 and EIGRP.
For RIP-2 what I understand is that when you configure passive-interface on an interface, the router will advertise through the other interfaces the route connected to the passive-interface.... but the router will not advertise through the passive-interface the routes it learned through other interfaces....is this correct?.. hope it makes sense.
07-17-2009 06:50 PM
Yes your understanding is correct, so long as the passive interface is covered-by/included-in a "network" statement.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide