[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8795.0. "DHCP config problems " by SEAWLF::COLE (Digital NSIS, Greenbelt, Maryland) Tue Feb 11 1997 17:51

	Attempting to configure DHCP on Alpha 2000,
	running DUnix 4.0A.

	Client is Win95 PC on Token Ring Network.
	
	Message on PC from WIN95 is:

	DHCP Server Unavailable, renewing Adapter ""

	Below is list of config files and output from joind:


	(We have also tried with bootptab entry
		ht=token-ring
		ha=0020AFF591F2

	With same results, server recognizes address
	and send back packet to PC offering address,
	but PC never gets it.


	The DHCP documentation is unclear - a working example
	of all of the configuration files would be helpful.
	Need to know what files xjoin touches in order to
	configure DHCP on some servers which only have
	vt-100 consoles.


	Many thanks,


	....larry

	(email:	[email protected])


Script started on Tue Feb 11 15:36:46 1997/
# more /etc/bootptab
navsubnet:\
	:nw=207.85.211.0:
demo:\
	:ht=0:\
	:ha=democlient:\
	:lt=7200:\
	::hn:


# more nets
207.85.211.0	207.85.211.50	207.85.211.10-207.85.211.15

# more server.pcy
# server.pcy: server side policy file.
#
# $Id: server.pcy,v 1.16 1995/12/12 06:11:19 robs Exp $
#
# DESCRIPTION
# This is a template server.pcy file. A particular site may need to make
# modifications to this, especially to the name service and name allocation
# policies in force
#

# Default time-to-live for an address lease if not specified on a
# per host, per subnet or per class basis.

default_ttl 86400

# Time to live on provisional list 
 
provisional_ttl 60

# Size of the internal array specifying the number of address
# blocks held on the free list. This number should not be too
# high, or the server will "forget" about all previous allocations
# of expired leases very quickly. It should not be too low or
# performance will suffer.

free_list_size 8

# Define type of name service. The name service is one of
# { dns, local, nis }.
# local means use text files on the local system (i.e. /etc/hosts).

name_service Local
#accept_client_name


# Bootp.
# Remove this line if the server is not to support old-style Bootp

support_bootp


#This boolean is only valid if Bootp clients are supported
#(support_bootp option is enabled). When present it permits
#the server to permanently assign an IP address from its
#free pool to a BOOTP client in the event that no permanent
#binding exists in dhcpcap. Normally the JOIN server can
#only service BOOTP clients for which such a binding pre-exists.

#bootp_addr_from_pool


# Timeout value for ping in milliseconds. Before the server offers an
# address it pings (using ICMP echo) it: if a reply is received the
# server assumes that it is in use and makes another choice. "ping_timeout"
# is the number of milliseconds the server will wait for a reply.

ping_timeout 500

# Registered clients. When this flag is on DHCP service will only be
# granted to clients which have been pre-registered in the JOIN database.
# To pre-register a client use the jdbreg command.

#registered_clients_only


# Instructs the server to check whether or not the dhcpcap file appears to
# have changed each and every time a client configuration is required.
# If the file has changed (as indicated by its time stamp), the server
# will read and parse it anew.

auto_reread
assign_name_by_hwaddr
accept_client_name
bootp_addr_from_pool
# 



# 
# /usr/sbin/var/joind -f -d12
JOIN Server Internal Release 3.1a for ALPHA with Digital UNIX
Copyright 1992-1995, Competitive Automation, All Rights Reserved


JOIN server startup  on Tuesday February 11 15:37
default lease duration       = 86400
ttl of provisional lease     = 60
timeout on ICMP echo (msec)  = 500
minimum legal bootp packet   = 300 bytes
name service                 = local
name service updateable      = false
naming policy                = by hw address
accept client name           = true
free list length             = 8
bootp support                = true
bootp addr from pool         = true
registered clients only      = false
listen on ppp interfaces     = false
ping bootp clients           = false
reply when relay on same net = false
send options in offer        = false
auto-reread modified bootptab= true
validate bootp client net#   = false

official host internet address = 207.85.211.50
syncing databases
Listening on interfaces: tra0
fillfreelist()
subnet 207.85.211.0
	prov list:
		head=0 tail=0
	free list:
		head=14000f370 tail=14000f6e0
		node=14000f370 next=14000f460 prev=0 host=207.85.211.10
		node=14000f460 next=14000f4b0 prev=14000f370 host=207.85.211.11
		node=14000f4b0 next=14000f640 prev=14000f460 host=207.85.211.12
		node=14000f640 next=14000f690 prev=14000f4b0 host=207.85.211.13
		node=14000f690 next=14000f6e0 prev=14000f640 host=207.85.211.14
		node=14000f6e0 next=0 prev=14000f690 host=207.85.211.15
scan tree after first pass:
ID = <navsubnet>  address=14003ba20
	line=1 refs=0 #tags=1 next=0 chain=0 class=1
	Tags are:
		nw       line=2 op=1 <string>=<207.85.211.0>
ID = <demo>  address=14003ba50
	line=3 refs=0 #tags=4 next=0 chain=0 class=1
	Tags are:
		ht       line=4 op=1 <string>=<0>
		ha       line=5 op=1 <string>=<democlient>
		lt       line=6 op=1 <string>=<7200>
		hn       line=7 op=3 <string>=<>

navsubnet:ci=0.0.0.0:gi=0.0.0.0:sa=0.0.0.0:yi=0.0.0.0:nw=207.85.211.0:flags=517:


demo:ht=0:ha=de:ci=0.0.0.0:gi=0.0.0.0:sa=0.0.0.0:yi=0.0.0.0:flags=12,51,515,516,522:hn:ho=demo:lt=7200:

================================================================================
received on address 207.85.211.255
Starting txn 855693484 on Tuesday February 11 15:38
from (ip_address,port#)=(0.0.0.0,68) to=(???,0) received on interface tra0
xid=0xd7dbe2db secs=0 flags=0000

packet:
    0000: 01 06 06 00 d7 db e2 db 00 00 00 00 00 00 00 00                     
    0016: 00 00 00 00 00 00 00 00 00 00 00 00 00 20 af f5                     
    0032: 91 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00                     
    0048: 00...
    0224: 00 00 00 00 00 00 00 00 00 00 00 00 63 82 53 63                 c Sc
    0240: 35 01 01 3d 07 06 00 20 af f5 91 f2 0c 05 44 65     5  =          De
    0256: 6d 6f 00 ff 00 00 00 00 00 00 00 00 00 00 00 00     mo              
    0272: 00...
    0288: 00 00 00 00 00 00 00 00 00 00 00 00                             

Received Host structure:
ht=6:ha=00.20.af.f5.91.f2:ci=0.0.0.0:gi=0.0.0.0:sa=0.0.0.0:yi=0.0.0.0:flags=12,53,61,515,523:vm=rfc1048:ho=Demo:ck=060020aff591f2:mt=1 (DHCPDISCOVER):

DHCPdiscover
copyhost(a,b,c)
a:53
b:517
c:51,58,59
~a & b & c:
seeking client (0,7,06:00:20:af:f5:91:f2) on subnet 207.85.211.0
subnet 207.85.211.0
	prov list:
		head=0 tail=0
	free list:
		head=14000f370 tail=14000f6e0
		node=14000f370 next=14000f460 prev=0 host=207.85.211.10
		node=14000f460 next=14000f4b0 prev=14000f370 host=207.85.211.11
		node=14000f4b0 next=14000f640 prev=14000f460 host=207.85.211.12
		node=14000f640 next=14000f690 prev=14000f4b0 host=207.85.211.13
		node=14000f690 next=14000f6e0 prev=14000f640 host=207.85.211.14
		node=14000f6e0 next=0 prev=14000f690 host=207.85.211.15
before append to provisional list: f=14000f370
DHCPDISCOVER from HW address 00:20:af:f5:91:f2 : provisional lease
ping solicit
    0000: 08 00 20 24 d7 db 00 00                                $    

Reply Host structure:
ci=0.0.0.0:gi=207.85.211.50:sa=207.85.211.50:yi=207.85.211.10:flags=51,53,54,514:lt=86400:sv=207.85.211.50:mt=2 (DHCPOFFER):
outgoing bootp packet:
    0000: 02 06 06 00 d7 db e2 db 00 00 00 00 00 00 00 00                     
    0016: cf 55 d3 0a cf 55 d3 32 cf 55 d3 32 00 20 af f5      U   U 2 U 2    
    0032: 91 f2 00 00 00 00 00 00 00 00 00 00 00 00 00 00                     
    0048: 00...
    0224: 00 00 00 00 00 00 00 00 00 00 00 00 63 82 53 63                 c Sc
    0240: 33 04 00 01 51 80 35 01 02 36 04 cf 55 d3 32 ff     3   Q 5  6  U 2 
    0256: 00...
    0544: 00 00 00 00                                             
setting ARP entry to IP 207.85.211.10 as HW 00:20:af:f5:91:f2
removing ARP entry to 207.85.211.10
================================================================================
 <<< note - above messages repeated several times >>>>>


JOIN server shutdown on Tuesday February 11 15:38
# exit

script done on Tue Feb 11 15:38:25 1997


T.RTitleUserPersonal
Name
DateLines
8795.1more information (Pathworks/Netware installed)SEAWLF::COLEDigital NSIS, Greenbelt, MarylandWed Feb 12 1997 10:0117
	More information:

	This system has Pathworks for Netware installed.

	Has the DHCP code been tested on a Token Ring network ?

	Does Pathworks for Netware replace any kernel modules
	utilized by DHCP ?

	(tested my WIN95 laptop in the office against a 
	 Dunix 4.0B system over ethernet - with the above
	 /etc/bootptab and server.pcy files and it works)

	...larry