From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kilian Risse Date: Mon, 15 Jun 2015 12:51:33 +0200 Subject: [ath9k-devel] Connecting multiple times to same base station In-Reply-To: <557EAABF.7020308@student.ethz.ch> References: <557EAABF.7020308@student.ethz.ch> Message-ID: <557EAE35.1050204@student.ethz.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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). > 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