summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorThomas S Hatch <thatch45@gmail.com>2011-02-05 19:20:26 +0100
committerThomas Bächler <thomas@archlinux.org>2011-02-05 19:34:35 +0100
commita9d39a075bed12243e6571f475ddf1c2ee0b078b (patch)
treede132c8ddde89740067341c7aaf2dba821f13ad5 /examples
parent1c947900003ba1daf20ff3ccbf77fc945c98f836 (diff)
downloadnetctl-a9d39a075bed12243e6571f475ddf1c2ee0b078b.tar.gz
netctl-a9d39a075bed12243e6571f475ddf1c2ee0b078b.tar.xz
Add vlan support to netcfg
Diffstat (limited to 'examples')
-rw-r--r--examples/vlan-dhcp5
-rw-r--r--examples/vlan-static12
2 files changed, 17 insertions, 0 deletions
diff --git a/examples/vlan-dhcp b/examples/vlan-dhcp
new file mode 100644
index 0000000..8c6ad23
--- /dev/null
+++ b/examples/vlan-dhcp
@@ -0,0 +1,5 @@
+INTERFACE="eth0.55"
+VLAN_PHYS_DEV="eth0"
+VLAN_ID="55"
+CONNECTION="vlan"
+IP="dhcp"
diff --git a/examples/vlan-static b/examples/vlan-static
new file mode 100644
index 0000000..b7b9753
--- /dev/null
+++ b/examples/vlan-static
@@ -0,0 +1,12 @@
+INTERFACE="eth0.11"
+VLAN_PHYS_DEV="eth0"
+VLAN_ID="11"
+CONNECTION="vlan"
+IP="static"
+ADDR="192.168.0.100"
+NETMASK="255.255.255.0"
+GATEWAY="192.168.0.1"
+DNS=("192.168.0.2")
+HOSTNAME="myhost"
+DOMAIN="mydomain.com"
+SEARCH="mydomain.com"