В Thu, 06.06.2002, в 14:51, Christophe Prevotaux написал: > Hello > > I have a small problem I can't seem to be able to solve on > FreeBSD 4-STABLE. > > I want to setup : > > - an interface fxp0 with an IP address with a /24 netmask > - on this interface fxp0 I set up vlan0 vlan1 vlan2 > - each vlan does not have an IP > - I setup a route with the -iface option that point to each vlan > repesctively > > on the other side > > I setup : > machines behind each VLAN port > each machine has an IP with a /24 netmask > > > > the setup works (ie: freebsd does not complain) > 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. > > Could someone help me or tell me what I did wrong ?
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 > > -- > =============================================================== > Christophe Prevotaux Email: [EMAIL PROTECTED] > HEXANET SARL URL: http://www.hexanet.fr/ > Z.A.C Les Charmilles Tel: +33 (0)3 26 79 30 05 > 3 Allée Thierry Sabine Direct: +33 (0)3 26 61 77 72 > BP202 Fax: +33 (0)3 26 79 30 06 > 51686 Reims Cedex 2 > FRANCE HEXANET Network Operation Center > =============================================================== > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-net" in the body of the message > -- Vladimir B. Grebenschikov [EMAIL PROTECTED], SWsoft, Inc. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message