(Yet Another) Home Networking Question
mike at pcmedx.com
Fri Dec 12 19:42:16 PST 2003
> (1) in /etc/rc.conf, I added the following
> natd_interface="rl0" ### public interface connected to cable modem
> defaultrouter="192.168.0.1" ### LAN machines use this
> ifconfig_rl0="DHCP" ### Astound uses dhcp
> ifconfig_rl1="inet 192.168.0.1 netmask 255.255.255.0" ### use for LAN
As a first step, try adding these lines to rc.conf:
This will enable diversion of all traffic to natd. Read the man pages for
natd and ipfw and
for more information.
The easiest way to reinitialize the system is to type "shutdown now". This
will drop you into single user mode. Press return when prompted for a shell.
Hit Ctrl+D and the rc system will be run through and put you back into
multi-user mode. Check for connectivity from the router and the Windows box.
As a side note, you can delete the defaultrouter entry. That's for your
FreeBSD box, not LAN clients. It's getting reset by dhclient when it gets
lease information from your ISP's DHCP server anyway.
More information about the freebsd-questions