Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2002 09:38:09 +1000 (EST)
From:      Steve Baxter <steve@pipenetworks.com>
To:        Attila Nagy <bra@fsn.hu>
Cc:        <freebsd-net@freebsd.org>
Subject:   Re: 802.1q trunks
Message-ID:  <Pine.LNX.4.33.0208310930380.28626-100000@internal.pipenetworks.com>
In-Reply-To: <Pine.LNX.4.44.0208301811340.30064-100000@scribble.fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help


Attila,

> Hello,
>
> > I was wondering if it is possible to do the following with a combination
> > of FreeSDB and netgraph. I am trying to tunnel multiple VLAN over an IP
> > network - bridging an 802.1q trunk as per the text diagram below. I am
> > trying to trasnport all of the vlans between the switches.
> If you could try this out, please share your experiences with me!
>
> I plan to do the same, but not yet got to the point where I have the
> actual testbed.
>
> I think there will be some problems, although. The first could be the
> length of the header. The VLAN stuff increases that, so if something
> checks for the correct Ethernet frame header size it will fail.

I presently use vtun and netgraph bridging.

I think one way to go may be to :

o   define all vlans on the BSD boxes at either end

    ifconfig vlan0 create
    ifconfig vlan1 create
    ....
    ifconfig vlan10 create

o   bring the vlans at both ends up and bind them to the trunk where fxp0
    is the interface plugged into the switch trunk port

    ifconfig vlan0 vlan 20 vlandev fxp0
    ifconfig vlan1 vlan 21 vlandev fxp0
    ....
    ifconfig vlan10 vlan 30 vlandev fxp0

o   then bridge all vlans together with the tap0 vtun interface.



-- 
Stephen Baxter
Director - PIPE Networks
phone : 07 3220 1100/ 0417 818 695
fax   : 07 3220 1800


______________________________________
This e-mail is intended for its recipients only. If this e-mail has
been sent to you in error, please delete it and notify the sender by
reply e-mail. The information contained in this message and/or its
attachments may be confidential. Please do not read, save, forward, 
disclose, or copy the contents of this email.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views 
of PIPE Networks/IX Services Australia Pty Ltd.

Except as required at law, PIPE Networks/IX Services Australia Pty Ltd 
does not represent, warrant and/or guarantee that the integrity of this 
communication has been maintained nor that the communication is free of 
errors, virus, interception or inference.

If any quotations for work are included in this email then unless 
otherwise stated the prices do not include GST, the quotation is 
only valid for 30 days unless otherwise stated, Gigabit/Gigabytes means 
1,000,000,000 bits/bytes, Megabit/megabyte means 1,000,000 bits/bytes, 
kilobit/kilobyte means 1,000 bits/bytes and 1 days signifies 1 working
day in the city of Brisbane. 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0208310930380.28626-100000>