I have a catalyst switch c3750 which i want to do vlan with it. I have vlan 1 and 2 on it.
Vlan 1 ip addr 192.168.1.1/24
vlan 2 ip addr 192.168.2.1/24
And i tag each port to each vlan, port 1 and 2 precise.I then have host A ip addr to be 192.168.1.3 gateway 192.168.1.1 mask /24. Host B 192.168.2.3 gateway 192.168.2.1 mask/24.
The issue is that Host A can ping the default-gateway of host B ( 192.168.2.1) but can ping host B 192.168.2.3. But Host B can ping the default-gateway of host A(192.168.1.1) but can not ping host A 192.168.1.1
I wonder if there is a typo mistake in your post. You say:"The issue is that Host A can ping the default-gateway of host B ( 192.168.2.1) but can ping host B 192.168.2.3". If it is a problem it seems there should be a "not ping host B". Can you clarify.
I have looked at the config that you posted and it does not have any obvious problems. I can think of 2 possible explanations for the problem:
- there is a problem with the configuration of the PCs and either the address, the mask, or the default gateway is not configured as your post says that they are.
- or the PCs have an active firewall and the firewall is not allowing the ping.
Sorry for the error in the post.What am i mean was that the two host can ping the two vlan ip addr. But host A cannot ping host B. After ur post now i remove the firewall on both machine but the issue is the same. But the switch can ping both hosts.
I intended putting a router which i did but the situation remain the same. The ping is not bi-direction its one way.
The configuration of the router is doing just what the switch was doing when you had IP addresses and routing enabled on the switch. So I am not surprised that the situation continues, since I did not believe that the problem was on the switch.
I am not clear about an aspect of your post so I will ask a question: can the PC at 192.168.1.3 ping the interface at 192.168.2.1?
Another question: if you do extended ping (on the switch if the IP addresses are on the switch or on the router if the addresses have been moved to the router) and in the extended ping specify the source address as the address of the other vlan, does the ping work? (if you ping the 192.168.2.3 PC and specify the source address as 192.168.1.1 does the ping work?
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...