From: Scott Garman Date: Thu, 7 Jun 2012 23:36:56 +0000 (-0700) Subject: runqemu-ifup: enable arp proxying X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=680a94c378f20c00e8bee0575b8922bccc008fec;p=openembedded-core.git 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 Signed-off-by: Elizabeth Flanagan Signed-off-by: Richard Purdie --- 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