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@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] strange default routes
Date: Mon, 15 Oct 2007 16:08:47 +0200	[thread overview]
Message-ID: <200710151608.47855.lindner_marek@yahoo.de> (raw)
In-Reply-To: <BLU122-W10D014E29FA86CA3739C9AF6A30@phx.gbl>


Hi,

> root@OpenWrt:/etc/init.d# route -n
> Destination  Gateway  Genmask  Flags Metric Ref    Use Iface
> [...]
> 0.0.0.0         0.0.0.0     0.0.0.0      !        0         0       0     *
> [...]
>
> batmand has been started with the following parameters:  /usr/sbin/batmand
> -g 0 -r 0 eth2

as Antonio said you disabled all internet traffic via batman.
Furthermore, default routes created by batman are found in table 68 (use "ip 
route ls table 68" to see its content) but "route -n" shows you table 254.


> root@OpenWrt:/etc/init.d# /usr/sbin/batmand -g 0 -r 0 eth2:0 -d 4
> WARNING: You are using the unstable batman branch. If you are interested in
> [ 0] Error - can't add rule to 105.0.0.0/8: Invalid argument
> [ 0] Error - can't add rule to 105.0.0.0/8: Invalid argument
> Using interface eth2:0 with address 105.13.0.54 and broadcast address
> 105.255.255.255 B.A.T.M.A.N. 0.3-beta (compatibility version 4)
> [ 0] Error - can't add rule to 0.0.0.0/0: Invalid argument
> [ 10] Error - can't add rule to 0.0.0.0/0: Invalid argument

Here batman tries to set the policy routing rules and not routing table 
entries. It would be interesting to know the revision you use and could you 
please add the output of (while batmand is running) "ip rule".

Regards,
Marek

  parent reply	other threads:[~2007-10-15 14:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 12:38 [B.A.T.M.A.N.] strange default routes Dennis Bartsch
2007-10-15 13:41 ` a.anselmi
2007-10-15 14:08 ` Marek Lindner [this message]
2007-10-15 15:01   ` Dennis Bartsch
2007-10-15 14:14 ` elektra
2007-10-15 14:54   ` a.anselmi
2007-10-15 17:03     ` Dennis Bartsch
2007-10-16 13:15       ` Marek Lindner
2007-10-16 10:04     ` elektra
2007-10-16 11:43       ` [B.A.T.M.A.N.] development-ipkgs broken Dennis Bartsch
2007-10-18 12:08         ` Axel Neumann
2007-10-18 14:37           ` Alexander Morlang
2007-10-17 18:09       ` [B.A.T.M.A.N.] strange default routes Axel Neumann
2007-10-17 18:40       ` [B.A.T.M.A.N.] 0.3-beta testing Jan Hetges

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