From owner-freebsd-net Fri Jun 7 5: 9:25 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 1A67D37B409 for ; Fri, 7 Jun 2002 05:09:18 -0700 (PDT) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17GIVn-0000Oi-00; Fri, 07 Jun 2002 16:06:35 +0400 Subject: Re: [HELP] IPless VLAN interfaces From: "Vladimir B. " Grebenschikov To: Christophe Prevotaux Cc: Iasen Kostov , "net@freebsd.org" In-Reply-To: <20020607133643.066fcda6.c.prevotaux@hexanet.fr> References: <20020606125126.3d44145c.c.prevotaux@hexanet.fr> <1023373804.470.20.camel@vbook.express.ru> <20020607133643.066fcda6.c.prevotaux@hexanet.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.5 Date: 07 Jun 2002 16:06:35 +0400 Message-Id: <1023451595.531.20.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 =D0=92 Fri, 07.06.2002, =D0=B2 15:36, Christophe Prevotaux =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BB: > All this is very interesting however I don't think this answers my > question does it ? I am a bit not understand for what you have use such strange setup. And you have not provide enough information, to help you=20 I need as minimum=20 your network topology (how connected and switche(s), what port in trunc(802.1q) mode, what in not trunc) tcpdump -e on your trunc interface (fxp0) and tcpdump's on your client hosts while ping one and another direction > On 06 Jun 2002 18:30:04 +0400 > "Vladimir B. " Grebenschikov wrote: >=20 > > =C3=90_ Thu, 06.06.2002, =C3=90=C2=B2 14:51, Christophe Prevotaux =C3= =90=C2=BD=C3=90=C2=B0=C3=90=C2=BF=C3=90=C2=B8=C3=91_=C3=90=C2=B0=C3=90=C2= =BB: > > > Hello > > >=20 > > > I have a small problem I can't seem to be able to solve on > > > FreeBSD 4-STABLE. > > >=20 > > > I want to setup : > > >=20 > > > - an interface fxp0 with an IP address with a /24 netmask=20 > > > - on this interface fxp0 I set up vlan0 vlan1 vlan2=20 > > > - each vlan does not have an IP=20 > > > - I setup a route with the -iface option that point to each vlan > > > repesctively > > >=20 > > > on the other side > > >=20 > > > I setup : > > > machines behind each VLAN port=20 > > > each machine has an IP with a /24 netmask > > >=20 > > >=20 > > >=20 > > > the setup works (ie: freebsd does not complain)=20 > > > however pinging a machine does not work so does any other type of > > > traffic this does not work under FreeBSD , however when I do the > > > same thing with Linux it does work. I believe there must be a way to > > > do this under FreeBSD but I can't figure it out.=20 > > >=20 > > > Could someone help me or tell me what I did wrong ?=20 > >=20 > >=20 > > first try to specify source address to ping > >=20 > > # ping -S 1.1.1.1 dest > >=20 > > where 1.1.1.1 - address on fxp0 > >=20 > > and you can set on your vlanX interfaces same addreses ad on your fxp0 > > with netmask 255.255.255.255 > >=20 > > # ifconfig fxp0 1.1.1.1/24 > > # ifconfig vlan0 1.1.1.1 > > # ifconfig vlan1 1.1.1.1 > > # ifconfig vlan2 1.1.1.1 > >=20 > >=20 > > >=20 > > > -- > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > Christophe Prevotaux Email: c.prevotaux@hexanet.fr > > > HEXANET SARL URL: http://www.hexanet.fr/ > > > Z.A.C Les Charmilles Tel: +33 (0)3 26 79 30 05=20 > > > 3 All=C3=83=C2=A9e Thierry Sabine Direct: +33 (0)3 26 61 77 72=20 > > > BP202 Fax: +33 (0)3 26 79 30 06 > > > 51686 Reims Cedex 2 =20 > > > FRANCE HEXANET Network Operation Center =20 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > >=20 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-net" in the body of the message > > >=20 > > --=20 > > Vladimir B. Grebenschikov > > vova@sw.ru, SWsoft, Inc. > >=20 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-net" in the body of the message > >=20 >=20 >=20 > -- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Christophe Prevotaux Email: c.prevotaux@hexanet.fr > HEXANET SARL URL: http://www.hexanet.fr/ > Z.A.C Les Charmilles Tel: +33 (0)3 26 79 30 05=20 > 3 All=C3=A9e Thierry Sabine Direct: +33 (0)3 26 61 77 72=20 > BP202 Fax: +33 (0)3 26 79 30 06 > 51686 Reims Cedex 2 =20 > FRANCE HEXANET Network Operation Center =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=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