On 02/10/18 15:43, Christer Solskogen wrote:
On Sat, Feb 10, 2018 at 8:44 PM, Mihai Popescu <[email protected]> wrote:
Upgraded to latest current snapshot, and it looks like dhclient doesn't
renew the ip anymore. I'm > running it in debug mode now, to see if there
is anything in the log.
Thank you for letting people know.
It will take forever if it is not correctly setup.
http://www.openbsd.org/faq/faq1.html#MailLists
http://www.openbsd.org/faq/faq1.html#Bugs
http://www.openbsd.org/report.html
em2: DHCPREQUEST to 255.255.255.255
em2: DHCPACK from 51.174.112.1 (00:02:00:01:00:01)
em2: invalid host name in host-name
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
em2: bound to 51.174.196.170 from 51.174.112.1 (00:02:00:01:00:01)
em2: DHCPREQUEST to 51.174.112.1
em2: DHCPNAK from 51.174.112.1 (00:02:00:01:00:01)
em2: DHCPDISCOVER - interval 1
em2: DHCPDISCOVER - interval 1
em2: DHCPOFFER from 51.174.112.1 (00:02:00:01:00:01)
em2: invalid host name in host-name
em2: DHCPREQUEST to 255.255.255.255
em2: DHCPACK from 51.174.112.1 (00:02:00:01:00:01)
em2: invalid host name in host-name
em2 [priv]: writev(RTM_GET) - no default route
em2 [priv]: writev(RTM_GET) - no default route
em2 [priv]: writev(RTM_GET) - no default route
OpenBSD 6.2-current (GENERIC.MP) #0: Sat Feb 10 00:05:49 MST 2018
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
my dhclient.conf looks like this:
interface "em2"
{
supersede host-name "hugs";
try:
supersede host-name "my.hugs";
supersede domain-name "antarctica.no";
supersede domain-name-servers 192.168.0.1, 192.168.0.4;
}