[17:42] <eivnaes> Hello anyone here?
[18:36] <eivnaes> I am looking for a way to create a network configuration using netplan where eth0 is brought up and the requests N unique IP addresses via DHCP. Is there a way I can do this, e.g. by configuring interface aliasing, or specifying multiple dhcp configurations with different uuids for identifiers?
[18:41] <schopin> eivnaes: I think you'll need macvlan aliases for this as the DHCP server usually matches the lease with a MAC. I don't think those are supported in netplan.
[18:49] <eivnaes> neither is interface aliasing, any idea if network-manager supports this, or would it matter? netplan is a layer on top of networkd or network-manager if I understand this correctly?
[18:49] <eivnaes> I found interface aliasing as a TODO on the github repo
[18:54] <schopin> eivnaes: https://bugs.launchpad.net/netplan/+bug/1664847 lists several workarounds for the lack of macvlans. I'd probably go with using a systemd unit to create the macvlan interfaces and use a match: block in the netplan config to enable dhcp on all of them.
[18:58] <eivnaes> Thanks shopin, I'll take a look