summaryrefslogtreecommitdiffstats
path: root/vde
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-06-02 09:40:33 +0000
committer Eric Hameleers <alien@slackware.com>2008-06-02 09:40:33 +0000
commit7c704fed4a8287d955fd2e838309266a3352994a (patch)
tree4d8ab89054cd1f5c1551ab090f831f7ec5e28eaa /vde
parent2e070e01802690ef4538522e346354713e9e6c9b (diff)
downloadasb-7c704fed4a8287d955fd2e838309266a3352994a.tar.gz
asb-7c704fed4a8287d955fd2e838309266a3352994a.tar.xz
Small updates
Diffstat (limited to 'vde')
-rwxr-xr-xvde/build/rc.vdenetwork9
1 files changed, 7 insertions, 2 deletions
diff --git a/vde/build/rc.vdenetwork b/vde/build/rc.vdenetwork
index 22a511c8..9c788ce1 100755
--- a/vde/build/rc.vdenetwork
+++ b/vde/build/rc.vdenetwork
@@ -22,6 +22,7 @@ TAP_MASK=255.255.255.0
TAP_BCAST=`/bin/ipmask ${TAP_MASK} ${TAP_IP} | cut -f 1 -d ' '`
# Host interfaces that need to be NAT-ed (in case we're not bridging):
+# Add more interfaces space-separated, like "eth+ wlan+"
NAT_IFS="eth+"
# Definitions for the LAN segment the Qemu virtual machines will be in.
@@ -38,8 +39,11 @@ VM_IPHIGH=10.111.111.199
VM_BCAST=${TAP_BCAST}
VM_MASK=${TAP_MASK}
-# For additional options to dnsmasq:
-#DNSMASQ_OPTIONS="--server /my.net/192.168.1.1"
+# For additional options to dnsmasq - the commented example specifies that all DNS lookups
+# for 'my.net' should go to 192.168.1.1; and on the second line you find a configuration
+# for supporting network boot:
+#DNSMASQ_OPTIONS="--server /my.net/192.168.1.1 \
+# --dhcp-boot=/pxelinux.0,\"192.168.1.1\",192.168.1.1"
DNSMASQ_OPTIONS=""
# See how we were called.
@@ -108,6 +112,7 @@ case "$1" in
;;
restart|reload)
$0 stop
+ sleep 1
$0 start
;;
*)