From 0b4246c76c37d45666f1a5b739bb3d1e1a371ea8 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Tue, 3 Dec 2013 12:04:58 -0600 Subject: Add macvlan connection support --- docs/examples/macvlan-dhcp | 10 ++++++++++ docs/examples/macvlan-static | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 docs/examples/macvlan-dhcp create mode 100644 docs/examples/macvlan-static (limited to 'docs/examples') 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 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" -- cgit v1.2.3-24-g4f1b