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 2 nics in my system, eth0 and eth1. some how it thinks eth1 is the default nic and uses that to connect to the net. how do i make eth0 default so when the 2 nics are activated, it uses eth0 as default instead of the eth1 card? i'm using fc3 atm.
how do you save the routing table? it seems to work when i change the default to eth0, but when i restart the system or do a network restart, it goes back to eth1 being default.
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
i am not familiar with fc, but i am somewhat sure that there will be files which hold information for either all your nic's or a file per nic.
these files will look similar to the following (i assume you have dhcp setup on your network):
auto eth0
iface eth0 inet dhcp
you will also fine a file in /etc which configures your dhcp client (dhclient.conf?) lookup man pages for this file. you should find options with which you can tell one of the devices to be the derault root and a lot more stuff is configureable with your dhcp client.
If you're running Gnome, look for a Network graphical tool in the menubar. If I recall correctly, on FC3 it's in Applications->System Tools or something similar. You should be able to modify your network settings permanently using that tool. (I'm running FC4 now, so I'm working from memory when it comes to FC3... Sorry.)
The thing is, no matter if I enable eth1, it always makes it default instead of eth0. that's my problem. I want to make eth0 default and use that as my main connection. It doesn't let me do that for some reason.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.