03-14-2013 09:18 AM - edited 03-07-2019 12:15 PM
Hi,
I am having an issue two diff switches both running on 3 diff vlans and both are connected together. e.g vlan 10, 20 and 30
this 3 vlans are configured on the two switches that are connected to each other and could ping each vlans having configured the ports of the
two switches connected to trunk and having all ports in each vlan connectint to a pc to be in access but those pcs canot ping other vlans the could only ping them selfs even the switch could not ping the PC IP succesfully.
thank you would appreciate any help
03-14-2013 01:41 PM
Hello Ademola,
If I may enter your discusion.
You have problem with connectivity between theese two PCs.
PCs config in vlan 105
ip add 192.168.1.10, S/M:255.255.255.224, D.G:192.168.1.1
PCs config in vlan 120
IP add 192.168.1.39, S/M:255.255.255.224 D.G 192.168.1.34
Now you added them into same vlan. Did you change subnets? because they can be in same vlan, but thay are not on same subnet.
Please give them back to original vlans and answer theese questions:
- are both PCs connected to same switch?
- do you have in configuration ip routing to enable switch route between vlans?
Best Regards
Please rate all helpful posts and close solved questions
03-14-2013 01:49 PM
they are in diff vlans each vlan has its own subnet which is /27 so the 192.168.1.10 fall in a diff vlan while the 192.168.1.39 fall into another vlan.
each switch has 3 diff vlan running which is on both switch but i purposely connect each pc to a diff switch with ip routing config on the int vlans.
i have checked all switch config it seems to be fine even (show ip arp) and i could see all ip has its correct mac-add and vlans.
03-14-2013 02:03 PM
OK,
Can you ping your gateway from both PCs?
PCs config in vlan 105
D.G:192.168.1.1
PCs config in vlan 120
D.G 192.168.1.34
Where are connected theese PCs? switch and port ID would be helpfull, also with switchport configuration.
Best Regards
Please rate all helpful posts and close solved questions
03-14-2013 02:13 PM
yes all my gateways are pingable even each psc can ping other vlan gateway
03-14-2013 02:43 PM
interface FastEthernet1/0/14
switchport access vlan 250
switchport trunk encapsulation dot1q
switchport mode access
!
interface FastEthernet1/0/15
switchport access vlan 250
switchport trunk encapsulation dot1q
switchport mode access
!
interface FastEthernet1/0/16
switchport trunk encapsulation dot1q
switchport mode access
First of all correct your config
Your are configuring access port for PC why are giving encapsulation dot1q.
Make it like that for access ports.
interface fastethernet1/0/x
switchport mode access
switchport access vlanx
*** Do Rate Helpful Posts***
03-14-2013 02:53 PM
Is this your topology?
PC_105 --- (vlan 105) ---- AGGRSW1 --- (trunk) --- AGGRSW2 --- (vlan 120) --- PC_120
As you said theese ping are successful:
PC_105# ping 192.168.1.1
PC_105# ping 192.168.1.34
PC_120# ping 192.168.1.34
PC_120# ping 192.168.1.1
Can you try theese?
PC_105# ping 192.168.1.2
PC_105# ping 192.168.1.33
PC_120# ping 192.168.1.2
PC_120# ping 192.168.1.33
Best Regards
Please rate all helpful posts and close solved questions
03-14-2013 09:11 PM
Hi,
Also it would be a worth for you to check the trunk link connected.
PC_105 --- (vlan 105) ---- AGGRSW1 --- (trunk) --- AGGRSW2 --- (vlan 120) --- PC_120
1- SW 1 should be able to ping 105 if the Port is on 105 vlan and vlan is up and fine. ( make sure you double check the vlans assigned to the correct ports).
2- Check the vlans between SW1----SW2 this should work fine if you have configured the trunk properly with same negotiaion and the vlans are allowed on the trunk both the side.
3- I just tested the same on my lab and its working fine for me.
4- Another worth to check the STP on your trunk port.
HTH
Regards
Inayath
*Plz rate the usefull posts.
03-15-2013 03:59 AM
Hello,
Switch A & B
Show int trunk
Show vlan brief
Show ip route
Hosts -
ip address
subnet mask
default-gateway
res
Paul
Please don't forget to rate this post if it has been helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide