- Nov 4, 2004
- 39,471
- 20,154
- 146
I have laptop w/ a USB NIC that I'm struggling a bit with configuration on. I won't go into the gory long-winded details, but here's my basic problem
*this doesn't happen with the onboard NIC. Both NIC's were present during install, and configured at install. The USB NIC did NOT have it's cable attached tho.
- Netplan config assigns a static IP to this interface. Somehow, it's picking up a DHCP address as well
- Both IP's on the interface ping
- If I run the cmd "sudo netplan apply", the dhcp assigned address disappears...but the interface stops working on either IP
"ip a" for the interface before netplan apply
After netplan apply
This problem has persisted across two different laptops and reloads. I'm not sure where the dhcp configuration is coming from. I've dug through netplan configurations in /etc /run and /lib directories. I'm even trying to figure out how to disable dhclient altogether.
I also posted a thread at ubuntu forums, but no replies yet.
*this doesn't happen with the onboard NIC. Both NIC's were present during install, and configured at install. The USB NIC did NOT have it's cable attached tho.
- Netplan config assigns a static IP to this interface. Somehow, it's picking up a DHCP address as well
- Both IP's on the interface ping
- If I run the cmd "sudo netplan apply", the dhcp assigned address disappears...but the interface stops working on either IP
"ip a" for the interface before netplan apply
Code:
3: enx001060315e39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:10:60:31:5e:39 brd ff:ff:ff:ff:ff:ff
inet 10.0.86.32/24 brd 10.0.86.255 scope global enx001060315e39
valid_lft forever preferred_lft forever
inet 10.0.86.11/24 brd 10.0.86.255 scope global secondary enx001060315e39
valid_lft forever preferred_lft forever
inet6 fe80::264b:d430:1bc5:a7b8/64 scope link
valid_lft forever preferred_lft forever
After netplan apply
Code:
3: enx001060315e39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:10:60:31:5e:39 brd ff:ff:ff:ff:ff:ff
inet 10.0.86.32/24 brd 10.0.86.255 scope global enx001060315e39
valid_lft forever preferred_lft forever
inet6 fe80::264b:d430:1bc5:a7b8/64 scope link
valid_lft forever preferred_lft forever
This problem has persisted across two different laptops and reloads. I'm not sure where the dhcp configuration is coming from. I've dug through netplan configurations in /etc /run and /lib directories. I'm even trying to figure out how to disable dhclient altogether.
I also posted a thread at ubuntu forums, but no replies yet.
Last edited: