Am 02.04.2010 um 18:08 schrieb Marek Lindner:
Hi,
We are testing Batman Advanced as described in my other thread and I want to share my Internetconnection on our network. How do I do this with Batman Advanced?
Is there already a working Batman Advanced version that supports Internet connection sharing (Maybe Trunk? Which revision?)? In Olsr there was the dyn_gateway_plugin. How can I have something like it´s functionality in Batman Advanced?
I'm not familiar with the dyn_gateway_plugin plugin - what is it good for ?
in olsr, an internet uplink announced as a 0.0.0.0/0 HNA. As we can announce a 10.23.42.0/24, we can announce the whole ipv4 or ipv6 internet, that is basically an uplink.
Trouble starts, when some node is annoncing a 0.0.0.0/0 HNA without actually providing internet uplink, like when DSL is down, etc. Then, the node will bekome a blackhole for outbound traffic.
the dyn_gateway plugin tests for a defaultroute and pings over the defaultroute to check for internet connectivity and does the announcement of the 0/0 HNA.
batman3 has integrated tunnel, so everybody can choose their gateway. in this case, a failing gateway is not as disturbing as in olsr.
Now, Henning&Markus are introducing smartgateways, which is basically the same thing as batman3 does, announcing tunnelpartner and setting up an ipip interface.
Combined with the dyn_gw plugin, any node can automatically choose its gateway based on bandwith, distance and reliability.
This clearly shows, how much we all can learn from each other, soon as we start listening.
The "advanced gateway handling" tries to deal with multiple gateways in the same mesh network in a smart way. AFAIK olsrd never had this functionality, so it is unlikely that you will miss it. :-)
actually, finding a defaultroute is one of the main tasks for all routing protocols in the last 30 years except for batman-adv and netsukkuku.
As soon as your router has an internet connection and "shares" it (firewall, NAT, etc) everybody will be able to use it. You can do this with all batman- adv versions out there - no need to go to the trunk.
Regards, Marek
Gruss, Alex