ARPNAT wireless bridging in OpenWRT
Posted: Wed Mar 17, 2010 11:39 pm
Just wanted to post a heads-up that I explained (and posted steps for) patching OpenWRT with the Gargoyle patch for ARPNAT wireless bridging, on my blog:
http://projectgus.com/wireless-client-b ... h-openwrt/
Pretty much all the hard work behind that blog post belongs to the Gargoyle patch, so let me know if you don't think there's sufficient kudos there.
The only reason I didn't choose Gargoyle over OpenWRT is that I'm a big fan of ssh + editing text files, and I don't need any of the other nifty features that Gargoyle provides.
The blog post also links to a small patch for 8.09 that Gargoyle might find useful. It's a fix for /lib/network/config.sh not setting the MAC address on the bridge correctly if it's overridden with "option macaddr".
That bug is particularly important if you're using a DHCP client to set the IP on your bridge, because the bridge MAC determines which physical interface that the DHCP request goes out on,
FWIW, I also did some rough benchmarking (which is in the blog post), and I couldn't find any evidence for the OpenWRT dev's statements about ebtables/ARPNAT crippling performance. ARPNAT certainly costs performance, but it didn't seem excessive to me.
http://projectgus.com/wireless-client-b ... h-openwrt/
Pretty much all the hard work behind that blog post belongs to the Gargoyle patch, so let me know if you don't think there's sufficient kudos there.
The only reason I didn't choose Gargoyle over OpenWRT is that I'm a big fan of ssh + editing text files, and I don't need any of the other nifty features that Gargoyle provides.
The blog post also links to a small patch for 8.09 that Gargoyle might find useful. It's a fix for /lib/network/config.sh not setting the MAC address on the bridge correctly if it's overridden with "option macaddr".
That bug is particularly important if you're using a DHCP client to set the IP on your bridge, because the bridge MAC determines which physical interface that the DHCP request goes out on,
FWIW, I also did some rough benchmarking (which is in the blog post), and I couldn't find any evidence for the OpenWRT dev's statements about ebtables/ARPNAT crippling performance. ARPNAT certainly costs performance, but it didn't seem excessive to me.