Skip site navigation (1)Skip section navigation (2)
Date:      06 Jun 2002 18:30:04 +0400
From:      "Vladimir B. " Grebenschikov <vova@sw.ru>
To:        Christophe Prevotaux <c.prevotaux@hexanet.fr>
Cc:        "net@freebsd.org" <net@freebsd.org>
Subject:   Re: [HELP] IPless VLAN interfaces
Message-ID:  <1023373804.470.20.camel@vbook.express.ru>
In-Reply-To: <20020606125126.3d44145c.c.prevotaux@hexanet.fr>
References:  <20020606125126.3d44145c.c.prevotaux@hexanet.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Thu, 06.06.2002, =D0=B2 14:51, Christophe Prevotaux =D0=BD=D0=B0=D0=
=BF=D0=B8=D1=81=D0=B0=D0=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=20
> 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


first try to specify source address to ping

# ping -S 1.1.1.1 dest

where 1.1.1.1 - address on fxp0

and you can set on your vlanX interfaces same addreses ad on your fxp0
with netmask 255.255.255.255

# 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
> --
> =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
> 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.

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?1023373804.470.20.camel>