billyj1900
MIS
I cannot see my switch from a sh cdp neighors from my router and I not able to ping default gateway from the swtich. Can someone tell me where I am going wrong with the native vlan setup.
Switch
interface GigabitEthernet1/2
description link to fa0/1 on R1
switchport trunk native vlan 999
switchport trunk allowed vlan 34,999
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan34
ip address 192.168.34.254 255.255.255.0
!
interface Vlan134
ip address 192.168.134.254 255.255.255.0
!
ip default-gateway 192.168.34.1
!
Router:
!
interface FastEthernet0/1
ip address 192.168.34.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1.999
encapsulation dot1Q 999 native
no ip address
!
Switch
interface GigabitEthernet1/2
description link to fa0/1 on R1
switchport trunk native vlan 999
switchport trunk allowed vlan 34,999
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan34
ip address 192.168.34.254 255.255.255.0
!
interface Vlan134
ip address 192.168.134.254 255.255.255.0
!
ip default-gateway 192.168.34.1
!
Router:
!
interface FastEthernet0/1
ip address 192.168.34.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1.999
encapsulation dot1Q 999 native
no ip address
!