cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
421
Views
0
Helpful
2
Replies

Cannot ping PC's on the same VLAN in different network

Salman Ahmad
Level 1
Level 1

I'm able to send pings between PC's in the same router network successfully, however i am unable to send pings from a PC within one router to a PC within another router network.  

I want to make it so that all the same VLANS can ping one another, but they shouldn't be able to ping a PC with a different VLAN. 

Finally all the PC's should be able to communicate with the server.

 

2 Replies 2

@Salman Ahmad 

 It will not work in the way you did.

Building 1, 2 and 3 have the same networks and each router is propagaring it on the OSPF, right? Do you agree with me that they will be a conflict?

Look, when a PC in Building 1 vlan 30 (192.168.60.10) will send a packet in Building 2  vlan 30 (192.168.60.2), this packet will not even leave the Router1 in the edge of Building. The router will not send this packet out because this network is connected to it. It will just ignore the packet and expect the PC2 can find the 192.168.60.2 on the local netwok. As they should be on the same network segment.

Hope that is clear.  Long store short, use different networks among each Building. Only after that, you can start playing with Access List to achieve your goal.

@Salman Ahmad 

@Salman Ahmad hi, VLANs are layer 2 areas. they dont pass through routers. if you need to have same VLAN with same network ranges thorough L3 networks, there is protocols like VxLAN to use. 

using same VLAN ID is not a problem. but if you need to use same network IP range, that need to plan properly.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB