Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a question about using two ethernet adapeters at the same time. I have two computers running Win2K and one running Mandrake 10.1 all with two ethernet adapters. One adapter is connected to a DSL router, and the other to an ethernet hub for local networking. This works fine in the Windows boxes but gives me trouble in the Linux box.
With one adapter (eth0) active, connected to the router, internet access works fine. But when I activate the 2nd adapter (eth1), connected to the hub, internet
access no longer works. I'm not sure if local networking works, since I haven't got past the internet problem yet. BTW, the adapters are using IP addresses in different subnets.
What's going on here? How do internet applications know which adapter to use? I haven't been able to find any parameters about this, and I'm kind of a networking newbie.
Apps decide which path to take depeding on which interface can talk to default gateway (route). Do you have a default route set when both interfaces are active? What are the network/netmask combos you're using? If you're a network newbie, it's easy to screw up netmasks.
Thanks to sigsegv and Butt-Ugly for the info. I read the Networking-Overview-HOWTO and the The Linux Network Administrator's Guide, but somehow missed the Linux Home Server HOWTO!
My routing table specified eth1 as the default. When I corrected it, the problem was gone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.