Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 21:02:09 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        sl@zeus.dnt.md (Veaceslav Revutchi)
Cc:        questions@freebsd.org
Subject:   Re: 802.1q vlan trunking on fbsd
Message-ID:  <bb1nstsqvkeqshu8p2d01hiddjblhj68ta@4ax.com>
In-Reply-To: <SEN.1003129947.940846147@news.sentex.net>
References:  <SEN.1003129947.940846147@news.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Oct 2001 07:12:27 +0000 (UTC), in =
sentex.lists.freebsd.questions
you wrote:

>hi
>
>I've seen on mail archives people making fxp interfaces undestand
>802.1q frames. I was wondering if it was possible to have the
>FreeBSD box with two interfaces fxp0 and fxp1 forward 802.1q
>frames from one interface to another, in other words trunk=20
>a vlan received on fxp0 to fxp1, just like cisco's do it
>on FastE interfaces. =20
>
>I will be using 4.4 and two i82559. Do I need bridging support
>for that? =20


You mean route it from one VLAN to another ? Yes, thats no problem. If =
you
want to go switch to switch, you dont need the FreeBSD box.=20

To get things going,=20

compile a customer kernel with=20
device   vlan 10   #gives you 10 vlan interfaces to work with

install and reboot

then, lets say you have fxp0 and fxp1


On fxp0, you want to add=20
192.168.1.1/24 on vlan 453
172.16.1.1/24 on vlan 449

On fxp1 you want to add
10.0.0.1/24 on vlan 33
10.255.250.1/24 on vlan 993

ifconfig vlan0 192.168.1.1 netmask 255.255.255.0 vlan 453 vlandev fxp0 =
mtu
1500 up
ifconfig vlan1 172.16.1.1 netmask 255.255.255.0 vlan 449 vlandev fxp0 mtu
1500 up
ifconfig vlan2 10.0.0.1 netmask 255.255.255.0 vlan 33 vlandev fxp1 mtu =
1500
up
ifconfig vlan3 10.255.250.1 netmask 255.255.255.0 vlan 993 vlandev fxp1 =
mtu
1500 up

	---Mike
Mike Tancsa  (mdtancsa@sentex.net)	=09
Sentex Communications Corp,   	=09
Waterloo, Ontario, Canada
"Given enough time, 100 monkeys on 100 routers=20
could setup a national IP network." (KDW2)

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




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