1846609 Members
1991 Online
110256 Solutions
New Discussion

adding second nic card

 
SOLVED
Go to solution
needalittlehelpwithHP
Occasional Contributor

adding second nic card

How do I associate a host name with the second nic card that I installed?

nic1 hostname is server1
nic2 hostname is server1bkup

4 REPLIES 4
Tim Nelson
Honored Contributor

Re: adding second nic card

create an entry in /etc/hosts.

One server can have only one hostname that is returned by `hostname` or gethostbyname.

needalittlehelpwithHP
Occasional Contributor

Re: adding second nic card

That was what I was thinking. So there is no need to edit /etc/rc.config.d/netconf ?
Tim Nelson
Honored Contributor
Solution

Re: adding second nic card

There is only one "HOSTNAME" variable in netconf used to set hostname during boot. If you create two entries in netconf then the last entry in the list wins.



needalittlehelpwithHP
Occasional Contributor

Re: adding second nic card

Thanks