Date: Sat, 05 Apr 2003 19:36:55 -0500 From: Chuck Swiger <cswiger@mac.com> To: freebsd-questions@freebsd.org Cc: "Angus Rodinson \(Angooooooooooooooooose\)" <angus@thisbe.carlisle.za.net> Subject: Re: route Message-ID: <3E8F76A7.9050005@mac.com> In-Reply-To: <20030406010650.GA4925@thisbe.carlisle.za.net> References: <20030406010650.GA4925@thisbe.carlisle.za.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Angus Rodinson (Angooooooooooooooooose) wrote: [ ... ] > 192.168.0.10 = dial up and router with natd > 192.16.0.2 = client side with FreeBS > i have an idea that is something like route add 192.168.0.2 192.168.0.10 I think you're asking how to set up a route by hand, so try: ifconfig _if_ inet 192.168.0.2 netmask 255.255.255.0 up route add default 192.168.0.10 ...where "_if_" is your ethernet interface (perhaps fxp0, dc0, etc). If the dialup machine/NAT router is fully configured, you probably could be able to simply do a "dhclient" and get a lease. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8F76A7.9050005>