1850297 Members
2642 Online
104053 Solutions
New Discussion

DHCP

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

DHCP

If I use DHCP to set up my N4000 on the network, I know I when configuring the network card I click the "enable DHCP Client"
button. But don't I have to define the scope of addresses that I am handing out? If so where do I do this? Am I missing something?

10x
RPM
UNIX IS GOOD
10 REPLIES 10
Nobody's Hero
Valued Contributor

Re: DHCP

How about the /etc/dhcptab? Do I use this to populate the scope?
UNIX IS GOOD
D Block 2
Respected Contributor

Re: DHCP

Robert,
you most likely will have to specify the Gateway (or router) that responds to the DHCP Client requests. I would suggest you provide a static IP rather than a DHCP-Client. If you specify a Static, you will need the Gateway IP Address along w/ the DNS IP Address.
Golf is a Good Walk Spoiled, Mark Twain.
Geoff Wild
Honored Contributor

Re: DHCP

Yes, you need dhcptab:

http://docs.hp.com/en/B2355-90775/ch04s02.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Simon Hargrave
Honored Contributor

Re: DHCP

The "enable DHCP Client" option does just that, enables the server as a client. Meaning that it will perform a DHCP broadcast to find its LAN address etc. It does NOT define a scope, that is the job of a server.

What is it you want to do. You want this server to get its address from a DHCP server somewhere on your network, or you want it to provide DHCP addresses to other machines on the network?
Thayanidhi
Honored Contributor

Re: DHCP

DHCP scope is from DHCP server. When you enable DHCP client, the server pick the IP from existing DHCP server. You should have already DHCP server running in the network.

A DHCP server should have fixed IP. The scope is also configured from DHCP server.

Do you want configure N4000 as DHCP server?

Regds
TT
Attitude (not aptitude) determines altitude.
Rick Garland
Honored Contributor

Re: DHCP

Where is the DHCP server?
What is the DHCP server?

This is where the N box will get its networking info from.
Nobody's Hero
Valued Contributor

Re: DHCP

Simon, I want my server to hand out IP addresses to other machines on my network.
UNIX IS GOOD
Geoff Wild
Honored Contributor

Re: DHCP

Sorry - misunderstood - thought you were setting up a DHCP server - for a client - just enable DHCP - then restart networking...

Enabling DHCP on a System Not Initially Configured with DHCP


As root, start SAM.

Double-click Networking and Communications.

Double-click Network Interface Cards.

Highlight the card you wish to enable DHCP on.

Go to the Actions menu and select Configure.

Click once on the Enable DHCP button.

Click OK and exit SAM.

Your system will start using DHCP after the next reboot.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Simon Hargrave
Honored Contributor
Solution

Re: DHCP

In which case, assuming you want to provide IP addresses for HPUX machines (and not Windows machines) you can use bootp:

Enabled the bootpd in /etc/inetd.conf
Add your machines/IP addresses in /etc/bootptab (it's well documented).
Run inetd -c to tell inetd to reload config and answer bootp requests.

Also you do not want to enable the DHCP client on this server (it needs a static address), so only tick that option on the "client" machines.
Joshua Scott
Honored Contributor

Re: DHCP

Robert,

You need to set up the DHCP *Server* on your N4000. This will enable your N4000 to hand out IP Addresses to computers on your network. Is this what you're trying to do?

Josh
What are the chances...