Page 261 / 351
Scroll up to view Page 256 - 260
261
CONFIG Commands
set ip static-routes destination-network
net_address
interface
{ ip-address | ppp-vccn }
Specifies the interface through which the static route is accessible.
set ip static-routes destination-network
net_address
gateway-address
gate_address
Specifies the IP address of the Gateway for the static route. The default Gateway must be
located on a network connected to the Netopia Gateway configured interface.
set ip static-routes destination-network
net_address
metric
integer
Specifies the metric (hop count) for the static route. The default metric is 1. Enter a num-
ber from 1 to 15 for the integer argument to indicate the number of routers (actual or best
guess) a packet must traverse to reach the remote network.
You can enter a metric of 1 to indicate either:
•
The remote network is one router away and the static route is the best way to reach it;
•
The remote network is more than one router away but the static route should not be
replaced by a dynamic route, even if the dynamic route is more efficient.
set ip static-routes destination-network
net_address
rip-advertise [ SplitHorizon | Always | Never ]
Specifies whether the gateway should use Routing Information Protocol (RIP) broadcasts to
advertise to other routers on your network and which mode to use. The default is
SplitHo-
rizon.
delete ip static-routes destination-network
net_address
Deletes a static route. Deleting a static route removes all information associated with that
route.
Page 262 / 351
262
IPMaps Settings
set ip-maps name <
name
> internal-ip <
ip address
>
Specifies the name and static ip address of the LAN device to be mapped.
set ip-maps name <
name
> external-ip <
ip address
>
Specifies the name and static ip address of the WAN device to be mapped.
Up to 8 mapped static IP addresses are supported.
Network Address Translation (NAT) Default Settings
NAT default settings let you specify whether you want your Netopia Gateway to forward NAT
traffic to a default server when it doesn’t know what else to do with it. The NAT default host
function is useful in situations where you cannot create a specific NAT pinhole for a traffic
stream because you cannot anticipate what port number an application might use. For
example, some network games select arbitrary port numbers when a connection is being
opened. By identifying your computer (or another host on your network) as a NAT default
server, you can specify that NAT traffic that would otherwise be discarded by the Netopia
Gateway should be directed to a specific hosts.
set nat-default mode [ off | default-server | ip-passthrough ]
Specifies whether you want your Netopia Gateway to forward unsolicited traffic from the
WAN to a default server or an IP passthrough host when it doesn’t know what else to do
with it. See
“Default Server” on page 85
for more information.
set nat-default dhcp-enable [ on | off ]
Allows the IP passthrough host to acquire its IP address via DHCP, if
ip-passthrough
is
enabled.
set nat-default address
ip_address
Specifies the IP address of the NAT default server.
Page 263 / 351
263
CONFIG Commands
set nat-default host-hardware-address
MAC_address
}
Specifies the hardware (MAC) address of the IP passthrough host.
Network Address Translation (NAT) Pinhole Settings
NAT pinholes let you pass specific types of network traffic through the NAT interfaces on
the Netopia Gateway. NAT pinholes allow you to route selected types of network traffic,
such as FTP requests or HTTP (Web) connections, to a specific host behind the Netopia
Gateway transparently.
To set up NAT pinholes, you identify the type(s) of traffic you want to redirect by port num-
ber, and you specify the internal host to which each specified type of traffic should be
directed.
The following list identifies protocol type and port number for common TCP/IP protocols:
•
FTP (TCP 21)
•
telnet (TCP 23)
•
SMTP (TCP 25),
•
TFTP (UDP 69)
•
SNMP (TCP 161, UDP 161)
set pinhole name
name
Specifies the identifier for the entry in the router's pinhole table. You can name pinhole
table entries sequentially (1, 2, 3), by port number (21, 80, 23), by protocol, or by some
other naming scheme.
set pinhole name
name
protocol-select { tcp | udp }
Specifies the type of protocol being redirected.
set pinhole name
name
external-port-start [ 0 - 49151 ]
Specifies the first port number in the range being translated.
Page 264 / 351
264
set pinhole name
name
external-port-end [ 0 - 49151 ]
Specifies the last port number in the range being translated.
set pinhole name
name
internal-ip
internal-ip
Specifies the IP address of the internal host to which traffic of the specified type should be
transferred.
set pinhole name name internal-port [ 0 - 65535 ]
Specifies the port number your Netopia Gateway should use when forwarding traffic of the
specified type. Under most circumstances, you would use the same number for the exter-
nal and internal port.
PPPoE /PPPoA Settings
You can use the following commands to configure basic settings, port authentication set-
tings, and peer authentication settings for PPP interfaces on your Netopia Gateway.
Configuring Basic PPP Settings.
☛
NOTE:
For the DSL platform you must identify the virtual PPP interface [
vccn
], a num-
ber from 1 to 8.
set ppp module [vccn] option { on | off }
Enables or disables PPP on the Netopia Gateway.
set ppp module [vccn] auto-connect { on | off }
Supports manual mode required for some vendors. The default
on
is not normally
changed. If auto-connect is disabled (
off
), you must manually start/stop a ppp connection.
Page 265 / 351
265
CONFIG Commands
set ppp module [vccn] mru
integer
Specifies the Maximum Receive Unit (MRU) for the PPP interface. The
integer
argument
can be any number between 128 and 1492 for PPPoE; 1500 otherwise.
set ppp module [vccn] magic-number { on | off }
Enables or disables LCP magic number negotiation.
set ppp module [vccn] protocol-compression { on | off }
Specifies whether you want the Netopia Gateway to compress the PPP Protocol field when
it transmits datagrams over the PPP link.
set ppp module [vccn] lcp-echo-requests { on | off }
Specifies whether you want your Netopia Gateway to send LCP echo requests. You should
turn off LCP echoing if you do not want the Netopia Gateway to drop a PPP link to a nonre-
sponsive peer.
set ppp module [vccn] echo-period
integer
Specifies the number of seconds the Netopia Gateway should wait before sending another
echo from an LCP echo request. The integer argument can be any number from between 5
and 300 (seconds).
set ppp module [vccn] lost-echoes-max
integer
Specifies the maximum number of lost echoes the Netopia Gateway should tolerate before
bringing down the PPP connection. The integer argument can be any number from between
1 and 20.
set ppp module [vccn] failures-max
integer
Specifies the maximum number of Configure-NAK messages the PPP module can send
without having sent a Configure-ACK message. The integer argument can be any number
between 1 and 20.