ISDN interface
U
SER
G
UIDE
55
local and nexthop addresses both assigned by Imola
local and nexthop addresses both assigned by remote system (RAS)
Imola defines its own address and RAS defines nexthop address.
The following commands are common to the three examples:
set isdn dialer ippp1 eaz 999999
set isdn dialer ippp1 out-number 0125230544
set isdn dialer ippp1 login isdnuser password isdnpasswd
set isdn dialer ippp1 huptimeout 120
set isdn dialer ippp1 masquerade
set isdn dialer ippp1 dialmode auto
set isdn dialer ippp1 default-route
Both local and nexthop addresses assigned by Imola
set isdn dialer ippp1 ipaddr 1.1.1.1 nexthop 1.1.1.2
set isdn dialer ippp1 no-accept-remote-ip
set isdn dialer ippp1 accept-local-ip
set isdn dialer ippp1 on
Both before and after the call the ISDN interface is as follows:
root@Imola>
show interface isdn dialer ippp1 statistics
19: ippp1: <POINTOPOINT,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 30
link/ppp
RX: bytes packets errors dropped overrun mcast
311 22 0 0 0 0
TX: bytes packets errors dropped carrier collsns
305 22 0 0 0 0
inet 1.1.1.1 peer 1.1.1.2/32 scope global ippp1
Both local and nexthop addresses assigned by remote system (RAS):
set isdn dialer ippp1 ipaddr 0.0.0.0
set isdn dialer ippp1 accept-remote-ip
set isdn dialer ippp1 no-accept-local-ip
set isdn dialer ippp1 on
After the activation of the ISDN
session
ippp1
interface is as follows:
root@Imola>
show interface isdn dialer ippp1 statistics
19: ippp1: <POINTOPOINT,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 30
link/ppp
RX: bytes packets errors dropped overrun mcast
311 22 0 0 0 0
TX: bytes packets errors dropped carrier collsns
305 22 0 0 0 0
inet 151.25.132.24 peer 151.6.131.63/32 scope global ippp1
Local address assigned by Imola and nexthop address assigned by RAS
set isdn dialer ippp1 ipaddr 1.1.1.1