Internet connection sharing

Steven N. Fettig freebsd at stevenfettig.com
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

ifconfig_interface="DHCP"

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:

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

HtH,
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
>server.
>
>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.
>
>Thanks
>
>
>Lance Earl
>DallyPost, Inc.
>208-548-2721
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>  
>



More information about the freebsd-questions mailing list