Lucent Technologies Network Access Module ユーザーズマニュアル

ページ / 75
Using the Command Line Interface
5-7
Configure the WAN Port
Command> set W1 address Ipaddress
Command> save all
Set the Destination IP Address 
The destination IP address is the IP address or hostname of the machine on the other 
end of the connection. The destination IP address can also be set to 255.255.255.255 for 
PPP users. This setting allows the INA module to learn the IP address of the system on 
the other end of the connection using PPP IPCP address negotiation.
Do not set a destination IP address for Frame Relay connections. Instead, use a data link 
connection identifier (DLCI) list to link IP addresses to DLCIs, or use the Local 
Management Interface (LMI) or Annex-D status updates and Inverse ARP to discover 
Frame Relay addresses dynamically. See the PortMaster Configuration Guide for more 
information.
Use the following commands to set the destination IP address:
Command> set W1 destination Ipaddress [Ipmask]
Command> save all
Set the Netmask
The default netmask is 255.255.255.0. If the remote network has been divided into 
subnets, enter the netmask that identifies how the remote network addresses are 
divided between the network portion and the host portion. The value of Ipmask is 
dependent upon the size of the IP subnet of which the IP address is a member. 
Use the following commands to set the netmask:
Command> set W1 netmask Ipmask
Command> save all
Set the Transport Protocol
The transport protocol can be set to either PPP or Frame Relay. If Frame Relay is used, 
additional Frame Relay settings must be configured. See the PortMaster Configuration 
Guide 
for more information.
Use these commands to set the transport protocol:
Command> set W1 protocol ppp|frame
Command> save all
Command> reboot
Apply Filters to the WAN Port (Optional) 
Filters can be used to provide elementary firewall protection for your WAN port. For 
information on input and output filters, see the PortMaster Configuration Guide.