Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

More than one interface in my PC

Reply
 
Thread Tools Display Modes
  #1  
Old 12-22-2004, 01:06 AM
Default More than one interface in my PC



Just for my own knowledge, if I have a PC with two interfaces the
ethernet one and a wireless one, and I configure both of them with
DHCP, then when I send a packet is there any kind of load balancing ?
or the gateway is just configured in the first interface that is
activated, so is only used one of the interfaces ?

Thanks a lot!


Daniel Camps
Reply With Quote
  #2  
Old 12-22-2004, 09:53 AM
Andrew Schulman
Guest
 
Posts: n/a
Default Re: More than one interface in my PC

> Just for my own knowledge, if I have a PC with two interfaces the
> ethernet one and a wireless one, and I configure both of them with
> DHCP, then when I send a packet is there any kind of load balancing ?
> or the gateway is just configured in the first interface that is
> activated, so is only used one of the interfaces ?


I think the kernel will just use whichever entry comes first in the routing
table-- run 'route' to see it. But I think you can do load-balancing too;
see the Advanced Routing and Traffic Control HOWTO.

--
To reply by email, replace "deadspam.com" by "alumni.utexas.net"
Reply With Quote
  #3  
Old 12-22-2004, 11:18 PM
David Efflandt
Guest
 
Posts: n/a
Default Re: More than one interface in my PC

On 21 Dec 2004 17:06:26 -0800, Daniel Camps <(E-Mail Removed)> wrote:
> Just for my own knowledge, if I have a PC with two interfaces the
> ethernet one and a wireless one, and I configure both of them with
> DHCP, then when I send a packet is there any kind of load balancing ?
> or the gateway is just configured in the first interface that is
> activated, so is only used one of the interfaces ?


Unless you do more advanced routing (per Adv-Routing HOWTO), any packet
would typically take the first route that matches in the routing table
(/sbin/route -n). So if both interfaces are on the same network, only one
of the interfaces would actually be used.
Reply With Quote
Reply

Tags
interface

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.