- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- DHCP and DHCPD
Operating System - Linux
1822000
Members
3696
Online
109639
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2002 10:44 PM
тАО09-16-2002 10:44 PM
DHCP and DHCPD
I am having another issue that i am unable to resolve.
Here is the problem:
When I connect my RH Linux 7.2 server to the internet to eth0 my cable modem and hub goes nuts. When I check PS -AX | grep DHCP, There is an entry for ..../dhcpd -n eth0. Unfortunately I can not have this due to the fact that this is the ATTBI connection. When I kill the process for the DHCP -n eth0 i then lose eth0 from ifconfig. And when I enable eth0, sure and behold, the connection does the same thing AGAIN. when I check PS -AX again, the same entry is back (only with a different PID). I have even gone as far as changing the ethernet configuration (eth0 -> eth1, and vice versa). When I attempt to start the DHCP server again, I get an errormessage stating that I need to supplu subnet parameters in the dhcpd.conf file.
Here is my dhcpd.conf file:
option netbios-name-servers 192.168.0.250;
option netbios-dd-server 192.168.0.250;
option domain-name-servers 192.168.0.250;
option domain-name "attbi.com";
option routers 192.168.0.250;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.0.0;
allow unknown-clients;
default-lease-time 31536000;
max-lease-time 31536000;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
host jschultz-laptop {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 192.168.0.3;
}
host jschultz-desk {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 192.168.0.2;
}
}
subnet 12.254.199.73 netmask 255.255.254.0 {
}
And I have tried changing "subnet 12.254.199.73 netmask 255.255.254.0" to "subnet 12.254.199.0 netmask 255.255.254.0"
Thanx in advanced for any assistance :)
Here is the problem:
When I connect my RH Linux 7.2 server to the internet to eth0 my cable modem and hub goes nuts. When I check PS -AX | grep DHCP, There is an entry for ..../dhcpd -n eth0. Unfortunately I can not have this due to the fact that this is the ATTBI connection. When I kill the process for the DHCP -n eth0 i then lose eth0 from ifconfig. And when I enable eth0, sure and behold, the connection does the same thing AGAIN. when I check PS -AX again, the same entry is back (only with a different PID). I have even gone as far as changing the ethernet configuration (eth0 -> eth1, and vice versa). When I attempt to start the DHCP server again, I get an errormessage stating that I need to supplu subnet parameters in the dhcpd.conf file.
Here is my dhcpd.conf file:
option netbios-name-servers 192.168.0.250;
option netbios-dd-server 192.168.0.250;
option domain-name-servers 192.168.0.250;
option domain-name "attbi.com";
option routers 192.168.0.250;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.0.0;
allow unknown-clients;
default-lease-time 31536000;
max-lease-time 31536000;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
host jschultz-laptop {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 192.168.0.3;
}
host jschultz-desk {
hardware ethernet XX:XX:XX:XX:XX:XX;
fixed-address 192.168.0.2;
}
}
subnet 12.254.199.73 netmask 255.255.254.0 {
}
And I have tried changing "subnet 12.254.199.73 netmask 255.255.254.0" to "subnet 12.254.199.0 netmask 255.255.254.0"
Thanx in advanced for any assistance :)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 12:15 PM
тАО09-17-2002 12:15 PM
Re: DHCP and DHCPD
Hi,
Are you talking about dhcpd or dhcpcd ? dhcpd is the server daemon and dhcpcd is the client daemon.
When you decide to boot your LAN connection using dhcp, the client daemon dhcpcd is started with the parameters stored in /etc/sysconfig/network-scripts/ifcfg-eth0.
If the BOOTPROTO parameter is set to "dhcp", then "dhcpcd" is automatically started during boot process. If you kill this daemon, the networking interface disappears.
To avoid doing this, change your network configuration to make it static.
In /etc/sysconfig/network-scripts/ifcfg-eth0 :
DEVICE=eth0
BOOTPROTO=static
BROADCAST=
IPADDR=
NETMASK=
NETWORK=
ONBOOT=yes
Good luck.
Kodjo
Are you talking about dhcpd or dhcpcd ? dhcpd is the server daemon and dhcpcd is the client daemon.
When you decide to boot your LAN connection using dhcp, the client daemon dhcpcd is started with the parameters stored in /etc/sysconfig/network-scripts/ifcfg-eth0.
If the BOOTPROTO parameter is set to "dhcp", then "dhcpcd" is automatically started during boot process. If you kill this daemon, the networking interface disappears.
To avoid doing this, change your network configuration to make it static.
In /etc/sysconfig/network-scripts/ifcfg-eth0 :
DEVICE=eth0
BOOTPROTO=static
BROADCAST=
IPADDR=
NETMASK=
NETWORK=
ONBOOT=yes
Good luck.
Kodjo
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 05:25 PM
тАО09-17-2002 05:25 PM
Re: DHCP and DHCPD
ok, clarification :)
eth0 is connected to ATTBI (it has to be set to obtain an IP from ATTBI) and the ETH1 is my private network and it needs to listen for requests.
eth0 is connected to ATTBI (it has to be set to obtain an IP from ATTBI) and the ETH1 is my private network and it needs to listen for requests.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP