Re: Encapsulation failed when trying to ping BVI Ip from

From: Godswill Oletu (oletu@inbox.lv)
Date: Mon Jul 10 2006 - 16:48:11 ART


Williams,

How is the switchport connecting to R6's Ethernet interface sending the
VLANs to R6? If the VLANs are not encapsulated from the switch (ie you do
not have something like 'switchport trunk encapsulation dot1q' on the
switchport), then there is no need doing a subinterface dot1q encapsulation
on R6.

My guess, is your switch port only have the 'switchport vlan XXX' command
and as such it is sending the VLANs unencapsulated to R6, you see why R6
will generate an error message when it is expecting to see a dot1q VLAN
taging on packets and it end up seeing something else.

Try the following on the switchport that connects to R6:
!
switchport trunk encapsulation dot1
!
If you will be using VLAN 1 as you stated in your post, enter this other
command on the configuration mode:
!
vlan dot1q tag native
!
OR

change your native VLAN from the default of VLAN 1 to something else on the
switchport.

HTH

Godswill Oletu
CCIE #16464(R&S),CCNP,CCDP,CCSP,INFOSEC.

>>>
----- Original Message -----
From: "D.H. Williams" <draythw@gmail.com>
To: <ccielab@groupstudy.com>
Sent: Monday, July 10, 2006 3:18 PM
Subject: Encapsulation failed when trying to ping BVI Ip from
router-on-stick

>I could never get this to work.
>
> R1 is running BVI 1 with ip 192.10.1.1 255.255.255.0, bridge irb etc.
> (working fine, trust me)
>
> R6 is setup with two subinterface, one of which is in the same vlan as R1
> ethernet, but doing encap dot1q on it.
>
>
> If I remove the encapsulation dot1q on r6 and just put an IP directly on
> that interface and place it in same vlan as 1, it works like a champ;
> when
> I do subinterface, I get "encapsulation failed" on my debug.
>
> Appreciate any thoughts on this.
>
> Sidenote
> R1 ethernet doesn't have an IP, just bridge-group 1 tying it to BVI. R6
> does have an IP address.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:47 ART