Operating System - HP-UX
1825450 Members
3190 Online
109681 Solutions
New Discussion юеВ

Enable dhcp in lan0 at bootup

 
Soma_1
Occasional Advisor

Enable dhcp in lan0 at bootup

Hi all,
I have installed HPUX 11i on a A Class machine ( I used a cd that said "Technical Computing Operating Environment Core OE install and recovery".
Now tt detects my lan card as lan0 and then Iam able to give lan0 an static ip, but when I changed /etc/rc.config.d/netconf file to enable dhcp on lan0 and then rebooted the box Iam not geting the ipaddress for the lan0. Ive attached my netconf file can you see if it is wrong.
Also I can't even see the dhcp request reaching the dhcp server( DHCP server is a solaris box, I run /usr/sbin/dhcpd -d -a)

Also, How can I make lan0 to get a dhcp address from command line.
4 REPLIES 4
Soma_1
Occasional Advisor

Re: Enable dhcp in lan0 at bootup

One more question,
What software is required on the server to make lan cards get dhcp based address ?
I can verify if that is properly installed or not.
Sridhar Bhaskarla
Honored Contributor

Re: Enable dhcp in lan0 at bootup

Soma

DHCP is run with /sbin/auto_parms based on the flags set in netconf. Check the log files /tmp/auto_parms.log and /tmp/dhcpclient.log. You will get more information there.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: Enable dhcp in lan0 at bootup

Hi,

You can configure DHCP from sam itself. Go to Sam -> Networking and Communication --> Network Interface Cards --> Selcect lan0 -> Select Action from Toolbar --> Select Configure / Modify and Enable DHCP Client Over there. Remove the static IP assigned to this lan port.

Hope this helps.
Soma_1
Occasional Advisor

Re: Enable dhcp in lan0 at bootup

hi guys,
I want to keep lan1 disabled at boot time and execute some command line and get dhcp ip. This is for "lan1".
For "lan0" ip should be given dhcp at boot time.
What should I do?
Thank You,
Soma