Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 20:07:07 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Xihong Yin <xyin@gmx.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: network problem on 8.2 stable
Message-ID:  <alpine.BSF.2.00.1111181955140.8561@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1111182116200.2542@ybpnyubfg>
References:  <alpine.BSF.2.00.1111172038390.50183@whcvgre.zlubzr.jrfgryy.pbz> <alpine.BSF.2.00.1111172112310.66706@wonkity.com> <alpine.BSF.2.00.1111182116200.2542@ybpnyubfg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Nov 2011, Xihong Yin wrote:

> I set the adapter up.
>
> Here is the output of 'dhclient em0'
>
> DHCPREQUEST on em0 to 255.255.255.255 port 67
> DHCPACK from 192.168.3.1
> bound to 192.168.3.41 -- renewal in 1800 seconds.
>
> 'ifconfig em0' output is
>
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>        options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
>        ether 00:26:b9:9d:30:dc
>        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
>        media: Ethernet autoselect (100baseTX <full-duplex>)
>        status: active
>
> 'netstat -r' show there is no default route
>
> Routing tables
>
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif Expire
> 0.0.0.0            link#1             U           0        0    em0
> localhost          link#14            UH          0       28    lo0
>
> But I can set the adapter manually by
>
> $ifconfig em0 inet 192.168.3.41/24
>
> and it works.
>
> The question is why dhclient can't get the ip address even a lease is 
> obtained.

New to me.  Does the machine have any unusual settings, like a 
non-default securelevel?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1111181955140.8561>