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 machine on which I just installed FC5. It's fully up to date, as of yesterday. It is supposed to be a server, so I did not install anything GUI related. It has 3 Ethernet interfaces, all different brands: one Intel, one 3Com, and one D-Link.
I tried running "system-config-network", but...well... the text version *really* doesn't work. It only allows me to edit the configuration for "eth1" and, at one point, it even deleted that config, when I tried to make changes. I'd edit the configuration files manually, but every bit of documentation I've seen says not to do that.
Reasearch these files: ifcfg-ethx (ex. ifcfg-eth0)
To manually configure the network cards go to /etc/sysconfig/network-scripts/ to find the above files.
Since this is a server all of your NICs will have static IPs.
I know about all those files and the "ifconfig" command. If you're sure that, in spite of all the documentation I've seen that says "DON'T EDIT THESE FILES MANUALLY" (usually in upper case), it's actually okay in this case, I can handle the editing.
Well edit them manually!!!!!
You know what you are doing. These scripts run each time your computer starts to configure the NICs so they should be set accordingly. That said, those scripts are set to pull DHCP when you want to set them to some static address. According to the planned network layout that you hopefully have, you will need the server to have a static IP. You want to be as detailed as possible to avoid any problems in the future.
Wow, did I learn my lesson: never, EVER, use "system-config-network" on a text-mode system. It took me all this time to get my "ifcfg-*" files back to a usable state. First, I discovered my MAC addresses got screwed up, so I fixed that. Then I found that, for some reason, the names of my "eth1" and "eth2" interfaces were being swapped during the boot process. I finally got it working, but my "ifcfg-eth1" still says "DEVICE=eth2", while my "ifcfg-eth2" says "DEVICE=eth1".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.