Netplan ID's with weird MAC Address in Windows DHCP Server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
I installed an Ubuntu Server 17.10 to an ESXi 6.5 host with the VMXNET3 adapter.
I'm running our DHCP on a Windows Server 2012.
When the VM connects to the DHCP the DHCP server get a very weird MAC address from the server, like this,
9f6e85240002000
But the MAC address on the VM in vCenter looks all normal.
I have also tried with another adapter, E1000E but still the same weirdness.
netplan config file.
/etc/netplan/
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
ens160:
dhcp4: yes
dhcp6: no
When I disabled netplan through /etc/default/grub with the following line,
GRUB_CMDLINE_
and also renamed the /etc/netplan/
and configured the old interfaces file,
/etc/network/
# /etc/network/
# Generated by debian-installer.
# The loopback interface
auto lo
iface lo inet loopback
auto ens160
iface ens160 inet dhcp
and untagged the following line in /etc/default/
CONFIGURE_
it works as it should, the DHCP server get's the right MAC address and I can use my reservation.
I believe you are seeing a DHCP Client Identifier instead MAC address; netplan's
networkd backend defaults to using this as the client ID instead of MAC.
I think you want to switch to using MAC as the DHCP client id:
[DHCP] r=mac
ClientIdentifie
https:/ /askubuntu. com/questions/ 987673/ how-to- get-netplan- on-17-10- server- to-work- with-a- windows- server- dhcp-server