how to config FBSD pc to work on non-dhcp lan

Charles Swiger cswiger at mac.com
Tue Jan 20 12:37:14 PST 2004


On Jan 20, 2004, at 3:27 PM, fbsd_user wrote:
> [ ... ]
> FBSD Lan PC can not ping Public Internet ip address or resolve
> domain names.  Ping to public internet ip address get msg
> sendto no route to host
[ ... ]
> rc.conf
> clear_tmp_enable="YES"
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_flags="-m 2=3"
>
> allscreens_flags="-m on -c blink -h 200"
> saver="warp"
> hostname="gateway.fbsdjones.com"
> ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248"

/etc/rc.conf should have a statement like:

defaultrouter="10.0.10.2"

...or try adding a default route by hand, "route add default 10.0.10.2".

-- 
-Chuck



More information about the freebsd-questions mailing list