Date: Wed, 23 May 2001 19:34:27 +0200 From: "paffio" <ocnlba@tin.it> To: <freebsd-questions@FreeBSD.org> Subject: problems with a gateway Message-ID: <000c01c0e3ae$b9cd0650$65010b3e@nuovo>
next in thread | raw e-mail | index | archive | help
Hi, I hope you can help me!!
I've a lan with some hosts.
I want that all the packets going from the host A to the host B don't go
directly to it but through the host G.
I did it, but I've a problem with my configuration, it works only a time.
I did this (A,B,G are the IP addresses):
host A :
route add B G
host B :
gateway_enable="YES" (/etc/rc.conf)
Now, if I execute "traceroute B" on the host A, it works, that's the
resulting route is A-G-B.
On the contrary the second time it is: A-B.
I executed also "netstat -r", the first time there is the right entry
destination gateway ......
B G ......
the second time it is so splitted:
destination gateway ......
B B_ethernet_address ......
G G_ethernet_address ...
Can I avoid this splitting ?
I'd like to have forever the first entry, is it possible ?
hi
paffio
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c0e3ae$b9cd0650$65010b3e>
