set eth1 on
set isdn dialer ippp1 eaz 999999
set isdn dialer ippp1 out-number <NUMBER-TO-DIAL>
set isdn dialer ippp1 login <ISDN-USER> password <ISDN-PASSWORD>
set isdn dialer ippp1 huptimeout 360
set isdn dialer ippp1 no-masquerade
set isdn dialer ippp1 default-route
set isdn dialer ippp1 dialmode auto
set isdn dialer ippp1 accept-remote-ip
set isdn dialer ippp1 accept-local-ip
set isdn dialer ippp1 ipaddr <IP_ISDN>
set isdn dialer ippp1 nexthop <IP_NEXTHOP>
set isdn dialer ippp1 on
ADSL WITH GPRS BACKUP
It is described here a base configuration to link a primary public ADSL with GPRS backup. It is
configured a private address on eth1 LAN and an IP address of the public addresses pool on the
eth0 interface.
To allow the data exchange with the outside, a NAT rule is been set for the packets coming from
the private LAN.
set eth0 ipaddr 10.10.113.1 netmask 255.255.255.252
set eth0 on
set eth1 ipaddr <PRIVATE-IP> netmask <NETMASK-IP-PRIVATE>
set eth1 on
set gprs apn ibox.tim.it
set gprs idle 0
set gprs rx-idle 1800
set gprs no-default-route
set gprs masquerade
set gprs mtu 1500
set gprs usepeerdns
set gprs debug
set gprs sgauth 1
set gprs pwroff-modem
set gprs off
set adsl encap rfc1483-llc
set adsl pvc-number 1
set adsl pvc atm0 vpi 8 vci 35
set adsl pvc atm0 service UBR
set adsl pvc atm0 pcr 0
set adsl pvc atm0 no-default-route