summaryrefslogtreecommitdiffstats
path: root/docs/examples/macvlan-static
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/macvlan-static')
-rw-r--r--docs/examples/macvlan-static16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/examples/macvlan-static b/docs/examples/macvlan-static
new file mode 100644
index 0000000..9fa1e59
--- /dev/null
+++ b/docs/examples/macvlan-static
@@ -0,0 +1,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"