Setting up routes correctly for FBSD box to access WAN
Hello, I am currently trying to use a network bridge via my Mac for my FreeBSD machine and Windows machine to access the outside world because I have not purchased a wireless PCI card for my FreeBSD box and the only means to connect is via wireless. So my network topology looks like this: | FBSD | - | Mac | - | Outside world | What I want to do is setup the routes correctly such that all packets are forwarded from the Mac to the FreeBSD machine, and vice versa. I got this working last night but I fubared my routing tables and had to restart my machine, such that I thought I failed. So my question is, how do I properly set the value for gateway for the FBSD machine or use the route command to create a static route for all IP values not 192.168.1.0/20? Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting up routes correctly for FBSD box to access WAN
On Sun, Sep 18, 2005 at 11:24:36AM -0700, Garrett Cooper wrote: So my question is, how do I properly set the value for gateway for the FBSD machine or use the route command to create a static route for all IP values not 192.168.1.0/20? You need set the default router in /etc/rc.conf : defaultrouter=NO # Set to default gateway (or NO). See rc.conf(5) -- Kelly D. Grills [EMAIL PROTECTED] pgpIadPkkeq3j.pgp Description: PGP signature
Re: Setting up routes correctly for FBSD box to access WAN
On Sep 18, 2005, at 3:14 PM, Kelly D. Grills wrote: On Sun, Sep 18, 2005 at 11:24:36AM -0700, Garrett Cooper wrote: So my question is, how do I properly set the value for gateway for the FBSD machine or use the route command to create a static route for all IP values not 192.168.1.0/20? You need set the default router in /etc/rc.conf : defaultrouter=NO # Set to default gateway (or NO). See rc.conf(5) -- Kelly D. Grills [EMAIL PROTECTED] Excellent, that's just what I needed. Thanks! -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]