cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
885
Views
0
Helpful
17
Replies

unable to connect to neighboring switch with interface vlan

nygenxny123
Level 1
Level 1

I am sitting on switch A-

I can see switch B with a

show cdp neigh

Device ID: Switch

Entry address(es):

IP address: 172.20.111.202

Interface: GigabitEthernet2/0/18, Port ID (outgoing port): GigabitEthernet2/0/

3

I have trunking enabled to allow all vlans

Port Vlans allowed on trunk

Gi1/0/18 1-4094

Gi1/0/50 110-111

Gi1/0/51 151-152

Gi1/0/52 151-152

Gi2/0/18 1-4094

Gi2/0/50 110-111

Gi2/0/51 151-152

Gi2/0/52 151-152

Port Vlans allowed and active in management domain

Gi1/0/18 1,50,110-111,150-153

Gi1/0/50 110-111

Port Vlans allowed and active in management domain

Gi1/0/51 151-152

Gi1/0/52 151-152

Gi2/0/18 1,50,110-111,150-153

Gi2/0/50 110-111

Gi2/0/51 151-152

Gi2/0/52 151-152

and have configured a vlan 111 with an IP address..here is some of the config of switch B

Building configuration...

subnet-zero !

!

!

!

!

!

!

interface FastEthernet0

no ip address

shutdown

!

!

interface GigabitEthernet1/0/21

!

interface GigabitEthernet1/0/22

!

interface GigabitEthernet1/0/23

!

interface GigabitEthernet1/0/24

!

interface GigabitEthernet1/0/25

!

interface GigabitEthernet1/0/26

!

interface TenGigabitEthernet1/0/1

!

interface TenGigabitEthernet1/0/2

!

111

spanning-tree portfast

!

interface GigabitEthernet2/0/19

switchport access vlan 111

!

interface GigabitEthernet2/0/20

!

interface GigabitEthernet2/0/21

!

interface GigabitEthernet2/0/22

!

interface GigabitEthernet2/0/23------------

switchport mode trunk

!

interface GigabitEthernet2/0/24

!

interface GigabitEthernet2/0/25

switchport access vlan 811

!

interface GigabitEthernet2/0/26

switchport access vlan 111

!

interface TenGigabitEthernet2/0/1

!

interface TenGigabitEthernet2/0/2

!

interface Vlan1

no ip address

shutdown

!

interface Vlan111---------------------------

ip address 172.20.111.202 255.255.255.0 !

interface Vlan811

ip address 192.168.100.10 255.255.255.0 !

ip classless

ip http server

!

!

control-plane

!

!

But i cannot ping or telnet from switch A which is directly connected to switch B

via trunk

17 Replies 17

Richard

server is in vlan 111 with a default-gateway of 172.20.111.1 ?

If you allocate a vlan 110 interface on switch B then you have to use a default-gateway out of the vlan 110 subnet. You cannot use the same default-gateway as the server.

You could create a vlan 111 interface instead on the 3120 switch and then use the server default-gateway - see previous post.

Jon

Richard

Just to follow up on last post.

You can either

1) have vlan 111 interface on 3120 and use default-gateway of CSS IP address in 172.20.111.x subnet

or

2) have vlan 110 interface on 3120 and use default-gateway of CSS IP address in 172.20.110.x subnet.

Jon

great this is starting to make alot more sense...thx!!

Review Cisco Networking products for a $25 gift card