diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-06-07 16:36:56 -0700 |
---|---|---|
committer | Scott Garman <scott.a.garman@intel.com> | 2012-06-12 13:29:30 -0700 |
commit | 680a94c378f20c00e8bee0575b8922bccc008fec (patch) | |
tree | 5a70a13ae1c704112ff66a043f7f0c221fd8018e | |
parent | 2fcd564b5395950f480a288d434c64c8fee65ece (diff) | |
download | openembedded-core-680a94c378f20c00e8bee0575b8922bccc008fec.tar.gz openembedded-core-680a94c378f20c00e8bee0575b8922bccc008fec.tar.bz2 openembedded-core-680a94c378f20c00e8bee0575b8922bccc008fec.zip |
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@intel.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/runqemu-ifup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index f80538f53c..1f1b4c81bb 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup @@ -103,6 +103,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 |