From patchwork Thu Jun 7 23:36:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Consolidated,Pull,08/22] runqemu-ifup: enable arp proxying Date: Thu, 07 Jun 2012 23:36:56 -0000 From: Elizabeth Flanagan X-Patchwork-Id: 29407 Message-Id: <590d3c5ed0812ef579ba4aed3ee019e2037937d6.1339111944.git.elizabeth.flanagan@intel.com> To: openembedded-core@lists.openembedded.org From: Scott Garman 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 --- 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