*** From dhcp-server -- To unsubscribe, see the end of this message. ***

[many good responses to my problem of getting dhcpd to work on 
hpux 10.20 snipped]

Bleah.  HPUX bugs me.  

there's some stuff going on here that I really don't grok.
Here's some information about the hpux machine with dhcpd:

# the broadcast is set to all ones...
bash-2.01# ifconfig lan0
lan0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST>
        inet 167.128.3.29 netmask ffffff00 broadcast 255.255.255.255
# no funky network routes going on...
bash-2.01# netstat -rn
Routing tables
Destination     Gateway         Flags   Refs     Use  Interface  Pmtu PmtuTime
127.0.0.1       127.0.0.1       UH         0      42  lo0        4608
167.128.3.29    127.0.0.1       UH         0      12  lo0        4608
default         167.128.3.1     UG         1    1426  lan0       1500
167.128.3.0     167.128.3.29    U          0       0  lan0       1500

# just for the heck of it...
bash-2.01# lanscan
Hardware Station        Crd Hardware Net-Interface   NM  MAC        HP DLPI Mjr
Path     Address        In# State    NameUnit State  ID  Type       Support Num
2/0/2    0x08000991244B 0   UP       lan0     UP     4   ETHER      Yes     52

The mac address of the win95 box is 0:80:5f:7a:98:94 , the mac
address of my router is 0:10:54:3c:b0:a.  

#broadcast from win95 box
11:53:32.750796 0:80:5f:7a:98:94 ff:ff:ff:ff:ff:ff 0800 342: 
        0.0.0.0.68 > 255.255.255.255.67: xid:0x8580c681 
        vend-rfc1048 T53:1 T61:1.0.128.95.122.152.148 
        T50:2886041767 HN:"deprecated^@" T55:252052225,959393324 
        (ttl 128, id 19464)
#from hpux to my router?
11:53:33.750796 8:0:9:91:24:4b 0:10:54:3c:b0:a 0800 342: 
        167.128.3.29.67 > 255.255.255.255.68: xid:0x8580c681 
        Y:167.128.3.31 S:167.128.3.29 ether 0:80:5f:7a:98:94 
        sname "testnewt.lblesd.k12.or.us" vend-rfc1048 T53:2 
        T54:486768807 T51:1476526080 T58:738263040 T59:218234880 
        SM:255.255.255.0 DG:167.128.3.1 NS:167.128.5.2,167.128.5.3 
        (ttl 64, id 60037)

(And these are just repeated over and over.)

Here's the corresponding server log...
DHCPDISCOVER from 00:80:5f:7a:98:94 via lan0
DHCPOFFER on 167.128.3.31 to 00:80:5f:7a:98:94 via lan0
(repeated until the client gives up)

In contrast, here's a tcpdump when the mask is 167.128.3.255
(which may not add much information to the problem)

#from the win95
11:49:13.980796 0:80:5f:7a:98:94 ff:ff:ff:ff:ff:ff 0800 342: 
        0.0.0.0.68 > 255.255.255.255.67: xid:0x32027303 
        vend-rfc1048 T53:1 T61:1.0.128.95.122.152.148 
        T50:2886041767 HN:"deprecated^@" T55:252052225,959393324 
        (ttl 128, id 17416)

#from the hpux box
11:49:14.980796 8:0:9:91:24:4b ff:ff:ff:ff:ff:ff 0800 342: 
        167.128.3.29.67 > 167.128.3.255.68: xid:0x32027303 
        Y:167.128.3.31 S:167.128.3.29 ether 0:80:5f:7a:98:94 
        sname "testnewt.lblesd.k12.or.us" vend-rfc1048 T53:2 
        T54:486768807 T51:1476526080 T58:738263040 T59:218234880 
        SM:255.255.255.0 DG:167.128.3.1 NS:167.128.5.2,167.128.5.3 
        (ttl 64, id 59729)

So for some unknown (to me at least) reason, the hp stack will
do an ip broadcast to the default routers mac address, or it will
do an ether broadcast to the local ip broadcast.  But it won't
do both. 

And for the sake of being complete, here's dhcpd.conf.

server-name "testnewt.lblesd.k12.or.us";
option domain-name-servers 167.128.5.2, 167.128.5.3;
get-lease-hostnames true;
max-lease-time 600;
default-lease-time 600;

#this is for when I've got the dhcp server plugged into this 
#network, but serving only the test network
subnet 167.128.5.0 netmask 255.255.255.0 {
}

#shared-network LBLESD_Ethertest {
  subnet 167.128.3.0 netmask 255.255.255.0 {
    range 167.128.3.31 167.128.3.33;
    option routers 167.128.3.1;
#    option domain-name "lblesd.k12.or.us";
#    option domain-name-servers 167.128.5.3, 167.128.5.2;
  }
#}

Ideas?  (I've been plinking around with using dlpi, but I'll write
about that in a different message.)  (I didn't see many posts in
the archive regarding the development of isc dhcp-- should I keep
my dlpi musings off of dhcp-server, and send them directly to you,
Ted?)

-ron


------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------

Reply via email to