I have done this 2 years ago for FreeBSD 4-STABLE

in sys/net/if_vlan.c in vlan_config(), replace

       if (p->if_data.ifi_type != IFT_ETHER)
                return EPROTONOSUPPORT;

with

       if (p->if_data.ifi_type != IFT_ETHER &&
           p->if_data.ifi_type != IFT_L2VLAN)
                return EPROTONOSUPPORT;

----- Original Message ----- 
From: "Donatas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 18, 2004 7:31 PM
Subject: double vlans - once again.


ok, i'll simplify my question -

we have vlan traffic, which is transfered via double tagged vlans (nested
vlans). Such functions are supported in some advanced switches (AT-8948).
The problem is - we cannot route those double-tagged vlans using freebsd
machines. Or maybe it is possible?
let's say we've created vlan-1 and vlan-2, where vlan-2 parent device is
vlan-1 and vlan-1 parent device is physical network adapter. This procedure
seems impossible in freebsd.
I've mentioned netgraph only as possible solution. Interesting, what happens
when freebsd get's double-tagged frame?

thank you

      Donatas Gendvilas
      AB Lietuvos Radijos Ir Televizijos Centras

      Duomenu Perdavimo Departamentas

      Valdymo Centras

      tel.: lokalus 444, 8-5-2525384, +37065266772
      Sausio 13-osios g. 10, 04347 Vilnius 50, Lietuva





_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to