Assigning static ip address

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Feb 12 14:08:09 PST 2009


>
>   ifconfig_em0="inet 1.2.3.4"
>
> but then I loose all the other dhcp parameters like dns and stuff. Is it 
> really that hard???

echo nameserver yourdns >/etc/resolv.conf

and turn off dhclient of course


More information about the freebsd-questions mailing list