Rip problem
impelse
Member Posts: 1,237 ■■■■□□□□□□
in CCNA & CCENT
I have two routers using a sim (2501) and two sw 1900. I am trying to use RIP
Router 1
Ethe 172.16.10.1 255.255.255.0
s0 172.16.20.1 255.255.255.0
router rip
network 172.16.10.0
network 172.16.20.0
Router 2
Ethe 172.16.30.1 255.255.255.0
s0 172.16.20.2 255.255.255.0
router rip
network 172.16.20.0
network 172.16.30.0
When I type
sh ip route
the information says that RIP 172.16.0.0 is throuth ethernet 0
never look for s0
why?
Raul
Router 1
Ethe 172.16.10.1 255.255.255.0
s0 172.16.20.1 255.255.255.0
router rip
network 172.16.10.0
network 172.16.20.0
Router 2
Ethe 172.16.30.1 255.255.255.0
s0 172.16.20.2 255.255.255.0
router rip
network 172.16.20.0
network 172.16.30.0
When I type
sh ip route
the information says that RIP 172.16.0.0 is throuth ethernet 0
never look for s0
why?
Raul
Stop RDP Brute Force Attack with our RDP Firewall : http://www.thehost1.com
It is your personal IPS to stop the attack.
It is your personal IPS to stop the attack.
Comments
-
ooming Member Posts: 6 ■□□□□□□□□□Hi Raul,
Rip is classful, so all it sees is the 172.16.0.0 network, due to the mask 255.255.0.0. Use either Rip v2 if your going to stick with the RIP routing protocol. Version 2 sends the subnet information with the protocol.CCNA,CCDA,JNCIA-ER,Sec+,Net+ -
EdTheLad Member Posts: 2,111 ■■■■□□□□□□You are suposed to specify the major network when you use distance vector protocols, so you should do "network 172.16.0.0" not "172.16.20.0".
On a real router if you type
#router rip
#network 172.16.20.0
The ios will automatically convert this in the config as "network 172.16.0.0", the exam it will not.
The sim is incorrect as what you have configured is correct,all your interfaces share the same major network address therefore auto-summary will not occur.Networking, sometimes i love it, mostly i hate it.Its all about the $$$$ -
hedhrts Member Posts: 74 ■■□□□□□□□□You should still see an entry for the serial interface, even if rip is classful. Make sure you serial interfaces are both up. I also think there should be a rip entry for the far ethernet interface, because the same mask is being used for the whole network.
My router 2 has its ethernet down. Notice there isn't an entry for the interface in the routing table, but I do have a rip entry from the far router.
Anyone feel free to correct me if I'm wrong.
Router1#sh ip route
%SYS-5-CONFIG_I: Configured from console by console
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.20.0 is directly connected, Serial1
C 172.16.10.0 is directly connected, Ethernet0
Router2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.20.0 is directly connected, Serial1
R 172.16.10.0 [120/1] via 172.16.20.1, 00:00:23, Serial1 -
rossonieri#1 Member Posts: 799 ■■■□□□□□□□hedhrts wrote:You should still see an entry for the serial interface, even if rip is classful. Make sure you serial interfaces are both up. I also think there should be a rip entry for the far ethernet interface, because the same mask is being used for the whole network.
My router 2 has its ethernet down. Notice there isn't an entry for the interface in the routing table, but I do have a rip entry from the far router.
Anyone feel free to correct me if I'm wrong.
Router1#sh ip route
%SYS-5-CONFIG_I: Configured from console by console
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.20.0 is directly connected, Serial1
C 172.16.10.0 is directly connected, Ethernet0
Router2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.20.0 is directly connected, Serial1
R 172.16.10.0 [120/1] via 172.16.20.1, 00:00:23, Serial1
interesting
lets see it when you use sh ip prot? was it RIP ver 1 or 2?
and lets turn on your eth - lets see what happen?
cheers...the More I know, that is more and More I dont know. -
hedhrts Member Posts: 74 ■■□□□□□□□□rossonieri#1 wrote:
interesting
lets see it when you use sh ip prot? was it RIP ver 1 or 2?
and lets turn on your eth - lets see what happen?
cheers...
This is rip version 1. The ethernet is off because I'm having trouble with the connected router. It's a remote lab and I don't have access to it (broke leg and sitting at home). Trying to get someone to go there and check out what's wrong.
Router2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
R 10.0.0.0/8 [120/2] via 172.16.20.1, 00:00:04, Serial1
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.20.0 is directly connected, Serial1
R 172.16.10.0 [120/1] via 172.16.20.1, 00:00:05, Serial1
Router2#sh ip prot
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 22 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
Interface Send Recv Key-chain
Ethernet0 1 1 2
Serial1 1 1 2
Routing for Networks:
172.16.0.0
Routing Information Sources:
Gateway Distance Last Update
172.16.20.1 120 00:00:10
Distance: (default is 120)
Router2#