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