[oe-commits] Scott Garman : runqemu-ifup: enable arp proxying
git at git.openembedded.org
git at git.openembedded.org
Fri Jun 8 10:44:07 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: d294b1bddece429f2639676ddc97d2896fc58916
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d294b1bddece429f2639676ddc97d2896fc58916
Author: Scott Garman <scott.a.garman at intel.com>
Date: Thu Jun 7 16:36:56 2012 -0700
runqemu-ifup: enable arp proxying
This allows core-image-sato to access the WAN.
Thanks to Dexuan Cui for proposing this fix.
Fixes [YOCTO #2329]
Signed-off-by: Scott Garman <scott.a.garman at intel.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/runqemu-ifup | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup
index e4c3daf..0926faf 100755
--- a/scripts/runqemu-ifup
+++ b/scripts/runqemu-ifup
@@ -109,6 +109,7 @@ $ROUTE add -host 192.168.7.$dest $TAP
$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32
$IPTABLES -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32
echo 1 > /proc/sys/net/ipv4/ip_forward
+echo 1 > /proc/sys/net/ipv4/conf/$TAP/proxy_arp
$IPTABLES -P FORWARD ACCEPT
echo $TAP
More information about the Openembedded-commits
mailing list