route
Chuck Swiger
cswiger at mac.com
Sat Apr 5 16:36:59 PST 2003
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
More information about the freebsd-questions
mailing list