Re: double vlans - once again.

From: Mihail Balikov (misho_at_interbgc.com)
Date: 12/18/04

  • Next message: gnn_at_FreeBSD.org: "Dingo and PerForce"
    To: <freebsd-net@freebsd.org>
    Date: Sat, 18 Dec 2004 20:57:58 +0200
    
    

    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"

    _______________________________________________
    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"


  • Next message: gnn_at_FreeBSD.org: "Dingo and PerForce"

    Relevant Pages

    • RE: FREEBSD between two trunks
      ... There was an old funny thing about bridging vlans: ... > I'm trying to setup DUMMYNET to emulate long delays, ... freebsd host between two trunks passing vlans. ...
      (freebsd-net)
    • VLAN limit?
      ... Currently I'm researching the maximum amount of possible VLANs for all kinds ... of network devices and one of them is a FreeBSD box with an FXP card in it. ... FreeBSD imposes any limit on the amount of VLANs (=vlan interfaces) on a ...
      (freebsd-questions)
    • Route-Server
      ... Does anyone knows how to create a route-server for BGPv4 peering ... using freebsd and vlans? ...
      (freebsd-questions)
    • Route-Server
      ... Does anyone knows how to create a route-server for BGPv4 peering ... using freebsd and vlans? ...
      (freebsd-net)