05-19-2007 01:30 AM - edited 03-03-2019 05:03 PM
Lets say hypothetically there is a router with the following interface IP details:
e0: 10.1.1.0/24
e1: 10.1.2.0/24
s0: 10.1.3.0/24
If i was running RIP V2 on the router how would i go about advertising only ethernet0 using rip. If i use the command:
network 10.1.1.0 firstly i cant put in a subnet/wildcard unlike OSPF/EIGRP and secondly if i do a show run it comes up with "network 10.0.0.0" in the running-config
Solved! Go to Solution.
05-20-2007 12:19 AM
RIP v2 will advertise the mask of the interface associated with the IP address on the e0 interface (the interface with the 10.1.1.0 address).
If you put a NETWORK statement in to advertise 10.1.2.0, then RIP v2 would advertise the mask associated with e1 ... because the e1 interface is assigned the 10.1.2.0 address.
Make sure Auto-summary is disabled.
Good Luck
Scott
05-19-2007 02:02 AM
Tinu,
You can use the passive interface command to stop the RIP updates being sent on the other interfaces
router rip
version 2
network 10.0.0.0
passive-interface default
no passive-interface ethernet 0
no auto-summary
HTH, rate if it does
Narayan
05-19-2007 12:37 PM
Here is another little-known technique for listen-only interfaces:
router rip
network x.y.z.k passive <--- Hidden command, whoa!
Hope this helps, please rate post if it does!
05-19-2007 05:22 PM
Tinu
If I am understanding your post correctly, while the discussion of various ways to do passive interface are instructive, I believe that they do not address the original question which is: "advertising only ethernet0 using rip". Passive interface will not send updates on the passive interface but it WILL advertise the subnet of the interface on active interfaces. So passive interface does not meet the original criteria. The way that I would go is to implement a distribute list on the outbound interfaces which denies the subnets of the other 2 interfaces and permits everything else.
I believe that the original post also leaves an aspect as ambiguous: do you want all the interfaces to be active but only advertise the one subnet, or do you want just the one interface to be active? Perhaps you can clarify your question a bit.
HTH
Rick
05-20-2007 12:19 AM
RIP v2 will advertise the mask of the interface associated with the IP address on the e0 interface (the interface with the 10.1.1.0 address).
If you put a NETWORK statement in to advertise 10.1.2.0, then RIP v2 would advertise the mask associated with e1 ... because the e1 interface is assigned the 10.1.2.0 address.
Make sure Auto-summary is disabled.
Good Luck
Scott
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: