Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 14:38:49 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        "net@freebsd.org" <net@freebsd.org>
Subject:   Re: questions about (system) dhclient
Message-ID:  <CAOtMX2jXPiUmBvC3GHfF3G05uBGELQ8_fvUOLCL483juEy_Vqg@mail.gmail.com>
In-Reply-To: <5339D0A0.1030903@rcn.com>
References:  <5339D0A0.1030903@rcn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 31, 2014 at 2:31 PM, Robert Huff <roberthuff@rcn.com> wrote:
>         [Please keep me CC'd as I am not subscribed.  Thanks.]
>
>         I have a system, running r263263, where dhclient is misbehaving.
> (Yes - this is CURRENT, but I have no reason to believe this inherently a
> version-specific issue.  I am also on current@, and nothing like this has
> been reported.)
>         The system has an Intel Pro/1000 ethernet card, "em0", connected to
> a Arris CM820 cable modem.
>         This is the relevant portion of dhclient.conf:
>
> http://users.rcn.com/dhclient.conf

File not found

>
>         Upon execution, I get this:
>
> http://users.rcn.com/roberthuff/dhcp_offer

You're getting on offer on a completely different network than that
where the dhcp server resides.  That's weird.  Do you expect that to
happen?

>
>         but then:
>
> http://users.rcn.com/roberthuff/dhc_ifconfig
>
>         "netstat -r" also shows no gateway.
>
>         However, when I look at dhclient.leases:
>
> http://users.rcn.com/roberthuff/dhclient.leases.em0

This file is empty.  Is it supposed to be?

>
>         I get the machine working by configuring the relevant data manually.
>
>         I have no idea where to start trying to figure this out; this have
> "just worked" for so long.
>         Help please?

Try running "service netif stop em0" to stop the background dhclient
process.  Then run "dhclient -d" to force it to remain in the
foreground, and see if it prints any useful debugging info.  It might
also be useful to run "tcpdump -i em0 host
10.23.192.1" in another terminal.


>
>         Respectfully,
>
>                                 Robert Huff
>

-Alan



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