Switching

I have a 4000 catalyst switch which is configured with a trunk and has a direct fiber run to a room that i am connecting a 3500xl switch too. I can ping the machines in both directions without a problem (from the PCs) but I can not telnet to the 3500 from the PC connected to the 3500 nor can I ping the interfaces of the switches from the ping command with the switches (4000 - 3500) Here is a sample example of the configuration of both switches on each end

4000 Switch
interface GigabitEthernet5/1
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 20
 switchport trunk allowed vlan 1-12,50
 switchport mode trunk

interface Vlan5
 description test
 ip address 10.200.20.1 255.255.255.128
 ip helper-address 10.200.18.10
 ip helper-address 10.200.18.11

VLAN 5    TestTrunk 4000                       active    Gi4/44, Gi6/14, Gi6/20 (PCs at this end)

line con 0
 password 7 014005340B
 login
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 password 7 121A0412040F00
 login


3500xl Catalyst Switch

interface GigabitEthernet0/1
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 20
 switchport trunk allowed vlan 1-2,50
 switchport mode trunk

interface Vlan2
 description test
 ip address 10.200.20.2 255.255.255.128
 ip helper-address 10.200.18.10
 ip helper-address 10.200.18.11

interface fastethernet 0/1
switchport access vlan 5
spanning-tree portfast

VLAN 2    TestTrunk 3500                       active    fa/01 (PC at this end)


line con 0
 password 7 014005340B
 login
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 password 7 121A0412040F00
 login
CAEUSAAsked:
Who is Participating?
 
Ken BooneConnect With a Mentor Network ConsultantCommented:
So the first problem I see is that you have the address space 10.200.20.x on vlan 5 on the 4000 and on vlan 2 on the 3500.  This address space needs to be on the same vlan on both switches.  So 10.200.20.x should be on either vlan 5 on both switches or vlan 2 on both switches.  Each vlan should have its own unique IP address space.

Second problem has to do with your trunk ports between switches.  You have specified the allowed vlans to flow across the trunk.  On the 4000 you are allowing vlans 1-12 and 50, but on the 3500 you are only allowing vlans 1, 2 and 50.  

So if you decide to use vlan 2 on both switches on that address space - no problem, but if you decide to use vlan 5 - then you have a problem, because vlan 5 is not allowed on the trunk on the 3500.  

Ideally the trunk ports on both switches should match as far as the allowed vlans go.

Once you have the ip address space on both switches in the same vlan, then plug a PC on both switches into that SAME vlan, you should not have a problem.
0
 
Don JohnstonInstructorCommented:
I can ping the machines in both directions without a problem
You can ping what from where? What IP address are you pinging and what are you pinging from?

but I can not telnet to the 3500 from the PC connected to the 3500
Once again, what IP address are you telnetting to, what is the IP address of the device you're telnetting from and what port is the device connected to?

nor can I ping the interfaces of the switches from the ping command with the switches
I thought you said that you could ping "in both directions"? What interfaces are you pinging and what are you pinging from?

It would also help to know which interfaces are used to connect the switches together. And I don't see a VLAN2 interface on the 4000. Is there one?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.