From owner-freebsd-net Fri Jun 7 5:47:52 2002 Delivered-To: freebsd-net@freebsd.org Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by hub.freebsd.org (Postfix) with ESMTP id 8538737B404 for ; Fri, 7 Jun 2002 05:47:46 -0700 (PDT) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17GJ9b-0000Qd-00; Fri, 07 Jun 2002 16:47:43 +0400 Subject: Re: [HELP] IPless VLAN interfaces From: "Vladimir B. " Grebenschikov To: Christophe Prevotaux Cc: "net@freebsd.org" In-Reply-To: <20020607143351.6889eb27.c.prevotaux@hexanet.fr> References: <20020606125126.3d44145c.c.prevotaux@hexanet.fr> <1023373804.470.20.camel@vbook.express.ru> <20020607133643.066fcda6.c.prevotaux@hexanet.fr> <1023451595.531.20.camel@vbook.express.ru> <20020607143351.6889eb27.c.prevotaux@hexanet.fr> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.5 Date: 07 Jun 2002 16:47:43 +0400 Message-Id: <1023454063.531.22.camel@vbook.express.ru> Mime-Version: 1.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org =F7 Fri, 07.06.2002, =D7 16:33, Christophe Prevotaux =CE=C1=D0=C9=D3=C1=CC: > As I have said before I am using VLAN on FreeBSD ,which is obviously > 802.11Q, connected to a switch configured with VLAN 802.11Q ports attache= d > to the FreeBSD Box on one side thru the ethernet interface of that box. >=20 > On the other side on the same swtich I have vlan ports (802.11Q obviously= ) > which untag packets and deliver them to the boxen behind these VLAN >=20 >=20 > here is a small picture (I hope this does not gets mangled) >=20 >=20 > 802.11Q > | > --------------+ +--vlan1--+ +-------------+ > | FreeBSD Box +- fxp0-+--vlan2--+---Port1-+ Switch +--port4--Host3 > --------------+ +--vlan3--+ +---+------+--+ vlan3 > | | 802.11Q > port2 port3 > vlan1 vlan2 > 802.11Q 802.11Q > | | > | +---Host2 > | =20 > +---- Host1 >=20 > fxp0 has IP in a /24 > vlan1 has no IP > vlan2 has no IP > vlan3 has no IP > Host1 has an IP in the same /24 as the fxp0=20 > Host2 has an IP in the same /24 as the fxp0 > Host3 has an IP in the same /24 as the fxp0 > 802.11Q untagging is done at the port2 , port3 and port4 of the switch >=20 > I add route using the "-iface" option of the "route" command in order to > obtain a route that point to each vlan. please, send me 'netstat -rn'=20 > All of this works under Linux but not under FreeBSD >=20 > I hope this clarifies what I am trying to do =20 --=20 Vladimir B. Grebenschikov vova@sw.ru, SWsoft, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message