From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodolphe Marques Date: Mon, 26 Apr 2010 17:54:15 +0100 Subject: [ath9k-devel] ath9k virtual interfaces In-Reply-To: <20100426163400.5076.qmail@stuge.se> References: <4BD59665.2020400@ua.pt> <20100426163400.5076.qmail@stuge.se> Message-ID: <4BD5C537.6000306@ua.pt> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 >