Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

native vlan

Status
Not open for further replies.
Feb 4, 2006
70
US
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
!
 
First off, is this an L2 switch? Second, you need to make the SVI (the only one for a L2 switch) for VLAN 999

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
your config should look something like this:
Switch:
Code:
interface GigabitEthernet1/2 
 description link to fa0/1 on R1 
 switchport trunk native vlan 999 
 switchport trunk allowed vlan 34[s],999[/s] 
 switchport mode trunk
!
Router:
Code:
interface FastEthernet0/1 
 [s]ip address 192.168.34.1 255.255.255.0[/s] 
 duplex auto 
 speed auto
!
interface FastEthernet0/1.34
 ip address 192.168.34.1 255.255.255.0
 encapsulation dot1q 34
!
interface FastEthernet0/1.999 
 encapsulation dot1Q 999 native 
 no ip address

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top