Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2004 20:57:58 +0200
From:      "Mihail  Balikov" <misho@interbgc.com>
To:        <freebsd-net@freebsd.org>
Subject:   Re: double vlans - once again.
Message-ID:  <002501c4e533$7df445f0$c7cdf0d5@misho>
References:  <001e01c4e527$78caac10$9f90a8c0@donatas>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <donatas@lrtc.net>
To: <freebsd-net@freebsd.org>
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





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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501c4e533$7df445f0$c7cdf0d5>