summaryrefslogtreecommitdiffstats
path: root/examples/ethernet-iproute.example
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ethernet-iproute.example')
-rwxr-xr-xexamples/ethernet-iproute.example6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/ethernet-iproute.example b/examples/ethernet-iproute.example
new file mode 100755
index 0000000..a368707
--- /dev/null
+++ b/examples/ethernet-iproute.example
@@ -0,0 +1,6 @@
+CONNECTION="ethernet-iproute"
+INTERFACE="eth0"
+IP="static"
+# Any valid iproute command can be placed in this array
+IPCFG=("addr add dev eth0 192.168.1.23/24 brd +" "route add default via 192.168.1.1")
+DNS=("192.168.1.1")