Decided to play with FreeBSD out of VirtualBox, making it my primary system. So I got some network specific problems just after a fresh install.
First symptom: I got a 30 s long delay on system initialization with such message "waiting 30s for the default route interface ......." which obviously means that it could not detect startup of my default router interface for some reason.
Second symptom: domains do not resolve, pings return "sendto: no route to host". Thus, I googled this thread.
So, maybe I got the same problem? To check, I did comment
string, then used
Output:
It says everything is fine, but: neither
I was about to think this is some kind of driver problem, but
I also tried to push
First symptom: I got a 30 s long delay on system initialization with such message "waiting 30s for the default route interface ......." which obviously means that it could not detect startup of my default router interface for some reason.
Second symptom: domains do not resolve, pings return "sendto: no route to host". Thus, I googled this thread.
So, maybe I got the same problem? To check, I did comment
Code:
ifconfig_msk0="DHCP"
ifconfig msk0 up && dhclient msk0
.Output:
Code:
DHCPDISCOVER on msk0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 109.*
DHCPREQUEST on msk0 to 255.255.255.255 port 67
DHCPACK from 109.*
bound to 172.* -- renewal in 450 seconds
It says everything is fine, but: neither
ping ya.ru
nor ping 213.180.193.3
worked.I was about to think this is some kind of driver problem, but
ping 109.*
and ping 172.*
actually do work, and DHCP offered me something and acknowledged something.I also tried to push
defaultroute="109.*"
in rc.conf and reboot
then - same result.