summaryrefslogtreecommitdiffstats
path: root/docs/examples/macvlan-dhcp
blob: 94955e4efe401bc4d595a79c8ee6784c1bebd175 (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="bride"
# Optional static MAC Address for MACVLAN interface
MACAddress="12:34:56:78:9a:bc"
IP=dhcp