Hello Joseph,

Wednesday, August 19, 2009, 12:55:32 PM, you wrote:

WJB> Mike:
WJB>  
WJB> dhtadm -P references neither the 192.168.5 subnet nor the
WJB> e1000g0 interface on which it had been configured. However, I am
WJB> still getting the rogue 192.168.5 addresses sporadically after cold 
restarts of SRSS 4.1.

WJB> Could it be that the router is misconfigured and holding
WJB> information on the old 192.168.5 subnet? If so, how would I
WJB> troubleshoot it, given that I don't have control over the routers?

You can ask the router admins whether they have some
sort of "DHCP helper" or "DHCP proxy" installed.
Some Cisco L3 switches I know can "speed up" serving
of DHCP queries by caching the server results and
answering to the clients directly on its behalf.
Maybe your admins did try to help ;)

WJB> Also, where does Solaris keep its list of dhcp leases? 

That would be /var/dhcp. Depending on your DHCP server
configuration, you could have binary files (with names
like SUNWbinfiles1_dhcptab or SUNWbinfiles1_192_168_5_0)
or text files named like SUNWfiles1_dhcptab, etc. You
can convert the database from binary to text for easier
editing, but I'm not certain I remember how to do this
from the command-line. You can use the Java GUI here
though: /usr/sadm/admin/bin/dhcpmgr

The *dhcptab file defines all the macros your configs
could use; these macros can include each other ultimately
building your DHCP clients' generic and specific options
(i.e. general router and netmask options, and specific
TFTP/X11 stuff for Sun Rays, or some for a BOOTP/PXE
server).

The subnet files define the leases you will serve.
They list in advance all IP addresses your server
will give out (and note those it has already given),
looking like this (one long line):

192.168.129.35|0100144F85F839|01|192.168.183.1|\
4294967295|17339702990306542028|SunRay-192.168.129.0|

Here specifically the fields are as follows, see docs
for other variants:

192.168.129.35 - the client IP in question
0100144F85F839 - "01" and "MAC address characters"
01 - IP address is leased
192.168.183.1 - dhcp server ID, may be not on tis served
  subnet, relates to defined macros somewhat
4294967295 - lease timeout; this value 2^32-1 means
  forever, i.e. a static lease for this MAC to always
  have this IP
17339702990306542028 - ?
SunRay-192.168.129.0 - dhcptab macro name which points
  to options for this client
(empty) - may hold a hostname for the nameless clients
  who want one

-- 
Best regards,
 Jim Klimov                            mailto:[email protected]

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to