All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kilian Risse <krisse@student.ethz.ch>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Connecting multiple times to same base station
Date: Mon, 15 Jun 2015 12:51:33 +0200	[thread overview]
Message-ID: <557EAE35.1050204@student.ethz.ch> (raw)
In-Reply-To: <557EAABF.7020308@student.ethz.ch>

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

       reply	other threads:[~2015-06-15 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <557EAABF.7020308@student.ethz.ch>
2015-06-15 10:51 ` Kilian Risse [this message]
2015-06-15  7:47 [ath9k-devel] Connecting multiple times to same base station Kilian Risse
2015-06-15  8:41 ` Michal Kazior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=557EAE35.1050204@student.ethz.ch \
    --to=krisse@student.ethz.ch \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.