Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dual NICs

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
Could someone please point me in thr right direction for installing two NICs into a RH 7.2 server? I have looked at various documents I have found on Red Hat's web site and on the Internet, but they are stating the aliases should be contained in /etc/conf.modules. When I boot the system, I am receiving the message that the use of conf.modules has been deprecated and should be deleted.

Thanks in advance for your help.



Jay
 
I can help you.

(1) /etc/modules.conf will only be important if the nics use a module and not built into the kernel. Most likely you will have modules (the RedHat default).

(2) Are they the same type of card? What kind of card are they. The program kudzu should detect them and ask if you want to set them up. Lets assume that they are supported nics.

The /etc/modules.conf will have:
alias eth0 whatevermodule
alias eth1 whatevermodule

(3) Are they going to be static or dhcp. If you have a dhcp server, lets leave them at dhcp to verify that they work correctly. In the directory /etc/sysconfig/network-scripts there needs to be 2 files. ifcfg-eth0 and ifcfg-eth1. They will look something like this:

DEVICE=eth0 (or eth1)
BOOTPROTO=dhcp
ONBOOT=yes

this will bring both cards up as dhcp. ONBOOT must be set to yes to be brought up at boot time.

(4) Default gateway: Edit the /etc/sysconfig/network file and add
GATEWAYDEV=eth0
GATEWAY=x.x.x.x (ip of the gateway or don't have this line if using dhcp)

(5) Edit the /etc/hosts file. If you ware using dhcp, then add the hostname to the 127.0.0.0 lo entry. Otherwise have at least one entry. Most like eth0
192.168.1.X myservername.com myservername
One of the 2 name parts must be the fully qualified domainname. I like to use the FQDN on the left name and use all shotname and alias on the right
192.168.1.X myservername.com myservername server servername


This should be enough to get you going. If you need more, just let me know.

 
Both the cards use the 3c50X driver. I can't remember the exact 3-Com model number off the top of my head.

Thanks for the help. With the information you have given me, this should take no time at all tomorrow.

Thanks again for all your help and the exremely fast responses.



Jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top