Operating System - HP-UX
1832587 Members
3481 Online
110043 Solutions
New Discussion

How to change subnet mask in HP Unix 11i and Oracle 11i

 
SOLVED
Go to solution
ng_7
Regular Advisor

How to change subnet mask in HP Unix 11i and Oracle 11i

hi, friends

does anyone could tell me where to change subnet mask in HP Unix 11i and Oracle 11i ? We need to do this as because our current class C subnet IP is not enough , thus, have to change to class B so that we can have more IP.

thank you very much

regards
ng
5 REPLIES 5
Torsten.
Acclaimed Contributor
Solution

Re: How to change subnet mask in HP Unix 11i and Oracle 11i

Hi,

you may check /etc/rc.config.d/netconf or run set_parms script.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ninad_1
Honored Contributor

Re: How to change subnet mask in HP Unix 11i and Oracle 11i

Hi,

As Torsten has advised, you can make the changes permanent to the system. If you want to make the changes effective right away - then you can use the ifconfig command to change the subnet mask as in following example.
ifconfig lan0 192.168.1.25 netmask 255.255.0.0 up

But note that before making this change/issuing this command - note that if you are connected using the same interface you will get momentorily disconnected. Also ensure that you have other settings/routing etc correct for say the desktop/workstation/server you are using to access this server.
It would be better to take a planned outage wherein you shutdown any services and carryout this activity, if it is one many servers.

Regards,
Ninad
Sudalaimani
Frequent Advisor

Re: How to change subnet mask in HP Unix 11i and Oracle 11i

Hi,

To make the subnet change permanent

1. Update the subnet on the /etc/rc.config.d/netconf file with new subnet by repalcing the earlier one.

2. Update the specific card with the
# ifconfig lan3 10.x.x.55 netmask 255.255.0.0

3. If you cna bear the momentarily network stop the use this

#/sbin/init.d/net stop
#/sbin/init.d/net start

4. If needed,update the related /etc/resolv.conf.

5. If you are using IP/subnet in your oracle Finacials then update the related configuration files

regards

Mani

A Long Journey Starts with Single Foot Step
Sudalaimani
Frequent Advisor

Re: How to change subnet mask in HP Unix 11i and Oracle 11i

One more thing,

if this is a cluster nodes,

1.you need run the cmquerycl
2. Update the subnet entries (if you have configured in the cluster conf file.

3. cmapply conf with the modfied changes and this is an offline change, it will update the cmclconfig.

regards

Mani
A Long Journey Starts with Single Foot Step
ng_7
Regular Advisor

Re: How to change subnet mask in HP Unix 11i and Oracle 11i

thanks you very much, I managed to changed my subnet mask from all your guidance.

thanks

Regards
ng