Connecting multiple times to same base station
Hi all
I tried to simulate multiple clients through a single ar93xx card. I noticed that even though I connect with the base station multiple times through several interfaces, the MAC address with which I send packets (and am associated to the access point) remains the same; the one of the primary station.
The interfaces have all different MAC addresses and they have different IPs. But whenever I arping any of the IP addresses it returns the MAC of the primary station.
I wanted to ask whether this is intended behavior (and the use case not supported) or whether this is a bug.
Thanks for the help
Kilian
Quoted 11 lines · Kilian Risse
Hi all
I tried to simulate multiple clients through a single ar93xx card. I noticed that even though I connect with the base station multiple times through several interfaces, the MAC address with which I send packets (and am associated to the access point) remains the same; the one of the primary station.
The interfaces have all different MAC addresses and they have different IPs. But whenever I arping any of the IP addresses it returns the MAC of the primary station.
I'm guessing you're using the same IP subnet on all of them.
You'll need to either tune IP routing
(https://lwn.net/Articles/364318/) and/or force sockets to bind to interfaces (e.g. ping with "-I" parameter).
Personally, I often use ipv6 link-local addresses to test traffic on such topologies to avoid the problem.
Micha?