Unable to boot system over BOOTP

Justin Hibbits jrh29 at alumni.cwru.edu
Thu Mar 26 16:49:12 UTC 2015


Bringing up a RouterBoard RB800, I'm trying to use the bootpd server
that comes in base to netboot the board from another system.  The
kernel boots fine, but when it tries to mount the root, it attempts
another DHCP/BOOTP request, and continuously times out.  Has anyone
else been able to get a machine to boot from BOOTP (not DHCP) using
the base utilities?


The configuration is as follows:

/etc/bootptab:
jumpgate:hn:ha=000c42aedcc6:bf=kernel.rb800:ip=10.0.0.2:rp="10.0.0.5:/zhabar/jails/rb800":vm=rfc1048:sa=10.0.0.5:

Relevant logs:
RouterBoard:

...
bootpc_init: wired to interface 'tsec0'
Sending DHCP Discover packet from interface tsec0 (00:0c:42:ae:dc:c6)
tsec0: link state changed to DOWN
tsec0: link state changed to UP
DHCP/BOOTP timeout for server 255.255.255.255
DHCP/BOOTP timeout for server 255.255.255.255
DHCP/BOOTP timeout for server 255.255.255.255
...

bootpd:
bootpd: info(6):   recvd pkt from IP addr 0.0.0.0
bootpd: info(6):   bootptab mtime: Wed Mar 25 23:04:17 2015
bootpd: info(6):   request from Ethernet address 00:0C:42:AE:DC:C6
bootpd: info(6):   found 10.0.0.2 (jumpgate)
bootpd: info(6):   bootfile="/kernel.rb800"
bootpd: info(6):   vendor magic field is 99.130.83.99
bootpd: info(6):   request message length=1460
bootpd: info(6):   request has DHCP msglen=1460
bootpd: info(6):   extended reply, length=1418, options=1182
bootpd: info(6):   sending reply (with RFC1048 options)
bootpd: info(6):   setarp 10.0.0.2 - 00:0C:42:AE:DC:C6

Every request looks like that.

I also ran tcpdump to check, and that looks fine.

I'm using the stock MPC85XX kernel config with unrelated changes
(additional devices, debugging, for other purposes).

Thanks,
Justin


More information about the freebsd-questions mailing list