Skip to contentSkip to conversation

qemu WAN networking fix

PATCH Applied Scott Garman 2 participants 3 messages Jun 6, 2012 – Jun 11, 2012

lore
Share & tools
lore
#0 lore raw

cover qemu WAN networking fix

Hello,

This fix allows core-image-sato images to access the WAN.

It should be applied to both oe-core master and the denzil branch.

Fixes Yocto bug #2329.

Scott

The following changes since commit f8a054aca9962ebfd4c74fc1d34cd684de6b3568:

perl: Allow perl to cross build and native build in a directory named "t" (2012-06-05 23:02:20 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib sgarman/qemu-networking-fix
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgarman/qemu-networking-fix

Scott Garman (1):
runqemu-ifup: enable arp proxying

 scripts/runqemu-ifup |    1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 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]

---
 scripts/runqemu-ifup |    1 +
 1 file changed, 1 insertion(+)
scripts/runqemu-ifup +1 -0
index e4c3daf..0926faf 100755
@@ -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
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/1] runqemu-ifup: enable arp proxying

Quoted 27 lines · Scott Garman

This allows core-image-sato to access the WAN.

Thanks to Dexuan Cui for proposing this fix.

Fixes [YOCTO #2329]

---
 scripts/runqemu-ifup |    1 +

 1 file changed, 1 insertion(+)
scripts/runqemu-ifup +0 -0
index e4c3daf..0926faf 100755
@@ -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
--
1.7.9.5

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Merged into OE-Core

Thanks

-b

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release