04-25-2017 01:24 PM - edited 03-08-2019 10:20 AM
I am having issues pinging a switch that is directly connected to the switch I am currently plugged into. My laptop is plugged into Gi0/3 on Switch1 with an IP of 10.0.100.50/24 and a gateway of 10.0.100.1. I am able to ping the SVI for VLAN 100 and VLAN 99 however, I am unable to ping 10.0.99.2. When consoled into Switch1 I am able to ping 10.0.99.2. Is there a reason why I am unable to ping 10.0.99.2 from my laptop?
Switch1#
!
interface Port-channel1
description <--Trunk to Switch2-->
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 99,100
switchport mode trunk
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 99,100
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 99,100
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface GigabitEthernet0/3
switchport access vlan 100
switchport mode access
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.0.99.1 255.255.255.0
!
interface Vlan100
ip address 10.0.100.1 255.255.255.0
!
Switch2#
!
interface Port-channel1
description <--Trunk to Switch1-->
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 99,100
switchport mode trunk
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 99,100
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport trunk allowed vlan 99,100
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
!
interface Vlan1
no ip address
shutdown
!
interface Vlan99
ip address 10.0.99.2 255.255.255.0
!
ip default-gateway 10.0.99.1
!
Solved! Go to Solution.
04-25-2017 01:28 PM
Hi
Try to remove this command line switchport trunk native vlan 99, also verify with a: show interface status if the SVI are up up.
Usually the native vlan is not associated to any IP address or SVI.
Regards.
04-25-2017 01:27 PM
What model switch is switch2 ?
Jon
04-25-2017 01:28 PM
Hi
Try to remove this command line switchport trunk native vlan 99, also verify with a: show interface status if the SVI are up up.
Usually the native vlan is not associated to any IP address or SVI.
Regards.
04-25-2017 02:17 PM
Ok, by removing "switchport trunk native vlan 99" from both po1 interfaces it worked.
04-25-2017 02:49 PM
Yes, actually the native vlan should not be associated to any ip address, also the frames are untagged over the trunks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide