On Wed, Jan 29, 2025 at 09:05:18AM +0000, Niels Müller Larsen wrote: > Hi there > I have a Thinkcentre, a Thinkpad laptop and an HP Probook laptop. My > router gives IP addresses in the 192.168.1.xxx segment. > Works fine on the ethernet and the builtin wifi adapters. But when I > add a USB D-Link adapter, the Thinkcentre behaves as expected, it gets > an 192.168.1.xyz address, but if I stick it into the Thinkpad or the > Probook it gets 192.168.101.xyz. > All of them are OpenBSD 7.6 and I have a single join, and inet > autoconf in the hostname.urtwn0 files. > I have searched and not found any explanation. > > Anyone here seen anything like that?
Please check (and/or post) the output of ifconfig on all three machines. Make sure the D-Link is attaching as the interface you think it is (urtwn0), and double-check the /etc/hostname.* files on each machine. Also make sure that the D-Link is connecting to the same network and AP. Are you changing the MAC address of the interface on any of the configurations? Does your router have a static address for this particular interface, or is it handing out addresses from a pool? It's impossible to tell without further information. The output of ifconfig and the contents /etc/hostname.* (remember to redact the wifi secrets) would be helpful. > > Cheers > Niels > > Sent from [Proton Mail](https://proton.me/mail/home) for iOS --