Since rarp is not TCP/IP, it cannot be passed through a router (thus the stipulation that your client and the server(s) must be on the same subnet). It also means that your server must have device drivers that are able to send unspecified data to the ethernet.
Setting up rarp, NetBSD
Setting up rarp, OpenBSD
Setting up rarp, FreeBSD
Setting up rarp, Mac OS X and Darwin
Setting up rarp, Linux
Setting up rarp, SunOS
Setting up rarp, Solaris
Setting up rarp, NEWS-OS
Setting up rarp, NEXTSTEP (couldn't get it to work)
HP-UX 9 and earlier don't have rarpd
Setting up rarp, HP-UX 10 and later
pseudo-device bpfilterThe GENERIC kernel distributed with NetBSD has this compiled in.
#/etc/ethers CC:CC:CC:CC:CC:CC client
This will start rarpd in debugging mode. When the rarpd server gets a request, it will print this:
got a packet
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
#/etc/ethers CC:CC:CC:CC:CC:CC client
This will start rarpd in the foreground (i.e. you can ^C out of it).
There is no debugging command line option. If you are having problems with
RARP, then you may need to add the following to /etc/syslog.conf:
!rarpd *.* /var/log/bootlogYou will then need to kill -HUP the process for syslog. It will print the following message in /var/log/bootlog:
Jul 25 23:10:42 rarpserver rarpd[562]: fxp0 CC:CC:CC:CC:CC:CC at 192.168.1.10 REPLIED
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
#/etc/ethers CC:CC:CC:CC:CC:CC client
This will start rarpd in debugging mode. When the rarpd server gets a request, it will print this:
got a packetIf RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
Linux userland rarpd (should work with all kernels)
There are at least two known implementations of userland rarp. There is an older one (by D.Brashear & J.Hutzelman) at ftp://ftp.dementia.org/pub/net-tools (source only), and a newer one (by A. Kuznetsov & J.Jelinek) that comes in all (?) recent distributions.
#/etc/ethers CC:CC:CC:CC:CC:CC client
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
Linux kernel rarp ( kernel<2.3 )
If you don't want to (or can't) use the userland rarpd, you will need to compile rarp support in the kernel or (if your kernel supports it) add it as a loadable module.
Address HWtype HWaddress Flags Mask Iface client.test.net ether CC:CC:CC:CC:CC:CC CM * eth0
SIOCSRARP: Invalid argument This kernel does not support RARP.
IP address HW type HW address 192.168.1.10 10Mbps Ethernet CC:CC:CC:CC:CC:CC
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
#/etc/ethers CC:CC:CC:CC:CC:CC client
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
#/etc/ethers CC:CC:CC:CC:CC:CC client
This will start rarpd in debugging mode. For Solaris, it prints out a bunch of stuff. Here is an example of the Solaris rarpd handling requests from the client.
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
#/etc/ethers CC:CC:CC:CC:CC:CC client
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
#/etc/ethers CC:CC:CC:CC:CC:CC client
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Back to the top
If you find this, please let us know.
Back to the top
This will start rarpd in debugging mode. For HP-UX 10, it prints out a lot of stuff. Here is an example of the HP-UX 10 rarpd handling requests from the client.
Oddly, I couldn't ^C out of this, I had to launch another shell and kill the rarpd process.
If RARP fails, the client will print:
No response for RARP request le(0,0,0,0): Unknown error: code 60 boot: Unknown error: code 60If RARP succeeds, the client will print:
boot: client IP address: 192.168.1.10
Continue on to setting up bootparams or tftpd
|
|