Bug 30298
| Summary: | dhcp config error | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Matthew Mahoney <mahoneym> |
| Component: | dhcp | Assignee: | Erik Troan <ewt> |
| Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-03-02 13:29:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Matthew Mahoney
2001-03-02 13:29:00 UTC
You need subnet delacarations in your dhcpd.conf for all your network interfaces; my best suggestion is to look at the man page for documentation on how to set it up. I have consulted the man page for dhcpd.conf. I haven't found an example on
how to create a subnet declaration for eth0. Here is my dhcpd.conf file:
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
range dynamic-bootp 192.168.0.1 192.168.0.250;
default-lease-time 21600;
max-lease-time 43200;
server-identifier matty;
option routers 192.168.0.254;
option subnet-mask 255.255.255.0;
option time-offset -5; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
# we want the nameserver to appear at a fixed address
host matty {
hardware ethernet 00:E0:81:01:54:05;
fixed-address 192.168.0.254;
}
}
|