Sponsored Content
Full Discussion: Help on DHCP
Top Forums UNIX for Dummies Questions & Answers Help on DHCP Post 302565162 by sriram003 on Monday 17th of October 2011 07:49:08 AM
Old 10-17-2011
Help on DHCP

Hi All,



I am trying to configure dhcp server on a linux host with eth0:1 which is using 192.168.1.10

I also want to restrict my DHCP client to just one Host adcnew222.


DHCP Server Host name - adcnew111

DHCP client name - adcnew222

My conf file is as follows on dhcp server :




In /etc/dhcpd.conf

=======

ddns-update-style interim;
ignore client-updates;

interface eth0:1;

subnet 192.168.1.0 netmask 255.255.255.0 {


range 192.168.1.128 192.168.1.254; # Range of IP addresses to be issued to DHCP clients
option subnet-mask 255.255.255.0; # Default subnet mask to be used by DHCP clients
option broadcast-address 192.168.1.255; # Default broadcastaddress to be used by DHCP clients
option routers 192.168.1.10; # Default gateway to be used by DHCP clients
option domain-name "us.domain.com";
option domain-name-servers 144.20.110.70, 138.22.202.15, 130.53.242.41; # Default DNS to be used by DHCP clients


default-lease-time 21600;
max-lease-time 43200;



host adcnew222 {
adcnew222.us.oracle.com;
hardware ethernet 00:16:3E:48:E1:3E;

}


}


=====


Please correct me on what i am doing wrong

Thanks,
Sriram

---------- Post updated at 06:43 AM ---------- Previous update was at 06:25 AM ----------

One quick question , how to start dhcp server to listen on eth0:1

---------- Post updated at 07:49 AM ---------- Previous update was at 06:43 AM ----------

Hi Guys ,

I am now getting :

dhcpd eth0:1
Internet Systems Consortium DHCP Server V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit DHCP | Internet Systems Consortium
Wrote 0 leases to leases file.

No subnet declaration for eth0:1 (0.0.0.0).
** Ignoring requests on eth0:1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0:1 is attached. **


Not configured to listen on any interfaces!

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
 

10 More Discussions You Might Find Interesting

1. IP Networking

Dhcp

Hello all, I have this Intel Pentium 233/128 running Solaris 8. I also have a dhcp/router/dns running SuSElinux 7.2.(Sorry if it is out of topic here) My problem is that the Solaris box when it tries to configure the interface (elxl0) via dhcp it fails. It appears, according to the... (1 Reply)
Discussion started by: jdevarie
1 Replies

2. UNIX for Dummies Questions & Answers

Dhcp

When using DHCP how can I can my hostname. I vi all the hosts file and if still didn't work. So now my hostname is unknown and I want to change it. So if anyone out there can help me. Thank You (6 Replies)
Discussion started by: aojmoj
6 Replies

3. UNIX for Advanced & Expert Users

Dhcp

Hi you all. I'm trying to enable DHCP in a Sun Utra 5 runing Solaris 8 but during the boot process it sends me the message : "Device not in appropiate status" Do anyone have enabled DHCP on solaris 8? Any Procedure? The DHCP server is an NT I guess. (2 Replies)
Discussion started by: alex blanco
2 Replies

4. UNIX for Dummies Questions & Answers

Dhcp

HI, New to Unix and I inherited a network that runs DHCP in manual configuration mode. Basically, in order for a machine to get an IP it has to have an entry in dhcpd.conf with its MAC address mapped to a hostname (the hostname then maps to an IP address listed in the DNS db file). If there is... (2 Replies)
Discussion started by: NJay
2 Replies

5. UNIX for Advanced & Expert Users

Dhcp

Last question for today!! :rolleyes: In what file does the DHCP server keep its list of leases? THANKS!!! :) Maria from Maria (2 Replies)
Discussion started by: marjeg
2 Replies

6. Solaris

DHCP help

Can someone help me with this please. I am new to this: I am trying to install Solaris 8 over the network using my DHCP. After I type the comman: ./add_install_client -d -e 8:0:20:7e:97:51 I would get something like this: cleaning up preexisting install client "8:0:20:7e:97:51"... (0 Replies)
Discussion started by: aliban83
0 Replies

7. IP Networking

dhcp

can I request for an ipaddress through dhcp client by sending ipaddress as input during the invokation of dhcpclient so that it requests the server for the same,instead of depending on the configuration file . (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

8. IP Networking

Can't get DHCP IP

Dear Experts, I have a TI DM8148 EVM board REV C, the EZSDK5.05 SW package, and DVRRDK1.09 SW package. EZSDK5.05, DVRRDK1.09 both use Linux2.6.37, however, there are some modifications between these two kernels. When I use uImage of DVRRDK1.09 to boot up EVM board, this board can be given a... (0 Replies)
Discussion started by: oobin168
0 Replies

9. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

10. IP Networking

Dhcp

I have a DHCP thing on my HP printer. How can I find information on numbers for that? (2 Replies)
Discussion started by: teak
2 Replies
dhcpmgr(1M)                                               System Administration Commands                                               dhcpmgr(1M)

NAME
dhcpmgr - graphical interface for managing DHCP service SYNOPSIS
/usr/sadm/admin/bin/dhcpmgr DESCRIPTION
dhcpmgr is a graphical user interface which enables you to manage the Dynamic Host Configuration Protocol (DHCP) service on the local sys- tem. It performs the functions of the dhcpconfig, dhtadm, and pntadm command line utilities. You must be root to use dhcpmgr. The dhcpmgr Help, available from the Help menu, contains detailed information about using the tool. USAGE
You can perform the following tasks using dhcpmgr: Configure DHCP service Use dhcpmgr to configure the DHCP daemon as a DHCP server, and select the data store to use for storing network configuration tables.. Configure BOOTP relay service Use dhcpmgr to configure the DHCP daemon as a BOOTP relay. Manage DHCP or BOOTP relay service Use dhcpmgr to start, stop, enable, disable or unconfigure the DHCP service or BOOTP relay service, or change DHCP server parameters. Manage DHCP addresses Use dhcpmgr to add, modify, or delete IP addresses leased by the DHCP service. Manage DHCP macros Use dhcpmgr to add, modify or delete macros used to supply configuration parameters to DHCP clients. Manage DHCP options Use dhcpmgr to add, modify or delete options used to define parameters deliverable through DHCP. Convert to a new DHCP data store Use dhcpmgr to configure the DHCP server to use a different data store, and convert the DHCP data to the format used by the new data store. Move DHCP data to another server Use dhcpmgr to export data from one Solaris DHCP server and import data onto another Solaris DHCP server. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdhcm | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dhcpconfig(1M), dhtadm(1M), pntadm(1M), in.dhcpd(1M), dhcpsvc.conf(4), dhcp_network(4), dhcptab(4), attributes(5), dhcp(5), dhcp_modules(5) Solaris DHCP Service Developer's Guide System Administration Guide: IP Services SunOS 5.10 13 Mar 2001 dhcpmgr(1M)
All times are GMT -4. The time now is 08:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy