b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: Mark Mundy <mark.mundy@draeger.com>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: Error - mac address of the ping destination could not be resolved and is not a bat-host name
Date: Sat, 10 Jun 2023 12:09:44 +0200	[thread overview]
Message-ID: <4515269.LvFx2qVVIh@sven-desktop> (raw)
In-Reply-To: <168633692419.986.3016729917435716783@diktynna.open-mesh.org>

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

On Friday, 9 June 2023 20:55:24 CEST Mark Mundy wrote:
> I think I understand this to mean that I should remove the ipaddress, netmask configuration items from the bat0 interface, and create a bridge with bat0 and eth1. 

Nearly correct - the eth1 IP configuration must also be removed because you 
configured two conflicting IP addresses (with the same subnet and metric) and 
in this process broke the routing table. 

> Something more like this for 10.1.1.1, and similar changes for 10.2.1.1 where it is actually the bridge interface that contains holds the IP address info
[...]
> allow hotplug eth1
> auto eth1
> iface eth1 inet static
>         address 10.1.1.1
>         netmask 255.0.0.0
>         gateway 10.0.0.1
> #        dns-nameservers 1.1.1.1 8.8.8.8 8.8.4.4

Why do you configure an IP address on eth1? It is part of a bridge and the IP 
configuration must be on top of the bridge. But you already have an IP
address in the same subnet configured on br0. There are ways to still work 
around this configuration problem but it would be weird to not simply fix the 
configuration.

Btw. this has nothing to do with batman-adv but is just about basic (Linux)
networking.

Kind regards,
	Sven


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

  reply	other threads:[~2023-06-10 10:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-08 20:38 Error - mac address of the ping destination could not be resolved and is not a bat-host name mark.mundy
2023-06-09 12:10 ` Sven Eckelmann
2023-06-09 18:55   ` Mark Mundy
2023-06-10 10:09     ` Sven Eckelmann [this message]
2023-06-29 16:13       ` Mark Mundy

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=4515269.LvFx2qVVIh@sven-desktop \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=mark.mundy@draeger.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).