Subject: NetBSD 1.5 i386: bootp via netboot not receiving reply
To: None <netbsd-help@netbsd.org>
From: cpctc <cpctc@vt.edu>
List: netbsd-help
Date: 07/24/2001 22:02:54
I have bootp set up for two hosts, one booting with a gzip'ed kernel on a
floppy, the other attempting to boot via netboot.com.

The host booting from floppy works.  The one with netboot.com ("bagel")
yields the following log message at the server ("horbot"):

Jul 24 21:45:29 horbot bootpd[2229]: recvd pkt from IP addr 0.0.0.0
Jul 24 21:45:29 horbot bootpd[2229]: bootptab mtime: Tue Jul 24 21:41:00
2001
Jul 24 21:45:29 horbot bootpd[2229]: request from Ethernet address
00:00:C0:95:D0:1C
Jul 24 21:45:29 horbot bootpd[2229]: found 10.10.10.10 (bagel)
Jul 24 21:45:29 horbot bootpd[2229]: requested path length > BP_FILE_LEN
file = "netbsd", nul terminating
Jul 24 21:45:29 horbot bootpd[2229]: requested path=""  file="netbsd"
Jul 24 21:45:29 horbot bootpd[2229]:
bootfile="/usr/export/bagel/root/netbsd"
Jul 24 21:45:29 horbot bootpd[2229]: vendor magic field is 99.130.83.99
Jul 24 21:45:29 horbot bootpd[2229]: sending reply (with RFC1048 options)
Jul 24 21:45:29 horbot bootpd[2229]: setarp 10.10.10.10 - 00:00:C0:95:D0:1C
Jul 24 21:45:29 horbot bootpd[2229]: arp -d 10.10.10.10; arp -s 10.10.10.10
00:00:C0:95:D0:1C temp

The console on bagel (the bootp client) shows:

>> NetBSD/i386 Network Boot, Revision 1.2
>> (root@horbot, Tue Jul 24 21:44:21 EDT 2001)
>> Memory: 640/15360 k
Press return to boot now, any other key for boot menu
starting in .....0
Using WD8013EBT board, port 0x280, iomem 0xd0000, iosiz 16384
configure network...trying bootp
bootp: no reply
net_open failed
open netbsd: Input/output error
boot: Input/output error

The bootp configuration (/etc/bootptab) contains:

bagel\
        :ht=ether:\
        :ha=0000c095d01c:\
        :sm=255.255.255.0:\
        :lg=10.10.10.2:\
        :ip=10.10.10.10:\
        :gw=10.10.10.2:\
        :sa=10.10.10.2:\
        :nt=10.10.10.2:\
        :hn:\
        :hd=/usr/export/bagel/root:\
        :rp=/usr/export/bagel/root:\
        :bf=netbsd:\
        :bs=auto:


If I clone that entry for horbot, changing only the "ha" and "ip" entries,
bootptest succeeds:

[root@horbot tmp]# bootptest -h horbot
bootptest: version 2.4.1
Sending to 10.10.10.2 (request) xid:3681 vend-rfc1395
Recvd from 10.10.10.2 (reply) xid:3681 Y:10.10.10.2 S:10.10.10.2
sname:"horbot" file:
"/usr/export/bagel/root/netbsd" vend-rfc1395 SM:255.255.255.0 GW:10.10.10.2
BFS:9277 ROOT:"/usr/expo
rt/bagel/root" NTPSRV:10.10.10.2

Is netboot.com's implementation of bootp different from bootptest's?

Thanks for any help.