07-09-2001
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 /var/log/messages file in the server, that the Solaris box is requesting address 192.168.0.255 but the server won't allow it.
Why is it requesting this address only? Why wouldn't it request something else? I have other Linux and Windows machines that work without any problems. All of them are set to DHCP and the only server in my Lan is the Linux box.
I specified a fixed address for the Solaris interface using the Mac address at the server. After I did that and made a new /etc/resolv.conf file it started working. My goal is to have all of my lan machines access the internet without proxies.
By the way, the pool of addreses is 192.168.0.1 through 255.
Now that it seems to work, is not a big deal but it just seems strange.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Advanced & Expert Users
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Advanced & Expert Users
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
5. Solaris
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
6. IP Networking
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
7. UNIX for Dummies Questions & Answers
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 :
... (2 Replies)
Discussion started by: sriram003
2 Replies
8. IP Networking
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
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
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
DHCPING(8) General Commands Manual DHCPING(8)
NAME
dhcping - send a DHCP request to DHCP server to see if it's up and running
SYNOPSIS
dhcping [-v] [-q] [-i] [-r] -t maxwait -c client-IP-address -s server-IP-address -h client-hardware-address [-g gateway-IP-address]
DESCRIPTION
This command allows the system administrator to check if a remote DHCP server is still functioning.
Options are:
-v Verbose, print some information.
-i Use DHCPINFORM packets.
-r Use DHCPREQUEST packets (default behaviour).
-q Quiet, print nothing on the screen.
-t maxwait
Maximum time to wait for an answer from the server in seconds. Default is 3 seconds.
-c client-IP-address
Request this IP address. Note that this is also the IP address the answer will be sent to.
-s server-IP-address
Send the DHCP packet to this IP address.
-h client-hardware-address
Use this hardware-address in the DHCP request. It can be up to sixteen octets seperated by colons (i.e. 01:02:03:04)
-g gateway-IP-address
Use this IP address for the gateway IP address in the DHCP packet. This option is currently broken.
RETURN VALUES
If everything goes okay, it returns 0. If there went something wrong, it returns 1.
SETUP
This program should be installed setuid root or ran by root only. See SECURITY for more information.
On your DHCP server, add these lines to the dhcpd.conf:
host <your monitoring host FQDN> {
hardware ethernet <your monitor host mac address>;
fixed-address <your monitoring host IP address>;
}
Then try it:
$ dhcping -c your monitoring host IP address
-s your DHCP server IP address
-h your monitor host mac address
It will either respond with "no answer" or "Got answer from: your DHCP server IP address"
The DHCP server logfile will give:
DHCPREQUEST for 192.168.1.1 from 00:20:18:56:29:8f via ed0
DHCPACK on 192.168.1.1 to 00:20:18:56:29:8f via ed0
DHCPRELEASE of 192.168.1.1 from 00:20:18:56:29:8f via ed0 (found)
Running in DHCPINFORM mode with -i:
If you see "DHCPINFORM from 192.168.1.1 via xl0: not authoritative for subnet 192.168.1.0", you should add the authoritative statement to
the subnet, See dhcpd.conf(5) for details.
When running in very verbose mode, dhcping tries to dump all data of the send and received DHCP packets. It will first dump the packet in
hex-format, then decodes the header and finally the options.
HOW IT WORKS
The client either sends a DHCPREQUEST or DHCPINFORM packet to the server and waits for an answer. Then, if a DHCPREQUEST was send, it will
send a DHCPRELEASE back to the server.
SECURITY
This program is installed setuid root as it requires the privileges to bind itself to port 68 (bootpc). Root privileges are dropped as soon
as the program has bound itself to that port.
BUGS
Currently (this may, or may not, change in the future) the ISC DHCP daemon does not write leases with a fixed IP address in the
dhcpd.leases file.
DHCPINFORM packets can only be used on subnets the server is authori- tative for. If the monitoring script runs on a subnet the server
isn't authoritative for, it should use the DHCPREQUEST packets. I also experienced some problems with ISC DHCPD v2 servers, but that is
also in the README of it.
The -V option is still working, but shouldn't be used for debugging of the packets. Better use dhcpdump(8) for that, which is available on
my website. I wanted to remove it, but decided only to do it from the documentation, not from the code. Maybe I'll need it one day for
debugging.
AUTHOR
Edwin Groothuis, edwin@mavetju.org (http://www.mavetju.org)
SEE ALSO
dhcpd(8), dhclient(8), dhcpd.conf(5), dhcpdump(8)
Januari 27, 2002 Januari 27, 2002 DHCPING(8)