- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: setting up DHCP
Operating System - Linux
1764054
Members
3163
Online
108922
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
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
тАО05-18-2003 07:53 PM
тАО05-18-2003 07:53 PM
setting up DHCP
I am having problem in setting up DHCP on RH Linux 8.0. It installs dhcp3-Oplxxxx instead of dhcpd-xxxxx rpm. I can???t see /etc/dhcpd.conf after installing this software but I do get the daemon installed. What should I do? Does it make sense to create dhcpd.conf and dhcpd.leases manually? Or should I download the source and compile it on my system?
My second question: is there a way to verify which (tcp/udp) port is open or closed on my system.
My second question: is there a way to verify which (tcp/udp) port is open or closed on my system.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2003 10:29 PM
тАО05-18-2003 10:29 PM
Re: setting up DHCP
Hi,
1) copy /usr/share/doc/dhcp-/dhcpd.conf.sample to /etc/dhcpd.conf.
2) netstat -a & nmap
Thanks,
JP
1) copy /usr/share/doc/dhcp-
2) netstat -a & nmap
Thanks,
JP
Open your Mind and use Open Source software...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2003 10:34 PM
тАО05-18-2003 10:34 PM
Re: setting up DHCP
in my RH 7.3 system there is a /etc/sysconfig/dhcpd file,
and probably the service configuration is stored
in it (I never used dhcp before...). But the rpms installed are different
from yours (dhcpcd-1.3.22pl1-7, dhcp-2.0pl5-8).
to verify the state of tcp/udp ports usually I look at the first part of 'netstat -an' command's output and the firewall rules (iptables -L).
Ciao
Claudio
and probably the service configuration is stored
in it (I never used dhcp before...). But the rpms installed are different
from yours (dhcpcd-1.3.22pl1-7, dhcp-2.0pl5-8).
to verify the state of tcp/udp ports usually I look at the first part of 'netstat -an' command's output and the firewall rules (iptables -L).
Ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2003 11:17 PM
тАО05-18-2003 11:17 PM
Re: setting up DHCP
What Jean-Pierre has said is exactally what you need to do.
Other steps is to make sure that the DHCPD service starts upon boot-up (chkconfig dhcpd on), and to start it (service dhcpd start) after you've made your modifications to ./etc/dhcpd.conf'.
The sample file has enough details in it to make a basic config, and the man page for 'dhcpd.conf' is quite informative.
As for the second, beyond what Jean-Pierre has said, you'll need to make sure that UDP port 67 is not blocked by whatever firewall you are using (iptables -nvL).
Hope this helps you a bit further along.
Other steps is to make sure that the DHCPD service starts upon boot-up (chkconfig dhcpd on), and to start it (service dhcpd start) after you've made your modifications to ./etc/dhcpd.conf'.
The sample file has enough details in it to make a basic config, and the man page for 'dhcpd.conf' is quite informative.
As for the second, beyond what Jean-Pierre has said, you'll need to make sure that UDP port 67 is not blocked by whatever firewall you are using (iptables -nvL).
Hope this helps you a bit further along.
One long-haired git at your service...
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP