Hello,
I need multiple IP-addresses. They have to be fetched from a router using dhcp.
I tried to accomplish this using the RockPiS board running armbian legacy / latest and debian buster.
If i create a single new interface with eg:
ip link add name veth0 address 06:4e:a6:27:01:17 link eth0 type macvlan
and run a dhclient after this no address will be assigned
Creating two interfaces with
ip link add name veth0 address 06:4e:a6:27:01:17 link eth0 type macvlan
ip link add name veth1 address 06:4e:a6:27:01:18 link eth0 type macvlan
and running an dhclient after this will bind a new IP on both interfaces.
The same happens using dhcpcd instead if isc-dhclient.
If i run a tcpdump (to switch the interface in promiscouse mode) it works on a single veth0 too.
Running tcpdump -p (to prevent promiscouse mode) will end like the first try – no ip assigned.
Could this be a driver issue? Sure the “solution” is create more the on veth but im still interressted in the cause of this.
/greetings rockytux