cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4730
Views
0
Helpful
10
Replies

VLAN IP's not pinging

rwamstutz
Level 1
Level 1

All,

I added a VLAN 301 to my LAN that already has VLANS 300 and 246. On Switch 1, VLAN 301 has an interface IP of 10.220.1.1, on Switch 2, VLAN 301 has an interface IP of 10.220.1.2. HOWEVER, I can not ping either interface from each device even though they are connected via a trunk. Switch 1 has routing enabled, switch 2 does not, but that does not prevent them from pinging each other. VLAN 301 currently has not end devices running on that VLAN.

How can I get the VLANS to ping and recongnized each other?

Much appreciated.

10 Replies 10

rico_hao40
Level 1
Level 1

First, make sure the switches is layer 3 switch, layer 2 switch only has one active IP on it.

Try #show ip inter bri

shows the IP status, make sure the vlan and IP are up.

#try #show arp

to check if you get the arp reply from peers IP.

Show ip int brief: Shows each VLAN interface as being up on each switch

show arp: Only shows the local VLAN interface IP Address

any other ideas?

Hi

Does the switch that has ip routing turned off have any other L3 vlan interfaces other than vlan 301.

Could you send config of both switches ?

Jon

yes, switchb has 2 other vlans that can ping. See attached

Hi

Your layer 2 switch has a default-gateway of 10.246.1.2 which is part of vlan 246.

Can you post "sh ip ro" output from both switches.

Can you ping vlan 300 interface on L3 switch ( 10.3.240.240 ) from the L2 switch ?

Jon

John,

L3 Switch -

C 10.3.0.0 is directly connected, Vlan300

D 10.1.0.0 [90/3394560] via 10.3.1.1, 1d23h, Vlan300

D 10.4.0.0 [90/6789632] via 10.246.1.25, 1d23h, Vlan246

D 10.202.0.0 [90/3072] via 10.246.1.25, 2w2d, Vlan246

D 10.203.0.0 [90/3072] via 10.246.1.25, 2w2d, Vlan246

D 10.201.0.0 [90/3072] via 10.246.1.25, 2w2d, Vlan246

D 10.204.0.0 [90/3072] via 10.246.1.25, 2w2d, Vlan246

D 10.205.0.0 [90/3072] via 10.246.1.25, 2w2d, Vlan246

C 10.220.0.0 is directly connected, Vlan301

D 10.234.0.0 [90/6789632] via 10.3.1.1, 1d23h, Vlan300

S 10.232.0.0 [1/0] via 10.3.1.1

C 10.233.0.0 is directly connected, Vlan233

R 10.231.0.0 [120/3] via 10.246.1.1, 00:00:17, Vlan246

C 10.246.0.0 is directly connected, Vlan246

D 10.247.0.0 [90/6789632] via 10.3.1.1, 1d23h, Vlan300

D 10.245.0.0 [90/3394816] via 10.3.1.1, 1d23h, Vlan300

L2 Switch -

Host Gateway Last Use Total Uses Interface

10.1.2.105 10.3.1.1 1:15 116 Vlan300

Yes, I can ping the VLAN300 IP from the L3 to the L2 Switch. VLAN 246 and 300 I can ping both ways.

Hi

As far as i can see on all your trunk links on the L3 switch you have not allowed vlan 301. Presumably one of these trunk links connects to the L2 switch ?

Edit - not all trunk links actually but some have a list of allowed vlans. Can you check that the trunk to teh L2 switch is not one of these ?

Jon

the G1/0/1 interfaces are the ports that is the turnk between the two switches. I just no initiated switchport trunk vlan allow ALL, on both g1/0/1, but still can not ping the 301 interface.

found something interesting:

I created a new vlan on L3, vlan 302, ip address 10.225.1.1, after that, I could ping the 302 interface from the L2 switch. Then I created a VLAN interface on the L2 switch, VLAN 302, Ip address 10.225.1.2, after that I could not ping the L3 VLAN 302 interface? Both switches are VTP servers in the same domain.

Found something else, both Switches are VTP Servers. Once is CAPITALIZED, the other is in lower case. Are the VTP domains names case sensitive? If so, then if I create a VLAN 302 on L2 Switch and VLAN 302 on L3 switch does it conflict?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card