Setup guide
If you would like to remain connected all the time, i.e., as a leased line, then set the idle-timeout to
0s.
All that remains is to enable the interface:
[admin@Wandy] /interface set isdn-isp disabled=no
You can monitor the connection status with the following command:
[admin@Wandy] /interface isdn-client monitor isdn-isp
ISDN Dial-in
Dial-in ISDN connections allow remote clients to connect to your router via ISDN.
Let us assume you would like to configure a router for accepting incoming ISDN calls from remote
clients. You have an Ethernet card connected to the LAN, and an ISDN card connected to the ISDN
line. First you should load the corresponding ISDN card driver. Supposing you have an ISDN card
with an HFC chip:
[admin@Wandy] /driver add name=hfc
Now additional channels should appear. Assuming you have only one ISDN card driver loaded, you
should get the following:
[admin@Wandy] isdn-channels> print
Flags: X - disabled, E - exclusive
# NAME CHANNEL DIR.. TYPE PHONE
0 channel1 0
1 channel2 1
[admin@Wandy] isdn-channels>
Add an incoming ISDN interface and configure it in the following way:
[admin@Wandy] interface isdn-server> add msn="7542159" \
\... authentication=chap,pap bundle-128K=no
[admin@Wandy] interface isdn-server> print
Flags: X - disabled
0 X name="isdn-in1" mtu=1500 mru=1500 msn="7542159" authentication=chap,pap
profile=default l2-protocol=hldc bundle-128K=no
Configure PPP settings and add users to router's database.
[admin@Wandy] ppp profile> print
Flags: * - default
0 * name="default" local-address=0.0.0.0 remote-address=0.0.0.0
session-timeout=0s idle-timeout=0s use-compression=no
use-vj-compression=yes use-encryption=no require-encryption=no only-one=no
tx-bit-rate=0 rx-bit-rate=0 incoming-filter="" outgoing-filter=""
[admin@Wandy] ppp profile> set default idle-timeout=5s local-address=10.99.8.1 \
\... remote-address=10.9.88.1
Add user 'john' to the router's user database. Assuming that the password is '31337!)':
[admin@Wandy] ppp secret> add name=john password="31337!)" service=isdn
[admin@Wandy] ppp secret> print
[admin@ISDN] ppp secret> print
Flags: X - disabled
# NAME SERVICE CALLER-ID PASSWORD PROFILE
0 john isdn 31337!) default
[admin@Wandy] ppp secret>
Check the status of the ISDN server interface and wait for the call:
[admin@Wandy] interface isdn-server> monitor isdn-in1
status: Waiting for call...
ISDN Backup
Backup systems are used in specific cases, when you need to maintain a connection, even if a fault
occurs. For example, if someone cuts the wires, the router can automatically connect to a different
interface to continue its work. Such a backup is based on an utility that monitors the status of the