- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring dhcp - dhcpdeny
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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-07-2002 09:55 AM
05-07-2002 09:55 AM
Also if the format of the dhcpdeny could be explained. What values go in which of the three columns...
Thanks,
Stev
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 10:29 AM
05-07-2002 10:29 AM
Solution# cd /usr/lbin
# strings bootpd|grep -i dhcpdeny
===> if you get nothing back it means "dhcpdeny" won;t work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 10:48 AM
05-07-2002 10:48 AM
Re: Configuring dhcp - dhcpdeny
I checked my 11.0 servers as S.K. suggested and got nothing. The man page for bootpd on 11.0 contains nothing about dhcpdeny. However, my 11.11 workstations have the following section in the man pages for bootpd:
Dhcpdeny Configuration
The configuration file /etc/dhcpdeny contains the list of hardware
addresses, one address per line, for clients that will not be served
by our server. If we know about some bad clients in the network and we
don't want to serve them, add the hardware address of those clients in
this file. This file, like other configuration files, takes #
character as the starting of a comment.
It looks to me like you need to be at 11i to use this feature.
Good luck,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 11:02 AM
05-07-2002 11:02 AM
Re: Configuring dhcp - dhcpdeny
Check these guides about configuring dhcpdeny:
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/61-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/61-toc.html&searchterms=dhcpdeny&queryid=20020507-120703
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90691/B2355-90691_top.html&con=/hpux/onlinedocs/B2355-90691/00/00/50-con.html&toc=/hpux/onlinedocs/B2355-90691/00/00/50-toc.html&searchterms=dhcpdeny&queryid=20020507-120703
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 10:26 PM
05-08-2002 10:26 PM
Re: Configuring dhcp - dhcpdeny
I don't think that dhcpdeny is going to allow you to accomplish your goal in any case. You mentioned that you want this person with the hard coded IP address to not get network connectivity and this approach is simply going to deny assignment of an IP address via DHCP. (This person has already hard-coded the address, so they won't be affected...)
I think you're going to need to do some more sleuthing to get this resolved.
If learning the hostname of the PC will help, you might be able to determine it by executing a traceroute command from the command prompt of a PC (e.g. >tracert 192.1.2.3). This may not help if the PC has firewall software running. Also, some versions of Windows won't respond with the Hostname.
If you are running SNMP-based network management software, like HP Openview NNM, you could probably trace the address to a physical port on a managed switch or hub and, if you have a good map of your network, it may lead you right to the offending box.
Another approach would be to remove that address from the DHCP pool temporarily and hard-address some non-critical PC and leave it running on the network. Eventually, the offender will either come looking for help as you suggested (if it was an "honest mistake") or they'll borrow a different address.
I hope this helps you get to the bottom of things -- good luck!
Dave