summaryrefslogtreecommitdiffstats
path: root/docs/examples/macvlan-dhcp
blob: 8bb7691963e9b1cc04c86f3b0d41759838f8488e (plain)
1
2
3
4
5
6
7
8
9
10
Description='Virtual LAN with a static MAC on interface eth0 using DHCP'
Interface=mac0
Connection=macvlan
# The variable name is plural, but needs precisely one interface
BindsToInterfaces=eth0
# MACVLAN Mode
Mode="bridge"
# Optional static MAC Address for MACVLAN interface
MACAddress="12:34:56:78:9a:bc"
IP=dhcp