Skip to contentSkip to conversation

Connecting multiple times to same base station

ath9k-devel Kilian Risse 1 participant 1 message Jun 15, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thanks for the reply! I think I explained my problem poorly - I'll try again;

I have an access point and 2 computers. One connected to the AP by ethernet (PC0) and the other by wlan (PC1).

In order to simulate several clients in the wlan I multiplex the card of PC1. The problem is that all frames sent from PC0 to the different interfaces have the same MAC address.

I tried to change the MAC addresses in the ARP cache of PC0 such that each IP has the intended MAC address (the one assigned to the interface). But then the frames get all lost - I cannot even ping the different interfaces of PC1 (except the primary interface as it still has the same MAC).

Quoted 8 lines

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.

Correct me if I am wrong - but what you suggested is only needed if I want to send data from the different interfaces to each other or send from the different interfaces - right?

Thanks for the help

Kilian