summaryrefslogtreecommitdiffstats
path: root/docs/examples/macvlan-dhcp
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-12-03 19:04:58 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2014-03-01 22:24:37 +0100
commit0b4246c76c37d45666f1a5b739bb3d1e1a371ea8 (patch)
tree9cfe5754d9a27f0a2df27608f3f5d71a1d1d7752 /docs/examples/macvlan-dhcp
parent6d83ce0798af47143a9698847f05b272e3fcb7e0 (diff)
downloadnetctl-0b4246c76c37d45666f1a5b739bb3d1e1a371ea8.tar.gz
netctl-0b4246c76c37d45666f1a5b739bb3d1e1a371ea8.tar.xz
Add macvlan connection support
Diffstat (limited to 'docs/examples/macvlan-dhcp')
-rw-r--r--docs/examples/macvlan-dhcp10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/examples/macvlan-dhcp b/docs/examples/macvlan-dhcp
new file mode 100644
index 0000000..cacbc68
--- /dev/null
+++ b/docs/examples/macvlan-dhcp
@@ -0,0 +1,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