05-23-2017 09:38 AM - edited 03-05-2019 08:35 AM
Hello,
I need some help with static routing.
I can`t reach router3 from router1 via ping( 192.50.10.0 to 192.50.30.0)
I issued the commands in router1:
S 192.50.20.0/24 [1/0] via 192.168.100.11 ( the ping reaches the network 192.50.20.0)
S 192.50.30.0/24 [1/0] via 192.168.100.11 ( the ping doesn`t reach this network)
I issued the command in router2:
S 192.50.30.0/24 [1/0] via 192.168.200.11 (ping reaches the network 192.50.30.0)
As a conclusion... Router1 reaches router2, but it doesn`t reach router3 (and i can`t understand why..since router 2 was configured to reach router3)
I probably forgot something..or I misconfigured something.... Any help would be appreciated.
Edit:
What i did is to tell R1 how to reach R2 and then i told R2 how to reach R3, but R1 can't reach R3 (for some reason), and this seems to be my issue..since R2( knows how to reach R3) but is unable to get R1 to R3.. (in order for the ping to be succesfull, it does not have to be bothways,otherwise i would not be able to get a ping from R2)
Also i did try to configure it bothways... so that R3 can ping R2 and R2 can ping R1, but R1 still can`t ping R3 and R3 can`t ping R1 :( (i know, a lot of issues for something that`s supposed to work with only 3 commands)
Solved! Go to Solution.
05-23-2017 10:41 AM
Attached you will find the fixed file. It can be compared with your file.
Hope it is useful
:-)
05-23-2017 09:45 AM
Can't read the attachment but as a guess don't forget routing has to work both ways so when you ping from router1 what is the source IP and does router3 have a route for that ?
If you are not specifying the source IP with an extended ping then it will be the IP of the interface connecting to router2.
Jon
05-23-2017 10:22 AM
I don`t think it has to work bothways, since R1 can get a ping from R2, but R2 can`t get a ping from R1, because it doesn`t know how to reach it.
05-23-2017 10:29 AM
Routing has to work both ways, can't put it any clearer than that.
It may be to do with the IPs you are using in your pings but unless you provide more details difficult to say.
Jon
05-23-2017 10:37 AM
I tried to configure it bothways so that R3 can ping R2 and R2 can ping R1, but R1 still can`t ping R3 and R3 can`t ping R1.
In other words, r1 can get a ping from r2, r2,can get a ping from r3, r3 can get a ping from r2 and r2 can get a ping from r1, but not r1 from r3 and r3 from r1
05-23-2017 10:41 AM
Are you pinging from the routers themselves and are you just typing "ping <IP address>" ?
If yes to both questions then R1 will use the IP assigned to the interface connecting to R2 which means R3 needs a route for that subnet and the same the other way round.
The reason each router can ping the next one along is because they share a subnet between them.
Jon
05-23-2017 10:57 AM
it had to be both ways, i tried with the cmd , now it works :)
05-23-2017 09:49 AM
Hi
Please let me verify the file, but remember the ping is reciprocal in few words if an ICMP packet is sent to a destination, the destination need to know how to return a response to the source.
05-23-2017 10:04 AM
Hi
I found the issue.
On Router 2 You need to add:
ip route 192.50.10.0 255.255.255.0 192.168.100.10
On Router 3 you need to add:
ip route 192.50.10.0 255.255.255.0 192.168.200.10
ip route 192.50.20.0 255.255.255.0 192.168.200.10
:-)
05-23-2017 10:17 AM
Hello,
I did, it still doesn`t work.
05-23-2017 10:41 AM
05-23-2017 10:54 AM
Hello,
Yes, now i can ping all the the pcs :) r1 to r3 and r3 to r1, i guess i needed to make it both ways lol, sorry for the bother:).
05-23-2017 10:19 AM
As for response...
Router 1 can reach router 2, but router 2 does not know how to reach router 1.. however router 1 is still able to get a ping.
05-23-2017 10:35 AM
Hi
Ping between routers connected directly can works but It should not work between PCs, because PC (attached to Router 2) doesnt know how to reach Router 1, there is not a entry for the network 192.50.10.0/24 into the routing table of the router 2.
It could works unless you have a NAT using the network between R1 and R2, I have opened the original attached file and there is no ping between PC7 and the PC connected to router 2 unless I set up the configuration below.
:-)
05-23-2017 10:44 AM
ok, i understand now why it has to be bothways :), i did not try to ping it from cmd.
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