cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1549
Views
5
Helpful
5
Replies

Cannot ping switch from other network

gargalasketci
Level 1
Level 1

Hello guys. 

I have create a topology on GNS3 and i have a problem, i cant ping my switces from end devices. All the network decives is assigned to the 150 vlan, i have enable ROS on the router for all the vlans. I can ping the switch (192.168.150.7) from the router (192.168.150.253 subinter for vl 150) but i cannot ping the switch from any end devices (pc- 192.168.40.1). The ping from pc to router (192.168.150.253) is success. With wireshark i see the packet arrive to the default gateway with the dot1q tag 40 then the default gateway is change the tag to 150 and sending to the switch, the packet arrive to the switch (SVI / vlan150 / ip 192,168,150,7) i see this with wireshark and then the switch is not respond to ping. I dont have any access-list to SVI and i have check the default-gateway that i have configured on switch, multiple times and is correct. Any suggestion?

 

Thanks!  

1 Accepted Solution

Accepted Solutions

pman
Spotlight
Spotlight

Hi,

I assume that there is no route for pc network from the switch?

on switch: show ip route <pc address>

If there is no route:
in switch:

(configu)# ip routing

(configu)# ip route 0.0.0.0 0.0.0.0.0 <router address in vlan 150>

on switch: show ip route <pc address>

View solution in original post

5 Replies 5

are you using GNS3 with VM ?

Hello,

post a screenshot of your GNS3 topology, as well as the full running configurations (show run) of all devices involved...

pman
Spotlight
Spotlight

Hi,

I assume that there is no route for pc network from the switch?

on switch: show ip route <pc address>

If there is no route:
in switch:

(configu)# ip routing

(configu)# ip route 0.0.0.0 0.0.0.0.0 <router address in vlan 150>

on switch: show ip route <pc address>

Yeah sorry dude, my distribution layer switches is layer 3 and i think is only layer 2. Thank u sir!

emurray
Level 1
Level 1

Have you added the VLAN to the VLAN database?