[Olsr-users] Help to find best configuration
Lars Kruse
(spam-protected)
Fri Nov 12 16:00:20 CET 2021
Hallo Kevin,
Am Fri, 12 Nov 2021 10:38:17 +0000
schrieb kevin Legendre <(spam-protected)>:
> With this configuration :
> 1) All the router can ping each others
> 2) All the router can ping all the clients
> 3) All the clients can ping all the routers
>
> But I can't ping a client from another client.
I guess, executing "ip route get 192.168.1.2" on your client1 will reveal, that
the client expects the target on its *local* interface.
Thus it will issue ARP requests (you could check this via "tcpdump arp"?) and
give up, without event talking to router1.
I see the following options:
A) reduce the IPv4 address on client1 from "192.168.1.1/24" to "192.168.1.1/32"
and add at least the following static routes:
192.168.1.101/32 dev eth0
192.168.1.0/24 via 192.168.1.101
B) use different subnets for the client networks
From my point of view, (A) is *very* hacky.
(I am not sure, whether your requirements could justify such a crude setup)
I think, (B) should be preferable.
Please note, that your setup allows only routed traffic (i.e. no
broadcasts of any kind) between the different networks behind the clients. Thus
there is probably really no point in using the same subnet for these separate
physical networks.
Regards,
Lars
PS: "tcpdump" is a *very* useful tool for verifying your expectations of the
network traffic
More information about the Olsr-users
mailing list