Re: dot1q natvie vlan

From: Bob Sinclair (bsin@cox.net)
Date: Thu Nov 13 2003 - 13:49:24 GMT-3


William,

I got the same result as you when I tried this using:

3620 with an Ethernet interface and IOS 12.2(4)T3

and

3550 running 12.1(19)EA1

A debug on the 3620 showed encapsulation failure.

In order to get this to work, I had to get rid of the E1/0.10 subinterface
and configure the 192.168.10.1 address directly on E1/0, as shown below:

interface Ethernet1/0
 ip address 192.168.10.1 255.255.255.0
!
interface Ethernet1/0.20
 encapsulation dot1Q 20
 ip address 192.168.20.1 255.255.255.0

The configuration above worked.

All the documents say that your config should work, but there is a note on
CCO that says that the native vlan IP needs to be configured on the major
interface in some. older, IOS versions.

for example:
http://www.cisco.com/en/US/products/hw/switches/ps663/products_configuration_example09186a008014859e.shtml

-Bob Sinclair
 CCIE #10427, CISSP, MCSE
 bsin@cox.net

----- Original Message -----
From: "William Chen" <kwchen@netvigator.com>
To: <ccielab@groupstudy.com>
Sent: Thursday, November 13, 2003 5:05 AM
Subject: dot1q natvie vlan

> Dear all,
>
> I try to setup the router to use a native VLAN. Following is the
setting:
>
> RouterA:
> interface Ethernet0/0.10
> encapsulation dot1Q 10 native
> ip address 192.168.10.1 255.255.255.0
> !
> interface Ethernet0/0.20
> encapsulation dot1Q 20
> ip address 192.168.20.1 255.255.255.0
> !
>
> SwitchA:
> interface FastEthernet0/1
> switchport trunk encapsulation dot1q
> switchport trunk native vlan 10
> switchport mode trunk
> no ip address
> end
> interface Vlan10
> ip address 192.168.10.20 255.255.255.0
> end
> interface Vlan20
> ip address 192.168.20.20 255.255.255.0
> end
>
> Then I run the following test:
> SwitchA#p 192.168.10.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
> .....
> Success rate is 0 percent (0/5)
> SwitchA#p 192.168.20.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 192.168.20.1, timeout is 2 seconds:
> !!!!!
> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
>
> Anything I am wrong?
>
> Best Regard,
> William Chen
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:11 GMT-3