rarpd.8
来自「minix操作系统最新版本(3.1.1)的源代码」· 8 代码 · 共 76 行
8
76 行
.TH RARPD 8.SH NAMErarpd \- reverse address resolution protocol daemon.SH SYNOPSIS.B rarpd.RB [ \-d [\fIlevel\fR]].I network-name\&....SH DESCRIPTION.de SP.if t .sp 0.4.if n .sp...B Rarpdlistens on the given networks for broadcast packets asking for reverse addressresolution. These packets are sent by hosts at boot time to find out theirIP address..B Rarpdlooks up the six octet ethernet number in the.B /etc/ethersfile finding a host name. This name is translated to the IP address of thehost by a DNS lookup. The IP address is then sent to the host..PPUnder MINIX 3 the program forks as needed to give each network its own server.Under Minix-vmd all networks are handled in the same program using async I/O..SS "Private Ethernet Addresses"For VU practical work, where students have to create their own IP stackstarting at the bottom with RARP, this implementation recognizes Ethernetaddresses starting with octet 0x76 as special. The next octet is used as aadditional host number and the next and last four octets as an IP addressthat this Ethernet address is additional for. The IP address is translatedback to a name, and the first component of that name gets a dash and theadditional host number added to it. That hostname is then looked up and itsIP address returned in a RARP reply. Example:.PP.RS.ta +\w'flotsam-3.example.commmm'u76:3:c0:a8:e7:fa Additional 3, IP 192.168.231.250.SPflotsam.example.com Reverse lookup on 192.168.231.250.SPflotsam-3.example.com Splicing in additional number.SP192.168.231.42 Forward lookup.RE.PPIn this example a RARP query for 76:3:c0:a8:e7:fa gets 192.168.231.42 as reply..SH OPTIONS.TP.BR \-d [\fIlevel\fP]Turns on debugging messages at the given level, by default 1. At level 1 youwill be shown what answers are sent, and at level 2 or higher you will be toldabout queries from unknown hosts or host on the wrong network.The debug level can also be increased by 1 at runtime by sending signal.B SIGUSR1or turned off (set to 0) with.BR SIGUSR2 ..SH "SEE ALSO".BR ifconfig (8),.BR ethers (5),.BR hosts (5),.BR inet (8),.BR boot (8),.BR dhcpd (8),.BR irdpd (8),.BR inetd (8),.BR nonamed (8)..SH NOTESA "network name" is the device name of the IP device of a network, i.e..BR ip0 ,.BR ip1 ", ...".PPThe RARP protocol has gone out of fashion in favour of DHCP..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?