Skip to contentSkip to conversation

Unable to ping interface in ap mode / client mode with IP4 addr

B.A.T.M.A.N. Hannes Harms 2 participants 3 messages May 10, 2016 – May 25, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I want to set up bat0 on top of a wifi interface in ap mode and another machine with bat0 on top of a wifi interface in client mode.

Via iw dev wlan0 station dump I can seen that both are connected. Via batctl o I see the connected node.
Via batct ping mac addr I can ping each other.

But I can not ping with an IP4 addr.

bat0 was added to a bridge interface with a static IP on both machines. No DHCP server is running, because only static IPS are needed.

Did I miss something?

Regrads
Hannes

#1 lore raw
Quoted 4 lines · On Tuesday, May 10, 2016 21:07:27 Hannes Harms wrote:

But I can not ping with an IP4 addr.

bat0 was added to a bridge interface with a static IP on both machines. No DHCP server is running, because only static IPS are needed.

Can you describe from where you are pinging (which hosts are involved) and post the IP configuration (e.g. ip addr && ip route) ?

Thanks,
Marek

#2 lore raw

Hi,

ip route did the trick.
Now it is working.

Thanks,
Hannes

Am 10.05.2016 um 23:16 schrieb Marek Lindner:

Quoted 10 lines · On Tuesday, May 10, 2016 21:07:27 Hannes Harms wrote:
Quoted 4 lines

But I can not ping with an IP4 addr.

bat0 was added to a bridge interface with a static IP on both machines. No DHCP server is running, because only static IPS are needed.

Can you describe from where you are pinging (which hosts are involved) and post the IP configuration (e.g. ip addr && ip route) ?

Thanks,
Marek