All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolphe Marques <rodolphe.marques@ua.pt>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k  virtual interfaces
Date: Mon, 26 Apr 2010 17:54:15 +0100	[thread overview]
Message-ID: <4BD5C537.6000306@ua.pt> (raw)
In-Reply-To: <20100426163400.5076.qmail@stuge.se>

Hi Peter,

I do an overload to the socket system call so that I can choose to which 
interface a given application should bind.
The problem I think is that linux is not expecting to have several 
interfaces connected to the same network so only  the first interface as 
a default gateway configured. So applications that I bind to interfaces 
other than the first have no network connectivity.

Rodolphe

On 04/26/2010 05:34 PM, Peter Stuge wrote:
> This is completely off-topic for this mailing list.
>
> Rodolphe Marques wrote:
>    
>> The only problem is that only the first interface gets the default
>> gateway configured.
>>      
> In a normal system there is only one default gateway.
>
> Please consider if you really must handle multiple default gateways.
>
> In any case - how will your system know when to use which gateway?
> Study the ip rule command. I recommend http://lartc.org/ for more
> information.
>
>
> //Peter
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>    

  reply	other threads:[~2010-04-26 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 13:34 [ath9k-devel] ath9k virtual interfaces Rodolphe Marques
2010-04-26 16:34 ` Peter Stuge
2010-04-26 16:54   ` Rodolphe Marques [this message]
2010-04-26 17:16     ` Peter Stuge
2010-04-27  6:03       ` Benoit PAPILLAULT

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=4BD5C537.6000306@ua.pt \
    --to=rodolphe.marques@ua.pt \
    --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.