1832922 Members
2730 Online
110048 Solutions
New Discussion

DHCP in HP-UX 11

 
Paul Johnsen
Occasional Advisor

DHCP in HP-UX 11

We just set up a new network in our facility, and it uses DHCP to set each workstations IP address. It works just fine on the M$ Winblows boxes, but I'm having trouble getting it to work on my HP-UX 11.11i machine. It has contacted the server and gotten the IP address, set_parms shows the correct gateway and DNS servers. The PCs can ping the machine, and check out licenses for software, but the HP box can't ping to anything else or do nslookup or anything else on the net.
4 REPLIES 4
Biswajit Tripathy
Honored Contributor

Re: DHCP in HP-UX 11

Can the HP box ping other machines when IP address
instead of hostname is used? If yes, check your
/etc/hosts file to make sure that an entry "dns"
is present in the line starting with "hosts".

- Biswajit
:-)
Paul Johnsen
Occasional Advisor

Re: DHCP in HP-UX 11

I can ping numerical addresses within the same subnet, but not outside of the subnet. I had a couple of people that have PCs outside of my subnet try to ping and they could not. I have a call in to our net folks, and they are looking into it as well if it is on their hardware somewhere.
Ron Kinner
Honored Contributor

Re: DHCP in HP-UX 11

Can you ping the gateway? If not you may need to turn off Dead Gateway Detection on the HPUX.

If

ndd -get /dev/ip ip_ire_gw_probe

returns 1 then that could be your problem.

ndd -set /dev/ip ip_ire_gw_probe 0

Then delete and add the gateway using
route

also edit /etc/rc.conf.d/ndd.conf

to add:

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe
NDD_VALUE[0]=0

use the next available integer in the brackets if you already have an entry. This will make it stay after a reboot.

Ron



Paul Johnsen
Occasional Advisor

Re: DHCP in HP-UX 11

Yes, I could ping the gateway. The ndd command returns 0, and I had to turn that off some time ago.

I have "solved" the problem by setting up static IP addressing. Our net has been set up in such a manner that that can be done.