--snat-arp coming? or should I find any other aproach?
Santiago Garcia Mantinan <bridge-gaW6/[email protected]> Sat, 30 Sep 2006 18:10:13 +0200
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! I'm trying to bridge together a couple of ethernet devices and a wireless one, the wireless AP does of course drop all the packages that come from an unassociated mac into its wireless interface, so I thought I could snat the MAC addresses of the packages going out of my bridge through it's wireless interface into the AP, and so I set up ebtables with an snat rule. I really thought this was a good idea but then I realised that it was not working because of the MAC addresses inside the ARPs not being natted, trying to solve that was when I got to the web page of the documentation where it says on the TODO list: Add --snat-arp option, which changes the arp source device in the payload when the source MAC address of an ARP frame is changed. I suppose that this has been a todo for a lot of time, but it is really what I needed for my setup, so I'm trying to get to know if there is a patch to implement this somewhere, if it would be easy to implement, or if I should approach my setup in a different way (until now I had two proxy arped networks but I wanted to bridged them together). I really find the --snat-arp option a great idea, and can't understand how somebody using snat can live without it, so I'm thinking I'm missing something on this (I've seen the arp-reply stuff but doesn't really fit in my setup). This would be the rough schema of the net: Ethernet --- Bridge ---- Wifi --- AP --- LAN Ethernet -----| Any ideas on how to aproach this will be welcome. Regards... -- Manty/BestiaTester -> http://manty.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV