Click to See Complete Forum and Search --> : multiple interfaces


Petrolhead
09-15-2003, 04:19 PM
My machine has two network interfaces, eth0 and eth1

eth0 is my LAN card and eth1 is my wireless PCMCIA card.
If both of them are activated, how do I select which one to use to access the internet?

I was using the internet to eth0 and then i activated eth1.
(Both of them are active at the same time now) Then i pulled the plug on eth0 and discovered that I had no access.

How does Linux determine which route to take?

Thanks

DMR
09-16-2003, 07:23 AM
Originally posted by Petrolhead
How does Linux determine which route to take? By the entries in your routing table. Each interface should be bound to a certain network address; any packets bound for a given network will be routed through the associated interface. Read the route man page for a full description, including examples.