summaryrefslogtreecommitdiffstats
path: root/docs/examples/macvlan-static
blob: 9fa1e59e6ef7915a491f218bf0002568caf40f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description='Virtual LAN with random MAC address on interface eth0'
Interface=mac0
Connection=macvlan
# The variable name is plural, but needs precisely one interface
BindsToInterfaces=eth0
# MACVAN Mode
Mode="bridge"
# Optional static MAC Address for MACVLAN interface
MACAddress=""
IP=static
Address="192.168.0.100/24"
Gateway="192.168.0.1"
DNS=("192.168.0.2")
Hostname="myhost"
DNSDomain="mydomain.com"
DNSSearch="mydomain.com"