DHCP install - clarification

Thomas Dodd ted at cypress.com
Thu Feb 19 21:35:02 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Omar Zamora wrote:

| I want to set up a DHCP server. I manually assigned a static IP address to
| my self on eth0.  10.64.0.20. I understand that I have to edit the
| /etc/dhcpd.conf file. I don't see a file called dhcpd.conf. The DHCP will
| not have more than 4 clients.
| What must be done in order to have DHCP up and running?

Make sure you have the dhcp serve package installed
~    rpm -q dhcp
Copy the sample from /usr/share/doc/dhcp-*/dhcp.conf.sample to
/etc/dhcpd.conf then edit it to suit you needs. read the man pages or
find a tutorial (try the linux documentation project).

'service dhcpd start' will start the server for testing.
The -T option to dhcpcd is handy for testing servers.

When you are happy with the configuration, use chkconfig to start dhcpd
at the correct runlevels.

I'm not sure what the static IP for eth0 has to so with this now.
Is that the address of the server? DHCP clients don't use an address to
find the server, it's a broadcast query.

	-Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFANSwF+mwggWqA1pQRArvLAKDCDilREfJJCBrwsxKfXJNSI/bJxQCgzo/P
z/jjZMogIe9rDZyd46I+b6g=
=oKbM
-----END PGP SIGNATURE-----





More information about the Redhat-install-list mailing list