Group: comp.os.linux.networking
From: Geoff Lane
Date: Saturday, March 22, 2008 8:15 AM
Subject: Re: Two Network cards

Rob Morley wrote:

>> If one has two network cards connected to a computer (eg one ethernet
>> and one wifi) and both are connected to the internet is there a priority
>> for outgoing traffic or can this cause problems.
>>
> With a normal configuration both NICs will have a default route set - if
> you want to use just one for internet access then remove the default
> route for the other one. With both default routes set I suspect the
> order they are tried will depend on the order in which they were loaded
> into the routing table, so you might try swapping them around to see if
> it makes any difference. Otherwise I think you're into advanced routing
> with multiple tables.
> As long as both NICs are running on the same network I don't think it
> will cause any problems anyway.

The query only occured as we were setting up a new wifi adsl router at
our club; used the wired connection to set up the security on the wifi
then forgot to disable the ethernet before inserting the wifi card.

All appeared to work fine but I was then curious as to which interface
would be used.

Geoff Lane

Safety Articles | Usenet Groups | Usenet News | Bluegrass