cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1690
Views
0
Helpful
22
Replies

vlan issue

csco11257494
Level 1
Level 1

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   

22 Replies 22

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

Best Regards Please rate all helpful posts and close solved questions

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.

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

Best Regards Please rate all helpful posts and close solved questions

yes all my gateways are pingable even each psc can ping other vlan gateway

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***

Jawad

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

Best Regards Please rate all helpful posts and close solved questions

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.

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.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card