From: Bartosz Gagat on
802.1q vlans works on Layer2. Gre works on Layer 3. You need special
technique to encapsulate L2 information in Layer3 packets. So- use
pseudowire or another encapsulation (l2vpn) technique.
Bartosz Gagat

"Xavier Veral" <xaviveral(a)hotmail.com> wrote in message
news:25bb87d8-8970-4328-9f70-081380d28c28(a)i3g2000hsf.googlegroups.com...
On 15 ene, 09:41, alexd <troffa...(a)hotmail.com> wrote:
> On Mon, 14 Jan 2008 23:58:36 -0800, CK wrote:
> > On Jan 14, 7:51 pm, Xavier Veral <xavive...(a)hotmail.com> wrote:
> >> Hi!
>
> >> Is it possible to use a GRE tunnel to connect 2 switches in diferent
> >> locations with the same vlan?
> > If the both Switches are in same Vlan then hey must interact with each
> > other without and problem. Why you need GRE tunneling in this scenerio.
>
> > May be i am not clear about the asked question.
>
> Presumably the two locations that the OP is connecting with a GRE tunnel
> aren't linked together with a protocol that supports VLANs natively.
>
> --
> <http://ale.cx/> (AIM:troffasky) (UnSoEsNpE...(a)ale.cx)
> 08:40:39 up 9 days, 23:05, 2 users, load average: 1.11, 1.09, 1.14
> 2x Broadband/IT/Telecoms support positions in Newcastle city centre.
> For more info call 0191 229 8870 and ask for Steve. No agencies.

yes, exactly thats the case; i have both offices linked using
encrypted gre tunneling (vti interface) and need to access on vlan on
office 1 from office 2.

I need to make something like, lets say a subinterface on the tunel
that connects both switches and vlan.

Im not sure if i explain the idea correctly :-)

thanks