• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Problem trunking 2 switches

I have a Catalyst 2924 and a Catalyst 2950.  Both are in the same VTP domain.  I have set port 22 on the 2924 and port 24 on the 2950 as trunk ports using 802.1q encapsulation.  I then shut down interface vlan1 and created an interface vlan254.  The addressing is:

172.28.250.20  in vlan 254 for the 2924
172.28.250.21  in vlan 254 for the 2950

I set the ip default gateway as 172.28.250.1

the ports register as "up", but if I do a "show cdp neighbors" I can see the other switch.  However, I cannot ping accross.  Now if I shut down vlan254 and assign the same ip address to vlan1, then bring up vlan1, I can ping the other switch.  What gives?  The vlan is defined in the database on both switches.  What's the difference?
0
Silas
Asked:
Silas
1 Solution
 
geoffrynCommented:
VLAN 1 is the native VLAN for the trunk.  Did you reassign the trunk port to VLAN 254?
0
 
mikecrCommented:
If you do a show vtp status, does it list how many vlan's you have? Did you say you can or cannot see the other switch using show cdp neighbors?
0
 
scraig84Commented:
I think Geoffryn is on the right track.  If you are putting your management interface in a different VLAN you need to assign it to the correct native VLAN.

Take a look at these:

http://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/29_35wc3/sc/swgvlans.htm#xtocid45

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/2950_wc/scg/scg_vlan.htm#xtocid2248339

Hope that helps!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now