No luck :-(

r...@generic:/# cat /proc/net/batman-adv/originators
  Originator     (#/255)           Nexthop [outgoingIF]:   Potential nexthops ..
. [B.A.T.M.A.N. Adv 0.1 rv1176, MainIF/MAC: ath0/00:0c:42:60:12:cf]
00:0c:42:3a:75:a2  (229) 00:0c:42:3a:75:a2 [      ath0]: 00:0c:42:3a:75:a2 (229)

r...@generic:/# ping google.com
PING google.com (74.125.39.105): 56 data bytes
64 bytes from 74.125.39.105: seq=0 ttl=53 time=124.425 ms
^C
--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 124.425/124.425/124.425 ms
r...@generic:/# wget http://www.google.com
Connecting to www.google.com (209.85.135.147:80)

Pings work fine, a wget just pauses and waits indefinitely



On Thu, Aug 12, 2010 at 1:11 PM, David Beaumont <[email protected]> wrote:
>> > The bat0 interface is currently bridged as follows
>> >
>> > On the router with internet going into the WAN port (ETH1), BAT0 is
>> > bridged with the LAN (ETH0)  Internet works correctly though the lan,
>> > so i would assume NAT routing to the WAN is setup correctly?
>>
>> so you have eth0 and bat0(ath0) in a bridge br0 -> eth1 uses nat to translate
>> packets for/from eth1?
>
> Yes this is correct, bat0 and eth0 are bridged to form br-lan, which
> uses nat to translate things over to eth1
>
>>
>> > On the router on the other end of the mesh, BAT0 is bridged with the
>> > WAN port (ETH1) so that the router will route WAN traffic though BAT0?
>>
>> What? Why a different internet gateway and why do you bridge the bat0(ath0)
>> interface with the wan interface instead of using nat here?
>>
>
> Not sure what you mean by a "a different internet gateway"
>
> The way openWRT is setup, the WAN network is actually a bridge of bat0
> and wifi0 (which is the card that bat0 is running on) Talking this
> though its looking like this might be the bit where the problem lies.
> Its setup currently like this as i was initially trying to run OLSR
> and BATMAN simultaneously (although have since simplified to just
> batman).
>
> My theory was that if bat0 is the WAN, the NAT rules built into
> openwrt would take control and internet would be routed though bat0.
>
> I have also attempted to setup nat myself at this end, but am so far
> unsuccessful and loose the ability to even ping the internet.
>
> I think i am close to the solution as i can ping things, there is just
> something missing.
>
> Will try un-bridging wifi0 and report on what happens.
>
>> Maybe there is a misunderstanding somewhere... At least I am extremely
>> confused about your setup.
>>
>> Best regards,
>>        Sven
>

Reply via email to