Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

adding new IP to the new NIC in 11iv3 & 11iv2

simma
Occasional Advisor

adding new IP to the new NIC in 11iv3 & 11iv2

Hi..

 

I need to add one one IP for the exisiting new card, which is not using currently in 2 of my servers. One is running in 11iv2 and one in 11iv3

 

Can i follow the below procedure. Please correct me if i am wrong.

 

ioscan -fnC lan - to check the lan card counts and its PPA number.
netstat -in - To check which IP is configured on which lan card.
Confirm on which lan card the IP is not configured. Say for example if the lan3 is free.
cp -p /etc/rc.config.d/netconf /var/adm/etc/rc.config.d/netconf
vi /etc/rc.config.d/netconf and put the below entries with your IP,subnet mask

INTERFACE_NAME[3]=lan3
IP_ADDRESS[3]=""
SUBNET_MASK[3]=""
BROADCAST_ADDRESS[3]=""
INTERFACE_STATE[3]=""
DHCP_ENABLE[3]=1

Then re-start the net deamons by

/sbin/init.d/net stop|start

edit the /etc/hosts file and put the new ip entry like below
# For example:
# 192.1.2.34 hpfcrm loghost

check with nslookup command whether IP and hostname are resolving properly
nslookup <Ip address>

3 REPLIES
Patrick Wallek
Honored Contributor

Re: adding new IP to the new NIC in 11iv3 & 11iv2

The number within brackets, the [3] in your case, should be larger than whatever the last is in your current netconf file.

 

If you current file only goes up to [1] then your next value should be [2].

 

Everything else looks OK.  Just be sure to put your appropriate values in the appropriate spaces.  Also make sure you change DHCP_ENABLE to 0.  Since you are manually setting an IP address you do NOT want DHCP enabled for this interface.

simma
Occasional Advisor

Re: adding new IP to the new NIC in 11iv3 & 11iv2

What would be the steps,  if i use nwmgr utility.

Robert_Jewell
Honored Contributor

Re: adding new IP to the new NIC in 11iv3 & 11iv2

> What would be the steps,  if i use nwmgr utility.

 

Basically the same.  You could use nwmgr without options to replace your ioscan -fnClan command.

 

nwmgr basically replaces lanscan, lanadmin and linkloop with a single, albeit more complex, command, but does not rid you of having to manually setup the config files.  

 

To do that use the SMH functionality:

   - via web browser interface access http://<ip-of-server>:2301

   - via command line run # smh

 

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!