summaryrefslogtreecommitdiff
path: root/conf.d.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-30 11:39:19 +0000
committerRoy Marples <roy@marples.name>2007-10-30 11:39:19 +0000
commit6ffd3b5289a07a8995832da9f5bdfefa265b1e5d (patch)
tree942cb8b9f313239d489e605414fa442fa5d45aca /conf.d.Linux
parent1152e2677c1827744d633da02976cc78cf918da8 (diff)
downloadopenrc-6ffd3b5289a07a8995832da9f5bdfefa265b1e5d.tar.gz
openrc-6ffd3b5289a07a8995832da9f5bdfefa265b1e5d.tar.bz2
openrc-6ffd3b5289a07a8995832da9f5bdfefa265b1e5d.tar.xz
You can now spoof the source address for arping as the third parameter in gateways_eth0 if you have arping2 installed, #180888.
Diffstat (limited to 'conf.d.Linux')
-rw-r--r--conf.d.Linux/net.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf.d.Linux/net.example b/conf.d.Linux/net.example
index ed69d13..c2d4b37 100644
--- a/conf.d.Linux/net.example
+++ b/conf.d.Linux/net.example
@@ -528,6 +528,13 @@
#routes_010000000001_334455DDEEFF="default via 10.0.0.1"
#dns_servers_010000000001_334455DDEEFF="10.0.0.1"
+# If you need to spoof the source address, you can add that as third parameter
+# like so
+#gateways_eth0="192.168.0.1,00:11:22:AA:BB:CC,192.168.0.50"
+#or
+#gateways_eth0="192.168.0.1,,192.168.0.50"
+# This requires arping to be installed though
+
# If we don't find any gateways (or there are none configured) then we try and
# use APIPA to find a free address in the range 169.254.0.0-169.254.255.255
# by arping a random address in that range on the interface. If no reply is