Internet connection sharing

Steven N. Fettig freebsd at
Sun Feb 15 18:58:28 PST 2004

The network settings are usually in the rc.conf file in /etc/.  For 
DHCP, you should have the line


where *interface* is the given nic you are using - in other words, it is 
*not* the word interface.
If you are trying to set a static IP addy and gateway, then your rc.conf 
file should have entries that look like:

ifconfig_interface="inet x.x.x.x  netmask x.x.x.x"

Steve Fettig

Lance Earl wrote:

>I am new to FreeBSD. I am evaluating it as a possible replacement for my
>in house desktops and ultimately a replacement for my redhat Internet
>I installed 4.9 without a hitch and decided to go ahead and install 5.2 in
>order to avoid potential upgrade issues mentioned on the BSD wed site.
>I am having problems with internet connection sharing. The computer is
>seeing my network but is not seeing the Internet through my gateway
>computer. I think that I may have incorrectly entered the gateway IP
>during install. I have checked the FAQ and HandBook for the name and
>location of the file that contains the Gateway IP with no success.
>Can you please help me locate this file so I can confirm my settings.
>Lance Earl
>DallyPost, Inc.
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list