Networking Forums

Networking Forums > Computer Networking > Linux Networking > More than one interface in my PC

Reply
Thread Tools Display Modes

More than one interface in my PC

 
 
Daniel Camps
Guest
Posts: n/a

 
      12-22-2004, 12:06 AM
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!
 
Reply With Quote
 
 
 
 
Andrew Schulman
Guest
Posts: n/a

 
      12-22-2004, 08:53 AM
> 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
 
David Efflandt
Guest
Posts: n/a

 
      12-22-2004, 10:18 PM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I am in need of a netsh script that will disable the "Local Area Connection" interface then re-enable that same interface. Spin Windows Networking 3 11-03-2005 12:58 AM
serial interface to ethernet interface Kenneth Sparre Linux Networking 9 11-01-2005 12:27 PM
PCI interface or USB interface David Wireless Networks 4 09-16-2004 01:01 PM
PCI interface or USB interface David Windows Networking 4 09-16-2004 12:59 PM
Linux API to create logical interface on a physical interface? Zarko Coklin Linux Networking 2 07-18-2004 01:50 AM



1 2 3 4 5 6 7 8 9 10 11