User`s guide

Chapter 25 WAN, 3G and Dial Backup Setup
LAN-Cell 2 User’s Guide
434
25.3.5 Editing Login Script
For some remote gateways, text login is required before PPP negotiation is started. The LAN-
Cell provides a script facility for this purpose. The script has six programmable sets; each set
is composed of an ‘Expect’ string and a ‘Send’ string. After matching a message from the
server to the ‘Expect’ field, the LAN-Cell returns the set’s ‘Send’ string to the server.
For instance, a typical login sequence starts with the server printing a banner, a login prompt
for you to enter the user name and a password prompt to enter the password:
Welcome to Acme, Inc.
Login: myLogin
Password:
To handle the first prompt, you specify “ogin: ” as the ‘Expect’ string and “myLogin” as
the ‘Send’ string in set 1. The reason for leaving out the leading “Lis to avoid having to know
exactly whether it is upper or lower case. Similarly, you specify “word: ” as the ‘Expect’
string and your password as the ‘Send’ string for the second prompt in set 2.
You can use two variables, $USERNAME and $PASSWORD (all UPPER case), to represent the
actual user name and password in the script, so they will not show in the clear. They are
replaced with the outgoing login name and password in the remote node when the LAN-Cell
sees them in a ‘Send’ string. Please note that both variables must been entered exactly as
shown. No other characters may appear before or after, either, i.e., they must be used alone in
response to login and password prompts.
NAT Lookup
Set
If you select SUA Only in the Network Address Translation field, it displays 255 and
indicates the SMT will use the pre-configured Set 255 (read only) in menu 15.1.
If you select Full Feature or None in the Network Address Translation field, it
displays 1, 2 or 3 and indicates the SMT will use the pre-configured Set 1 in menu 15.1
for the first WAN port, Set 2 in menu 15.1 for the second WAN port and Set 3 for the
Backup port.
Refer to Section 33.2 on page 479 for more information.
Metric Enter a number from 1 to 15 to set this route’s priority among the LAN-Cell’s routes.
The smaller the number, the higher priority the route has.
Private This parameter determines if the LAN-Cell will include the route to this remote node in
its RIP broadcasts. If set to Yes, this route is kept private and not included in RIP
broadcasts. If No, the route to this remote node will be propagated to other hosts
through RIP broadcasts.
RIP Direction Press [SPACE BAR] and then [ENTER] to select the RIP Direction from Both, None,
In Only, Out Only and None.
Version Press [SPACE BAR] and then [ENTER] to select the RIP version from RIP-1, RIP-2B
and RIP-2M.
Multicast IGMP (Internet Group Multicast Protocol) is a session-layer protocol used to establish
membership in a Multicast group. The LAN-Cell supports both IGMP version 1 (IGMP-
v1) and version 2 (IGMP-v2). Press the [SPACE BAR] to enable IP Multicasting or
select None to disable it. See Section on page 80 for more information on this feature.
Once you have completed filling in Menu 11.3.2 Remote Node Network Layer Options, press
[ENTER] at the message “Press ENTER to Confirm...” to save your configuration and return to menu
11.3, or press [ESC] at any time to cancel.
Table 184 Menu 11.3.2: Remote Node Network Layer Options
FIELD DESCRIPTION