Date: Wed, 19 Jan 2000 10:27:01 +0100 From: Dirk-Willem van Gulik <dirkx@webweaving.org> To: William Woods <freebsd@cybcon.com> Cc: freebsd-questions@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: Re: ppp dialup question + LAN Message-ID: <38858365.24335D52@webweaving.org> References: <XFMail.000119001002.freebsd@cybcon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
William Woods wrote: > > I have a laptop that uses PPP to connect to the net, but also, when connected > to my LAN uses my other FreeBSD box as a gateway. in rc.conf there is > an entry for defaultrouter="192.168.0.2" when I am on the LAN, what would be an > easy to switch from LAN to ppp dialup without editing rc.conf commenting out > the default router and rebooting ? A 'neat' way is to use DHCP when you are on the lan (including letting it set the route, dns and so on) and much the same for PPP. I.e. hardly _any_ network settings in rc.conf besides YP, domainname, hostname and so on. This works for me. Dw 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?38858365.24335D52>