From: "Krzysiek Gołębiewski" <gollab@interia.pl>
To: onelektra@gmx.net, b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] Batmand - ping 169.254.0.0 from client is not working.
Date: Mon, 25 Apr 2011 22:36:53 +0200 [thread overview]
Message-ID: <4DB5DB65.6070706@interia.pl> (raw)
In-Reply-To: <201104251055.17370.onelektra@gmx.net>
I tried to change my settings as you have wroten, elektra.
So I:
1. Changed the settings on client and now I have:
>config 'interface' 'ath0'
>option 'ifname' 'ath0'
>option 'proto' 'static'
>option 'ipaddr' '10.130.1.3'
>option 'netmask' '255.255.255.0'
>option 'dns' '8.8.8.8'
There is no gateway now and there is new dns server.
2. Rebooted router (client) and then typed:
>> iptable -F .
3. I started batmand with command below:
>> batmand -d 3 -r 2 -a 192.168.4.0/24 --disable-client-nat ath0
4. On the gateway I also used
>> iptables -F
and then I typed:
>> iptables -t nat -A POSTROUTING -o eth0.1 -j MASQUERADE
and after it I started batmand, command below:
>> batmand -d 3 -g 1000 -a 192.168.3.0/24 ath0
I changed also speed of gateway connection. Here, at home I have only 1Mbit.
> (I am assuming that you have the uplink connected to the WAN port of the Asus)
Yes, you`re right. Port eth0.1 (wan) is my port to the next router (my home router with normal access to Internet and Asus is connected to it`s one of lan ports).
It`s got an address (192.168.2.2) from DHCP.
Now situation is:
On the client router - connected by ssh - putty:
I can ping f.e. www.google.com and I have a reply (ping works).
I can ping 192.168.2.1 (gateway at home router).
I can ping 10.130.1.1 (address of interface ath0 on gateway).
I can`t ping 192.168.2.2 (port wan on Asus, why?). -> results 100% loss.
I can`t ping 169.254.0.0 (end of tunnel gate0 on the gateway). ->
results 100% loss.
On the gateway:
I can ping Internet address (www.google.com).
I can ping 10.130.1.3.
I can ping 169.254.0.1.
I can ping 192.168.2.2.
I can ping 192.168.2.1.
On the gateway all look correctly.
On PC connected to Router Client (by LAN eth0.0) I can ping almost
nothing...
ping 192.168.4.1 (gateway PC-Router client) working.
ping 10.130.1.3 working.
ping 10.130.1.1 not working -> Request time out.
Any other address doesn`t reply.
On PC connected to Router Gateway (by LAN eth0.0):
ping www.google.com not working
ping 10.130.1.1 working
ping 10.130.1.3 working
ping 192.168.2.2 working
ping 192.168.2.1 not working.
And... messenger works properly... despite it I can`t ping gateway.
Maybe it depends on routing table, but here is another problem.
> The command
> route -n
> is not helpful when working with batmand. The route command is a outdated
> legacy from Linux 2.2 and older. Use the
> ip command instead, to see the policy routing tables.
> ip r ls table all
> will list all tables.
Yes... I am associating this command but some minuts ago I would like to
check my routing table and these commands: ip route and ip rule are not
recognized for my router.
root@Asus4:~# ip r ls table all
-ash: ip: not found
I thought I didn`t install it but in list of packages available for my
Backfire I couldn`t find something suitable. From where can I download it?
Any more suggestions?
Thanks,
Krzysiek.
---------------------------------------------
Ksiegowa radzi: Jak załozyc firme w 15 minut?
http://linkint.pl/f2968
next prev parent reply other threads:[~2011-04-25 20:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-24 22:06 [B.A.T.M.A.N.] Batmand - ping 169.254.0.0 from client is not working Krzysiek Gołębiewski
2011-04-25 8:45 ` Gioacchino Mazzurco
2011-04-25 8:55 ` elektra
2011-04-25 20:36 ` Krzysiek Gołębiewski [this message]
2011-04-25 23:42 ` elektra
2011-04-26 19:44 ` Krzysiek Gołębiewski
2011-04-26 20:58 ` Krzysiek Gołębiewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB5DB65.6070706@interia.pl \
--to=gollab@interia.pl \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=onelektra@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox