Saturday, April 01, 2023

Unable to receive dhcplease from ISP

Hi all,

I ran into this issue today when I decided to do some maintenance on my home network.  My laptop runs OpenBSD 7.2.  I attempted to get a dhcplease from Spectrum Internet with a direct connection to my em0 ethernet interface.  I got no response.  I'm having the same problem with another computer that I wanted to use as my firewall (also running OpenBSD, same ver).

There is no dhcpleased.conf on my laptop, as I didn't see how any defaults needed to change.  I also haven't had any recent issues getting a lease on it in other situations (yet).

Cabling is good.  A different (non-OpenBSD) firewall normally sits on this interface, and after I put it back, everything was working as normal.  I'm happy to provide any additional information as requested.

I tried this several times, cleared and shutdown the iwm0 interface, cleared the em0 interface, etc, this is output from the last time.

:~> more /etc/hostname.em0
inet autoconf
/etc/hostname.em0 (END)

Output from dhcpleased -d -vvv with em0 enabled for 15-20 minutes:
state_transition[iwm0] Bound -> Down, timo: 43119
state_transition[em0] Init -> Down, timo: -1
state_transition[em0] Down -> Down, timo: -1
state_transition[em0] Down -> Rebooting, timo: 1
DHCPREQUEST on em0
iface_timeout[2]: Rebooting
state_transition[em0] Rebooting -> Rebooting, timo: 2
DHCPREQUEST on em0
iface_timeout[2]: Rebooting
deleting 192.168.88.253 from em0 (lease from 0.0.0.0)
state_transition[em0] Rebooting -> Init, timo: 1
DHCPDISCOVER on em0
deconfigure_interface em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 2
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 4
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 8
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 16
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 32
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 64
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 64
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 64
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 64
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 64
DHCPDISCOVER on em0
iface_timeout[2]: Init
state_transition[em0] Init -> Init, timo: 64
DHCPDISCOVER on em0
^Cwaiting for children to terminate
frontend exiting
engine exiting
terminating
:~>


--
Bill Albertson

No comments:

Post a Comment