Chapter 5
91
•
routeip: To specify the DHCP server route IP (for PC gate-
way). The default value is the local IP of this port.
•
dns(dnsip1,[dnsip2])]: Sets the DNS server IP (for PC
DNS).
•
default_lease_time, max_lease_time: Type ‘xxxx[,xxxx]’ to
set the default Lease Time and Max Lease Time (seconds).
The default value is 86400.
• login([{pap|chap},] username, userpassword): For PPP client
and PPPoE, enter ‘login(...)’ to set login user name, password
and login protocol. The default is chap. If the input for the login
parameter (..) is not made, the login parameter is none.
• bind([{ether
|
usb},] [pcip]): For PPTP, enter ‘bind(...)’ to spec-
ify the local binding port and PC IP address. The default is the
Ethernet port. If the PC IP address is specified, then PPTP will
be the PPTP client, otherwise PPTP is the server.
• nat: Enter ‘nat’ to enable NAT. The default is disable.
• user([{pap|chap},] username, userpassword): For PPP server,
enter ‘user(...)’ to set user name and password that allows
remote users to login through the login protocol PAP or CHAP.
The default is chap.
• <your password>: Type password to enable the configuration
to be saved to Flash Memory.
Description: Sets the configuration parameters for the Router operation.
Examples:
1) ...>flashfs config route ether(2-102) usb(10.10.0.1, 2-102) 35-
42(r1483, 10000, route(2,default)) password
This command will set:
Ethernet: IP = 10.0.0.1 (default), DHCP rang (10.0.0.2-10.0.0.102)
USB:
IP = 10.10.0.1, DHCP rang (10.10.0.2 - 10.0.0.102)
0/35: rfc1483. PCR=10000. LocalIP=10.0.2.1, RemoteIP=10.0.2.2
0/36: rfc1483. PCR=10000. LocalIP=10.0.3.1, RemoteIP=10.0.3.2
0/37: rfc1483. PCR=10000. LocalIP=10.0.4.1, RemoteIP=10.0.4.2
0/38: rfc1483. PCR=10000. LocalIP=10.0.5.1, RemoteIP=10.0.5.2
0/39: rfc1483. PCR=10000. LocalIP=10.0.6.1, RemoteIP=10.0.6.2