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.] Problem with gateway-dhcp
Date: Tue, 14 Oct 2008 17:14:47 +0800	[thread overview]
Message-ID: <200810141714.47396.lindner_marek@yahoo.de> (raw)


Hi,

> For example (can't remember the exact messages but this was about their
> content):
> Message on Gateway, Debugmode3:
> "Gateway assigned IP adress 169.254.0.1 to client 192.168.100.2"
> Message on Client, Debugmode3:
> "Got IP adress 169.254.0.1 from Gateway 192.168.100.1"

so far, everything as expected. 


> According to the batman manual the gateway should act as "a tiny DHCP
> server" but as I always get these 169. adresses I assume it isn't
> running properly. I did not touch the firewall or the iptables because I
> don't know anything about it. There might be some entries which would
> solve the problem, but I could not find those in the manual or the
> mailing-list archive.

Batman has its internal DHCP server for the gateway tunneling via the gate0 
interfaces. This address space was chosen to avoid configuration as it should 
not be in use. 

You could try to ping the gateway via the virtual address (169.254.0.0) to 
check whether the tunnel connection works or not. If you run into a timeout 
you should disable the firewall on the gateway. Ping again to feel the 
difference.  ;-)

May be you are lacking the the masquerading rules on gate0. Issue:
iptables -t nat -I POSTROUTING -o gate0 -j MASQUERADE
on the client and on the gateway.

Regards,
Marek



             reply	other threads:[~2008-10-14  9:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-14  9:14 Marek Lindner [this message]
2008-10-15 13:26 ` [B.A.T.M.A.N.] Problem with gateway-dhcp Tobias Gieseke
  -- strict thread matches above, loose matches on Subject: below --
2008-10-16 11:48 Marek Lindner
2008-10-17 12:37 ` Tobias Gieseke
2008-10-18  4:18   ` Marek Lindner
2008-10-14  7:26 Tobias Gieseke

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=200810141714.47396.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