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.
the server came with a built in ethernet card that cannot be disabled in the bios. This card is dropping the connection all the time, so I decided to install a second card and use that one to connect to the network.
the problem is that the second car I installed is listd unde eth1 and the bad card et0. When I run netconfig to set a static IP, that IP gets assigned to ETH0.
How can I force the system to assign a static IP to ETH1 (I tried netconfig ETH1 with no luck).
I though all this info was kept under /etc/hosts but only 127.0.0.1 is listed in that file. What file holds that info?
If you can gather information on the irq and base address of the 2 ethernet interfaces, you could use the reserve boot option to manually switch the assignment of eth0 and eth1.
These options have this form. The values will be different for you.
reserve=0x300,32 ether=0,0x300,eth1
reserve=0x340,32 ether=0,0x340,eth0
Or maybe, using the reserve option to disable probing of your on-board ethernet device would be enough.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.