From owner-freebsd-questions Mon Oct 15 18: 2:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id E8A2437B409 for ; Mon, 15 Oct 2001 18:02:23 -0700 (PDT) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.6/8.11.6) with SMTP id f9G12AV61409; Mon, 15 Oct 2001 21:02:10 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: sl@zeus.dnt.md (Veaceslav Revutchi) Cc: questions@freebsd.org Subject: Re: 802.1q vlan trunking on fbsd Date: Mon, 15 Oct 2001 21:02:09 -0400 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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