From owner-freebsd-questions@FreeBSD.ORG Sat Nov 19 03:07:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31F3B106566B for ; Sat, 19 Nov 2011 03:07:09 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E4FD18FC0A for ; Sat, 19 Nov 2011 03:07:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pAJ378s2008601; Fri, 18 Nov 2011 20:07:08 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pAJ377J3008598; Fri, 18 Nov 2011 20:07:07 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 18 Nov 2011 20:07:07 -0700 (MST) From: Warren Block To: Xihong Yin In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 18 Nov 2011 20:07:08 -0700 (MST) Cc: FreeBSD Subject: Re: network problem on 8.2 stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2011 03:07:09 -0000 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 metric 0 mtu 1500 > options=219b > ether 00:26:b9:9d:30:dc > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: Ethernet autoselect (100baseTX ) > 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?