Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't ping on second VLAN

Status
Not open for further replies.

fdalmoro

IS-IT--Management
May 8, 2003
90
0
0
US
Hello,

I have 3 - 5300 switches all connected via Mesh. Software revision : E.10.55

SW1/Port A-1 -> SW2/Port A-1
SW1/Port A-2 -> SW3/Port A-1
SW2/Port A-2 -> SW3/Port A-2

show mesh on all 3 says established

The problem is that there are two VLANs on each one of these switches plus the default vlan. The mesh ports all have the vlans tagged but I cannot ping between the switches on VLAN 21.

show run (just VLAN section SW1)
vlan 1
name "DEFAULT_VLAN"
no ip address
tagged Mesh
no untagged A3-A24,B1-B24
ip igmp
exit
vlan 20
name "VLAN20"
untagged A3-A6,A8-A12,B1-B24
ip address 172.20.1.11 255.255.255.0
tagged Mesh
ip igmp
exit
vlan 21
name "VLAN21"
untagged A14-A24
ip address 172.21.1.11 255.255.255.0
tagged A13,Mesh
ip igmp
exit

show run (just VLAN section SW2)
vlan 1
name "DEFAULT_VLAN"
no ip address
tagged Mesh
no untagged A3-A24,B1-B24
ip igmp
exit
vlan 20
name "VLAN20"
untagged A3-A6,A8-A12,B1-B24
ip address 172.20.1.12 255.255.255.0
tagged Mesh
ip igmp
exit
vlan 21
name "VLAN21"
untagged A14-A24
ip address 172.21.1.12 255.255.255.0
tagged A13,Mesh
ip igmp
exit

show run (just VLAN section SW3)
vlan 1
name "DEFAULT_VLAN"
no ip address
tagged Mesh
no untagged A3-A24,B1-B24
ip igmp
exit
vlan 20
name "VLAN20"
untagged A3-A17,A19-A23,B1-B14
ip address 172.20.1.13 255.255.255.0
tagged Mesh
ip igmp
exit
vlan 21
name "VLAN21"
untagged B15-B24
ip address 172.21.1.13 255.255.255.0
tagged Mesh
ip igmp
exit

Default GW on all is 172.20.1.254 and they can all ping the GW.

SW1 can ping everything except SW2 and SW3 on VLAN21.
SW2 can ping everything except SW1 and SW3 on VLAN21.
*SW3 can ping everything except SW2 and SW3 on VLAN21. So in this case it can't ping itself.

SW1 - show ip route
IP Route Entries

Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 172.20.1.254 20 static 0 250
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
172.20.1.0/24 VLAN20 20 connected 0 0
172.21.1.0/24 VLAN21 21 connected 0 0

SW2 - show ip route
IP Route Entries

Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 172.20.1.254 20 static 0 250
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
172.20.1.0/24 VLAN20 20 connected 0 0
172.21.1.0/24 VLAN21 21 connected 0 0

SW3 - show ip route
IP Route Entries

Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ --------------- ---- --------- ---------- ---------- -----
0.0.0.0/0 172.20.1.254 20 static 0 250
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
172.20.1.0/24 VLAN20 20 connected 0 0

SW3 - does not have the route for 172.21.1.0/24 I added a static route but still can't ping on VLAN21.

Again, the main problem is that I can't ping on VLAN21. Any other tests or config that I can look at to see what may be causing this?

Thanks,
Fernando
 
Update: SW1 and SW2 are connected to a Cisco Router via trunks. I setup another VLAN just as a test and this VLAN worked fine even though I set it up the same as the last. I think the only difference is there were some STP changes that were done when the 21 VLAN was created and the switch rebooted. So I don't know if that had anything to do with it but disregard for now. Thanks

Fernando
 
Try to enable VLAN routing, and set your GW addr to the interface addr of the routing swtich. You switch needs to have a iproute to 0.0.0.0/0.0.0.0/x.x.x.x where x is the internet gateway.

Another option is to do a "route add" on your PC from the other network and then use the switch as a GW.

Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged
___________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top