cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4995
Views
10
Helpful
24
Replies

Ping from one router through another router

Fenderbridge
Level 1
Level 1

I have a lab set up in my garage, like this:

A router(B) connected to another router (A), this router (A) connected to two core switches, both connected to a server switch. At the end, a raspberry pi connected to F1/0/3 on ServerA.  All configs attached.

 

I am able to ping from the Raspberry Pi(192.168.10.10) to RouterB(10.10.10.2), and am able to ping the VLAN 10 on ServerA (192.168.10.4), but am unable to ping the RPi itself.  I am able to ping from RouterA(10.10.10.1) to RPi with not problem, and vice-versa.

 

I've reached the end of my rope.  I've tried changing my ospf settings on RouterA, adding direct ip routes, changing VLAN IP address on G0/0 on RouterB, but nothing I do seems to make it work right.  Any pointers or help would be greatly appreciated.

 

Thank you,

Fender

24 Replies 24

Hello,

 

--> I am able to ping from the Raspberry Pi(192.168.10.10) to RouterB(10.10.10.2), and am able to ping the VLAN 10 on ServerA (192.168.10.4), but am unable to ping the RPi itself. I am able to ping from RouterA(10.10.10.1) to RPi with not problem, and vice-versa.

 

This is confusing. From which IP address can you not ping the Raspberry (192.168.10.10) ? Make sure the default gateway of the Raspberry is 192.168.10.1 (and not 192.168.10.4).

Thank you for taking interest, Georg.  I am saying I am able to ping from the RaspberryPi to Router B, but cannot ping from RouterB to Raspberry Pi.

I can ping everything from everywhere except from RouterB to RaspberryPi.  I am trying to ping from interface G0/0 on RouterB, which has an IP of 10.10.10.2.  Does this help to clear it up?


THanks,

Fender

Hello,

 

first of all, as I said before, make sure the default gateway on the Raspberry is set to 192.168.10.1.

 

Also, on Router A, make the Vlan 10 interface active:

 

router ospf 10
--> no passive-interface Vlan10
network 10.10.10.0 0.0.0.3 area 0
network 172.16.1.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 0

Hello again, Georg.  I double-checked, and the static router (gateway) is set to 192.168.10.1 on RaspberryPi.

I removed "passive-interface vlan 10", this did not appear to fix the problem unfortunately.  I am still unable to ping the Raspberry Pi from RouterB.

 

Thanks again, Georg.  Any other ideas?

Hello,

 

on the switch (ServerA) shut down interface Vlan 10:

 

interface Vlan 10

--> shut

This does not seem to work, difference being I cannot ping 192.168.10.4 from RouterB anymore.

Hello,

 

--> A router(B) connected to another router (A), this router (A) connected to two core switches, both connected to a server switch. At the end, a raspberry pi connected to F1/0/3 on ServerA. All configs attached.

 

Can you post the configs of the core switches as well ?

Also, when you do a traceroute from RouterB to the Raspberry, where does the traceroute stop ?

Of course, here are the Core's configs, thank you
Thank you again for taking the time to help.

 

 

Traceroute just seems to go to 10.10.10.1, which is RouterA, and then doesn't go anywhere else.

 

traceroute 192.168.10.10
Type escape sequence to abort.
Tracing the route to 192.168.10.10
VRF info: (vrf in name/id, vrf out name/id)
1 10.10.10.1 4 msec 0 msec 0 msec
2 * * *

Hello,

 

how are your switches connected ? I cannot figure that out from the description of the interfaces. Can you post a brief schematic drawing showing the physical links ?

 

It looks like you have the core switches connected to each other with two interfaces ? What for ? And both core switches have a connection to RouterA ?

 

interface FastEthernet1/0/1
description RouterA Connection
switchport access vlan 10
switchport mode access

 

interface FastEthernet1/0/47
description CoreA2 Connection 1
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20
switchport mode trunk
!
interface FastEthernet1/0/48
description CoreA2 Connection 2
switchport access vlan 20
switchport mode access

Thank you, attached is a visio layout of how I set up my lab.  I've been working out how to set up full redundancy, both between the two cores themselves, along with the connection to RouterA.  I also am working to set up etherchannel between the two ports.  I thought I had shut down the two ports connecting CoreA1 and CoreA2, is this what could be causing the loss?

 

THanks again!

Hello,

 

on RouterA, delete the Vlan 10 interface:

 

-> no interface Vlan10
ip address 192.168.10.1 255.255.255.0

 

That is the problem I think.

Sure thing,

RouterB (G0/0) --> (G0/0) RouterA

 

RouterA:

 

RouterA (f0/0/0) --> CoreA1 (f1/0/1)

RouterA (f0/0/1) --> CoreA2 (f1/0/1)

 

 

CoreA1:

CoreA1 (f1/0/2) --> ServerA (f1/0/1)

CoreA1 (f1/0/47) --> CoreA2 (f1/0/47)

CoreA1 (f1/0/48) --> CoreA2 (f1/0/48)

 

CoreA2:

CoreA2 (f1/0/2) --> ServerA (f1/0/2)

CoreA2 (f1/0/47) --> CoreA1 (f1/0/47)

CoreA2 (f1/0/48) --> CoreA1 (f1/0/48)

 

ServerA:

ServerA (f1/0/1) --> CoreA1 (f1/0/2)

ServerA (f1/0/2) --> CoreA2 (f1/0/2)

ServerA(f1/0/3) --> RaspberryPi(eth0)

 

Hello,

 

I'll lab this up and get back with you in a bit...

Review Cisco Networking for a $25 gift card