System Administration
Showing results for 
Search instead for 
Did you mean: 

configure three ethernet cards

Frequent Advisor

configure three ethernet cards

Hi all

I would like to configure three ethernet cards and among these,one is having static ip address and other card is dhcp endbled.
Both are private lan network.

I am using RHEL4. If I create ifcfg-eth0 , ifcfg-eth1 , ifcfg-eth2 files under /etc/sysconfig/network-scripts directory and then put IP Address and other entries Will it work?

Please help me the to get the complete configuration?

Thanks in advance.
Court Campbell
Honored Contributor

Re: configure three ethernet cards

I would be surprised if the files were not already there. But as long as the cards are recognized and the modules are loaded I wouldn't see an issue. You would just need to restart the network daemon afterward or run ifconfig on the interfaces. I would personally just run "setup" from the command line. It gives a nice tui interface.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Ivan Ferreira
Honored Contributor

Re: configure three ethernet cards

If you want to do it simple, you can also use system-config-network or system-config-network-tui.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: configure three ethernet cards


The presence of these files seems to indicate that the network cards are recognized.

Test them all with mii-tool or ethtool to make sure they have link.

Then I would use system-config-network to finish the final configuration.


Steven E Protter
Owner of ISN Corporation