summaryrefslogtreecommitdiffstats
path: root/examples/ethernet-iproute
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ethernet-iproute')
-rwxr-xr-xexamples/ethernet-iproute7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/ethernet-iproute b/examples/ethernet-iproute
new file mode 100755
index 0000000..6ac20e1
--- /dev/null
+++ b/examples/ethernet-iproute
@@ -0,0 +1,7 @@
+CONNECTION="ethernet-iproute"
+DESCRIPTION="A more versatile static ethernet connection using 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")