DHCP routing

At tea hours yesterday I experience an error that pkg says no route to host, then I’ve changed different routing addresses, every off them are failed.
My /etc/rc.conf
ue0 is my USB ethernet :)
Code:
ifconfig_ue0=DHCP
defaultreoute=""
gateway_enable=NO
My /etc/resolv.conf
Code:
nameserver 8.8.8.8
My /etc/hosts
Code:
8.8.8.8   trident-hbsd   trident-hbsd.hd.scania
 
Remove defaultrouter completely if you use DHCP. You're now setting it explicitly to "". You can remove gateway_enable="NO" too, it's the default.

And don't set /etc/resolv.conf by hand, it's going to be overwritten by DHCP.
 
Back
Top