Riverstone Networks WICT1-12 用户手册

下载
页码 718
Riverstone Networks RS Switch Router User Guide   Release 8.0   11-7
IP Routing Configuration Guide
Configuring DNS Parameters  
11.5.2
Defining MAC-to-IP Address Mappings
The 
rarpd add
 command allows you to map a MAC address to an IP address for use with RARP. When a host makes 
a RARP request on the RS, and its MAC address has been mapped to an IP address with the 
rarp add 
command, 
the RARP server on the RS responds with the IP address that corresponds to the host’s MAC address. To map MAC 
address 00:C0:4F:65:18:E0 to IP address 10.10.10.10:
There is no limit to the number of address mappings you can configure. 
Optionally, you can create a list of mappings with a text editor and then use TFTP to upload the text file to the RS. The 
format of the text file must be as follows:
Then place the text file on a TFTP server that the RS can access and enter the following command in Enable mode:
11.5.3
Monitoring RARP
You can use the following commands to obtain information about the RS’s RARP configuration:
11.6
CONFIGURING DNS PARAMETERS
The RS can be configured to specify DNS servers, which supply name services for DNS requests. You can specify up 
to three DNS servers.
rs(config)# rarpd add hardware-address 00:C0:4F:65:18:E0 ip-address 
10.10.10.10
MAC-address1 IP-address1
MAC-address2 IP-address2
...
MAC-addressn IP-addressn
rs# copy tftp-server to ethers
TFTP server? 
Q R
Source filename? 
Q R
 
Display the interfaces to which the 
RARP server responds.
rarpd show interface
Display the existing MAC-to-IP address 
mappings
rarpd show mappings
Display RARP statistics.
statistics show rarp
 <InterfaceName>
|all