public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: johnzeng <johnzeng2013@yahoo.com>
Cc: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] how to config gateway ?
Date: Tue, 01 Nov 2016 14:39:16 +0100	[thread overview]
Message-ID: <1657394.aEyv3RqyCa@bentobox> (raw)
In-Reply-To: <5818988B.5050600@yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

On Dienstag, 1. November 2016 21:28:43 CET johnzeng wrote:
[..]
> i run avahi-autoipd bat0 at two host only ( not run dhcpcd ) and run
> batctl gw_mode server and batctl gw_mode server 5mbit/1mbit at hostA,

batman-adv gateway (mode) is only about filtering DHCP packets from the
client. They will (with enabled gw client mode + reachable gw server)
packets only at the "best" DHCP server. So it will not do anything with
your avahi packets.

The configuration of an DHCP server is not really something for this
mailing list. There is more than one tutorial how to use dnsmasq or
isc-dhcp-server

> and run batctl gw_mode client and batctl gw_mode client 20 at hostB

This will not work. One of the devices has to be the one answering the
DHCP requests (aka the "gw_mode server").

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2016-11-01 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 13:28 how to config gateway ? johnzeng
2016-11-01 13:39 ` Sven Eckelmann [this message]
     [not found]   ` <5818B129.7090509@yahoo.com>
2016-11-01 15:25     ` [B.A.T.M.A.N.] " Sven Eckelmann
2016-11-01 15:34       ` johnzeng

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=1657394.aEyv3RqyCa@bentobox \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=johnzeng2013@yahoo.com \
    /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