Operating System - HP-UX
1826290 Members
4492 Online
109692 Solutions
New Discussion

how to assign dynamic ip address in hpux on itanium server

 
SOLVED
Go to solution
siva baskaran
Regular Advisor

how to assign dynamic ip address in hpux on itanium server

Dears,
i have used set_parms initial cmd to change static ip to dynamic ip(from dhcp) it's not prompting me to select dhcp, ever asking ip (static) to configure lan0, even i have tried with SAM also there also asking ip address to configure lan0 even it's not accepting blank ip address even i selected enabling DHCP client within that menu

thereafter i have clear /etc/hosts entry and restarted server. eventhough it's not taking ip from DHCP server

what should i do in this case , i have to set ip dynamically,

Note all above for itanium server rx 2620

please give me solution

thanks
siva
5 REPLIES 5
Sundar_7
Honored Contributor
Solution

Re: how to assign dynamic ip address in hpux on itanium server

Hi Siva,

Edit the /etc/rc.config.d/netconf file and set the DHCP_ENABLE[X] to 1 for the particular interface card, then reboot the server.

Sundar
Learn What to do ,How to do and more importantly When to do ?
Marcel Boogert_1
Trusted Contributor

Re: how to assign dynamic ip address in hpux on itanium server

Hi there,

Use:
# vi /etc/rc.config.d/netconf

and configure your lan0 interface with: DHCP_ENABLE[0]=1

Afterwards use:

# ifconfig lan0 down
# ifconfig lan0 up

MB.
Steven E. Protter
Exalted Contributor

Re: how to assign dynamic ip address in hpux on itanium server

Shalom siva,

I'd suggest using sam for this.

Its a server, it really needs a fixed address in order for people and machines to know where it is.

There should be an error message in the sam logs as to why the change failed. Perhaps you are working on the wrong NIC card.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor

Re: how to assign dynamic ip address in hpux on itanium server

I am afraid ifconfig down and up is not going to get you the IP from DHCP server. The last time I tried, there was no way to get the Dynamic IP without a reboot.
Learn What to do ,How to do and more importantly When to do ?
Torsten.
Acclaimed Contributor

Re: how to assign dynamic ip address in hpux on itanium server

IMHO, it is very, very **unusual** to use DHCP for a HP-UX server. I have never ever seen it.

What is your reason to do this?

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!