SUMMARY: Sun's DHCP Server under Solaris 2.6

"Blaes, Rainer" wrote:

> Dear experts,
>
> we are using our Sun system 450 as a DHCP server where the SUNWdhcsr,
> SUNWdhcsu packages plus Patch 106150 under Solaris 2.6 are installed.
> NIS+ is not running, only NIS and the system has also Sun's QuadEthernet
>
> card installed:
>
> lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
> inet 127.0.0.1 netmask ff000000
> hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
> inet 192.52.214.1 netmask ffffff00 broadcast 192.52.214.255
> ether 8:0:20:f0:6b:a
> qfe0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
> inet 192.169.200.1 netmask ffffff00 broadcast 192.169.200.255
> ether 8:0:20:f0:6b:a
> qfe1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
> inet 192.52.213.1 netmask ffffff00 broadcast 192.52.213.255
> ether 8:0:20:f0:6b:a
> qfe2: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
> inet 149.243.226.80 netmask ffffff00 broadcast 149.243.226.255
> ether 8:0:20:f0:6b:a
>
> Our system is called "tr-s" with IP=192.52.214.1 and after running the
> dhcpconfig utility for 10 clients there are these two files under
> /var/dhcp:
>
> dhcptab:
> =======
> Locale m :UTCoffst=79200:
> tr-s m
> :Include=Locale:Timeserv=192.52.214.1:LeaseTim=259200:LeaseNeg:
> 192.52.214.0m:Broadcst=192.52.214.255:Subnet=255.255.255.0:MTU=1500:
> NISdmain=coltru:NISservs=192.52.214.1:
>
> 192_52_214_0:
> =============
> 00 00 192.52.214.100 192.52.214.1 0 tr-s
> 00 00 192.52.214.101 192.52.214.1 0 tr-s
> 00 00 192.52.214.102 192.52.214.1 0 tr-s
> 00 00 192.52.214.103 192.52.214.1 0 tr-s
> 00 00 192.52.214.104 192.52.214.1 0 tr-s
> 00 00 192.52.214.105 192.52.214.1 0 tr-s
> 00 00 192.52.214.106 192.52.214.1 0 tr-s
> 00 00 192.52.214.107 192.52.214.1 0 tr-s
> 00 00 192.52.214.108 192.52.214.1 0 tr-s
> 00 00 192.52.214.109 192.52.214.1 0 tr-s
>
> Trying to start the DHCP server daemon with
>
> #/usr/lib/inet/in.dhcpd -d -v
>
> is producing this output:
>
> Daemon version: 3.1
> Maximum relay hops: 4
> Datastore: files
> Path: /var/dhcp
> DHCP: offer TTL:10
> ICMP validation timeout: 1000ms, Attempts:2
> (errno:125) Bind: Address already in use
> (errno:125) Cannot configure any interface
> Daemon terminated.
>
> Of course there is no in.dhcpd entry in the process table and therefore
> no client's hme0 controller will be configured.
>
> What's wrong here in our DHCP setup?

First of all many thanks to:

Dave Miner
G. Saravana Muthu
Brett Thorson
Wyman Eric Miles

All pointed out that there is a BOOTP server running using the same port as

DHCP.
Indeed the HP JetAdmin S/W was causing this problem (Dave, great job!) so
after
commenting the bootps, bootpc entries in the /etc/services file the
in.dhcpd is
running now.

Thanks again, Rainer

[4020 byte] By [CodeProf.com] at [2007-12-24 20:01:00]