public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Problems with Gateway-Selection without option -g
Date: Mon, 7 Sep 2009 21:02:57 +0800	[thread overview]
Message-ID: <200909072102.57854.lindner_marek@yahoo.de> (raw)
In-Reply-To: <4AA4DD8F.8000705@rsm-freilassing.de>

On Monday 07 September 2009 18:16:47 Michael Rack wrote:
> I got these numbers by "/sbin/ip addr show dev gate0".
> 
> gate0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1431 qdisc
> pfifo_fast qlen 500
>      link/[65534]
>      inet 169.254.0.0/32 scope global gate0
> 
> MTU is set to 1431 bytes.

And what is the MTU of the interface batman is running on ?

Did the iptables command I posted help you to fix your MSS problem ?


> IP-Host #1: 123.205.12.0 / 32
> IP-Host #2: 123.205.12.4 / 32
> 
> IP RULES ON "HOST #2":
> ~ $ /sbin/ip rule show
> 6600:    to 123.205.12.4 lookup batman_hosts [66]
> 6601:    from all lookup batman_networks [65]
> 6700:    to 123.205.12.4 lookup batman_unreach [67]
> 
> Host #1 (123.205.12.0) is in the routingtable of batman_hosts [66].
> 
> But i can not ping 123.205.12.0, because the kernel will not enter the
> rule 6600.
> 
> When i configure my Host #2 to a /24 network, all went fine. Then the
> rule will setuped as follow:
> 
> 6600:    to 123.205.12.4/24 lookup batman_hosts [66]

Ok, I see your problem. Batman could easily detect whether the host is part of 
any existing network and if not modify the routing rules. I see 2 options:
* adding more rules to jump in table 66
* adding the node to table 65 instead of 66

What did you do to make it work ?

Regards,
Marek

  reply	other threads:[~2009-09-07 13:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06  5:28 [B.A.T.M.A.N.] Problems with Gateway-Selection without option -g Michael Rack
2009-09-06 10:50 ` elektra
2009-09-06 11:33   ` Michael Rack
2009-09-06 12:37     ` elektra
2009-09-06 15:11 ` Marek Lindner
2009-09-06 17:13   ` Michael Rack
2009-09-06 17:47     ` Marek Lindner
2009-09-07 10:16       ` Michael Rack
2009-09-07 13:02         ` Marek Lindner [this message]
2009-09-07 13:40           ` Michael Rack
2009-09-08 17:57             ` Marek Lindner
2009-10-30 10:19               ` Michael Rack
2009-10-30 12:11                 ` elektra

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=200909072102.57854.lindner_marek@yahoo.de \
    --to=lindner_marek@yahoo.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.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