cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1421
Views
0
Helpful
4
Replies

Cannot ping 2 computers in different or same VLAN's on 2 identical switches

Growlert
Level 1
Level 1

Hello!

I have a two cisco switches model SG250-50. The task is as follow:

1. Create multiple VLAN's with a same ports and same id on 2 switches.

2. Setup DHCP server with interfaces over 802.1q protocol

3. Accept all devices connected to any port to reach each other.

 

And that's what was done:Both switches connected with each other via trunk port (let's say 50). This port trasfer and receive all traffic.

One of the switches connected via trunk port (49) to DHCP Server (running on CentOS 7), on which virtual interfaces (802.1q supported) configured. Also on each switches created virtual ip's for each subnet.

DHCP works as expected (each device connected to VLAN obtains appropriate ip and gateway).

From each devices connected to some VLAN I can reach all ip's of both switches and each ip's of DHCP server.

The problem is I cannot reach (ping) device from one to another in both directions, no matter connecting them to the same or different VLAN or even they connected to same switch or separated. Devices also unavailable from DHCP server.

What could I miss in this configuration?

Thanks.

4 Replies 4

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

No familiar with SG series switches but you may want to turn on "ip routing" on both switches so you can route between vlans.

HTH

Hi.
IP routing is enabled on both switches. With this option I can ping interfaces on both and DHCP server but not other devices connected to first or second switch.

balaji.bandi
Hall of Fame
Hall of Fame

1. post the configuration and let us know what is the DHCP Server IP.

2. what is the 2 VLAN number, what IP address tney expect to be.

3. some time device also has FW, you wont be able to ping (you need to disable Local FW on Operating system)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi.

I added current config in attachment. Switch1 and Switch2 config divided by '------------------------' line.

1. DHCP server address is 172.16.3.1,172.16.13.1,172.16.14.1

2. Not clearly understand you, but VLAN 2 ip is 172.16.13.2 and 172.16.13.3 relatively. So both switched have different ip but in the same subnet.

3. I tested this already, devices connected to simple unmanaged switch can ping each other.