Date: Tue, 5 Dec 1995 16:44:59 -0800 (PST) From: Archie Cobbs <archie@tribe.com> To: freebsd-questions@freebsd.org Subject: half routing Message-ID: <199512060044.QAA17690@bubba.tribe.com>
next in thread | raw e-mail | index | archive | help
Hello,
What is the correct way to do half-routing with the FreeBSD "ifconfig"
and "route" commands?
For example, suppose you have a point-to-point link between two networks,
say 192.168.1.0 and 192.168.2.0, and gateways "gw1" and "gw2" on either
end, but you don't have any other IP addresses for which to number the
interfaces on the (inside) ends of the point-to-point link:
192.168.1.0 --*[ gw1 ]*---point-to-point-link---*[ gw2 ]*-- 192.168.2.0
no address here ^ no address here ^
That is, what commands should be issued on "gw1" and "gw2"... the "route"
command with the "interface" option requires the ip address of the interface
through which to route, and in this case it won't have one (it seem like you
ought to be able to just specify the interface name instead (eg, "ppp0")).
Thanks,
-Archie
_______________________________________________________________________________
Archie L. Cobbs, archie@tribe.com * Tribe Computer Works http://www.tribe.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512060044.QAA17690>
