Why am I not getting network connectivity on boot?
Christian Campbell
dcamp at alumni.ufl.edu
Fri Dec 14 19:08:25 UTC 2012
I'm not sure I've ever built a FreeBSD box that got network connectivity
without my having to coax it. Below is a (verbose) session showing how I
get connectivity:
*# uname -a*
> FreeBSD freebsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25
> UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> i386
> *# ifconfig de0*
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:03:ff:d4:0f:51
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> media: Ethernet autoselect (100baseTX)
> status: active
> *# ping freebsd.org*
> ping: cannot resolve freebsd.org: Host name lookup failure
> *# dhclient de0*
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 3
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 7
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 9
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 11
> DHCPDISCOVER on de0 to 255.255.255.255 port 67 interval 4
> No DHCPOFFERS received.
> Trying recorded lease 192.168.1.68
> bound: renewal in 35849 seconds.
> *# ping freebsd.org*
> ping: cannot resolve freebsd.org: Host name lookup failure
> *# ifconfig de0 down
> # ifconfig de0 up
> # ping freebsd.org*
> ping: cannot resolve freebsd.org: Host name lookup failure
> *# dhclient de0*
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPREQUEST on de0 to 255.255.255.255 port 67
> DHCPACK from 192.168.1.1
> bound to 192.168.1.68 -- renewal in 43200 seconds.
> *# ping freebsd.org*
> PING freebsd.org (8.8.178.135): 56 data bytes
> ...
I presume most folks don't su root, down/up the interface, and run
dhclientmanually every time they boot their box. What might be my
problem/solution?
Thank you!
Christian
_____________________________________________________
3425 SW 2nd Ave, #239 cell (352) 514-7411
Gainesville, FL 32607-2813 dcamp at alumni.ufl.edu
On this perfect day / Nothing's standing in my way... -Hoku
More information about the freebsd-questions
mailing list