I am using GNS3 to configure the basic RIPv2 in my simple network. First of, here is my network,
and here is the configuration for each router,
R1,
router rip
version 2
passive-interface FastEthernet0/0
network 10.0.0.0
network 192.168.2.0
no auto-summary
R1#show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up up
Serial0/0 10.1.1.6 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
for R2,
router rip
passive-interface FastEthernet0/0
network 192.168.1.0
network 192.168.2.0
no auto-summary
R2#show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.2.1 YES manual up up
Serial0/0 10.1.1.5 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/1 10.1.1.2 YES manual up up
R3,
router rip
version 2
passive-interface FastEthernet0/0
network 10.0.0.0
network 192.168.1.0
network 192.168.2.0
no auto-summary
R3#show ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.2.129 YES manual up up
Serial0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/1 10.1.1.1 YES manual up up
Even though, I have configured RIPv2
in each router, my routers still wouldn't learn any routes outside its own network.
Here is the outputs of show ip route
command for each router,
R1,
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 1 subnets
C 10.1.1.4 is directly connected, Serial0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R2,
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 2 subnets
C 10.1.1.0 is directly connected, Serial0/1
C 10.1.1.4 is directly connected, Serial0/0
192.168.2.0/25 is subnetted, 1 subnets
C 192.168.2.0 is directly connected, FastEthernet0/0
R3,
Gateway of last resort is not set
10.0.0.0/30 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Serial0/1
192.168.2.0/25 is subnetted, 1 subnets
C 192.168.2.128 is directly connected, FastEthernet0/0
When I used debug ip rip
command, I see the following output,
R1,
R1#
*Mar 1 00:31:48.595: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (10.1.1.6)
*Mar 1 00:31:48.595: RIP: build update entries - suppressing null update
R1#
*Mar 1 00:32:15.975: RIP: sending v2 update to 224.0.0.9 via Serial0/0 (10.1.1.6)
*Mar 1 00:32:15.975: RIP: build update entries - suppressing null update
R3,
R3#
*Mar 1 00:32:15.559: RIP: sending v2 update to 224.0.0.9 via Serial0/1 (10.1.1.1)
*Mar 1 00:32:15.559: RIP: build update entries
*Mar 1 00:32:15.563: 192.168.2.128/25 via 0.0.0.0, metric 1, tag 0
As can be seen in the above output, both R1
and R3
are sending updates to 224.0.0.9
, but I don't have any network with this ip address. Beside that, R2
is not showing any updates at all when i enabled debugging on it.
Here is the output of show ip protocols
command on R2
,
R2#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 16 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
192.168.1.0
192.168.2.0
Passive Interface(s):
FastEthernet0/0
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 120)
Can anyone please tell me why my routers are not learning the correct routes to neighbouring networks, and sending updates to wrong addresses ?. I have no access list
or anything else configured in any of the routers, just simple RIPv2
is configured.
224.0.0.9
is the RIPv2 muticast group address. It's used to send routing information to all RIPv2-aware routers on a network segment.