summaryrefslogtreecommitdiffstats
path: root/docs/examples/macvlan-static
blob: 4fa1493e9d38b2773c4a2c5ad52fc36ed1525f8e (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
# MACVLAN 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"