Answer the question
In order to leave comments, you need to log in
How to configure on linux the ability to receive multiple IPs from a DHCP server on one network interface?
DHCP server issues external IP addresses with Internet access (IPoE). The task, having one physical network interface, is to emulate several interfaces, each of which will have its own MAC address and will be able to accept the proposed IP from DHCP.
Answer the question
In order to leave comments, you need to log in
Create a new interface with name [email protected]
and MAC address 51:41:4a:6c:47:ab
:
/sbin/ip li add link eth0 mac1 address 51:41:4a:6c:47:ab type macvlan
you can try this: (you need a switch)
auto vlan2
iface vlan2 inet dhcp
vlan_raw_device eth0
auto vlan3
iface vlan3 inet dhcp
vlan_raw_device eth0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question