Home
Diamond Multimedia HD 4770 PCIE Network Card User Manual
Contents
1. Application Note 34 Configuring ADSL to backup to PSTN ISDN with automatic testing and recovery back to ADSL UK Support 29 December 2009 L roo eE EEE E E rr 1 1 Gunn 1 2 PSSM CONS ore ecto ce acc Gs ida dicta 1 3 CORPS CUIONNG M iawn M aes 1 4 i i MEE AV I AO toca 2 1 do ay whe geval 2 22a ADS 8 een er ee ene eee ee ee 2 2 contisure PP FAS TN pst cae 2 3 Conteure the Default ROQUES sra acc 2 4 AP E 2 5 o UE E OO DUM M ME OM UNA E UM EIE 10 SS TEUN P 11 3 1 AP e eE o CT 11 A CONTI UP UNO Pile raro 11 4 1 Digi Transport Configuration Fla ai 11 4 2 Digi Transport Firmware VersiOns ccccsccssccsccsecsecsecsecsecsecseccecseesessessesseseseceucoeccectseseesseseeseuseeses 12 1 INTRODUCTION 1 1 Outline The document describes how to configure a Digi Transport router to fail over to PSTN when there is a problem with the main ADSL connection Once the ADSL connection is working again the router will test it by sending pings and then revert back to ADSL and drop the PSTN connection This application note uses PPP 4 PSTN as the failover interface however if the router being configured has ISDN simply configure PPP 2 ISDN instead of PPP 4 The same configuration can be app
2. Max up time per day mins 0 Local IP address Remote IP address pool minimum Remote IP address pool range Remote network address Remote network mask NAT mode NAT source IP address Click OK Parameter Inhibit auto activation when these PPPs are active 10 11 12 0 s l 0 0 0 0 255 255 255 255 NAT v Configuration Interfaces gt PPP gt PPP 0 4 gt PPP 4 gt Advanced The PSTN interface needs to be configured so that if PPP 1 ADSL is up and in service i e passing data then this interface is not allowed to initiate a connection Setting Description Inhibit auto activation of PPP 4 when PPP 1 is active Inhibit if other PPP is Inhibit mode active and not OOS Only inhibit if PPP 1 is passing data Auto activation attempts allowed 0 Post disconnect activation attempts allowed Inhibit auto activation when these PPPs are active Inhibit mode IPSec source IP from interface IPSec source IP from interface 0 Click OK 2 3 Configure the Default Routes It is necessary to configure two default routes one for PPP 1 and one for PPP 4 The PPP 1 default route needs to be set so PPP 4 is deactivated when PPP 1 returns to service after a successful recovery Configuration Routing gt Default Route O Parameter Setting Description Interface Default route O is via PPP 1 pea eee OOO PP PPP 4 will be deactivated when this route Deactivate interfac
3. drops the dial up connection as the main PPP 1 link becomes available again This will again be shown in the event log the routing table the PPP 4 status should show Link Inactive and the OH amp CD LED s should go out 4 CONFIGURATION FILES 4 1 Digi Transport Configuration Files This is the relevant parts of the configuration file Sel ar m eS e NU eum zc 2S OLD def route oll ent MAS def route 0 11 add 1 derf route 0 deact _ ent Pee def_route 0 deact_add 4 def route 1 Il ent TPRP der route 1 scd def route 2 1l add 3 def route 4 ll add 4 aa obe erevcloho Meme OI 9e ppp 1 username user isp com Use LL apee Snoro enis eo ppp 1 timeout 0 ppp 1 aodion 1 ppp 1 autoassert 1 NS 1 CO nae 2 ppp 1 firewall ON ad jaa Vil e don NS dL Om pa LC aja db jotas ON JS ias ATIS as i isemoma ON D i Jepeedon CIN ppp 1 settledly 100 PPE A Ec Du DOM 11 ppp 4 username user isp com ppp 4 epassword encrypted ppp 4 phonenum 0845 1400101 ppp 4 use modem 3 eoe acdaon 1 ppp 4 pwr_dly 60 ppp 4 autoassert 1 ppp 4 ipsec 1 ppp 4 llitftace Default PROS ao o AS ppp 4 inhmode 1 ana 0 anon ON ana 0 llon ON ANUIES Olden OEF ama Una ecdo me ana O lapbon 0 ana O logsize 45 4 2 Digi Transport Firmware Versions This ts the firmware hardware information CA Sa o AO E Sl NO Ec oe To ODD S ou mes mic Meno o IN SONY OS Vor o a di o laa es SI ele O OS dob WNC SOOO OO 91
4. 01910 0 Async Driver peu cmo ND EC eke cas HUOT Dic exc REIS ons ILSIDIN IE ZA 15 59h De ab Ste RSS o Firewall RSS a no Eent antis Revas tr ons O Timer MocuTe RES tom vb s dii AAL Ren Treron lade ADSL Revio Don reda BIUS ES BIG SE Eo come SNA o IP Perron one IAI Ae RES rton PR no PPTP Reiss MOI 010 TACPLUS Sao sole MySQL Revision OOI LAPB Rer bo Ton AL de LAPD Reis on ls deo TEI Management Revision o SI O C TE TH Revision sevi X25 Layer Revisor ona is MACRO Rev Tonon eb PAD REVISO db O SEO lal REVES RON diea m 120 REV Salome dba db TPAD Interface ESAS dba d 2 SCI Ney Sik Rev oon dis BASTSK kev ronron LEO ARM Sync Driver Revers sole veo TCP HASH mode Revision lull ICE Whe ab dors Iesv isto as c Moe docs PPP Eee eS woes m die de 9 WEB Ies mones SMTP NES IL Al Eee Revio rono Imo FTP ESAS ron dq 4 IKE SS ojo LO 12 POTTAN EPROR BRIDGE MODEM eC Or TON G FLASH Write Command Interpreter Seo ee nel DISP BGP QOIS BADIUS irene SSH Server SOIE CERI LowPrio TOES TEMPLOG OK RES ito REVISO REVLO RON Rov rS rOn Eun RES ON Revs Wom Ine Salonen RSS RES OS RETA ito ne RE vision PUO RSS io Rev ro TOn Reis EON Ren ies OIM PRPRPRPRPRPRPEPE RPE RPP PEPE EE SSA area ie nian arco SS 13
5. PP 4 in the case where PPP 1 works intermitantly This oos 10 can be thought of as a de bounce timer in the context of this application note r ping 10 5 rd 1 dt 1 during recovery test the link every 10 seconds with a ping allow 5 seconds for the response to each ping if the recovery fails deactivate the interface and deactivate the link before trying again Rule 2 then allows all other traffic through For a more detailed explanation of the above firewall keywords refer to the Sar OS reference manual ftp ftp1 digi com support documentation Digi Transport and Sarian User Guide pdf Finally turn the firewall on for PPP 1 to activate the ICMP monitoring and recovery Configuration Interfaces gt PPP gt PPP 0 4 gt PPP 1 gt Standard Parameter Setting Description Switches the firewall on for this interface Maximum link up time s 0 Maximum negotiation time s 80 Firewall lore IGMP Of v IPSec Off Click OK 2 5 Save configuration Save your configuration as the power up configuration Administration Save configuration Save Config Save current config to Config O power up The SaveAll button will save the following Save the current config to config O Save the curent firewall Save all the sregisters on all ports to profile O Save all PAD parameters on all PADs to profile O SaveAll Click OK Reboot the Digi Transport router or deactivate PPP 1 so the PPP cha
6. e 4 comes back into service after an outage Configuration Routing gt Default Route O Configure Default IP Route O Gateway Source address Source mask Interface gt Interface Ct Connected metric a Disconnected metric a Redial delay 10 Enqueue only one packet during interface connection period No Y Initial powerup delay s 0 Deactivate Interface PPP v N Deactivate Interface Cet 2nd Deactivate Interface None w 2nd Deactivate Interface o Click OK The configuration of default route 1 should be configured as shown Configuration Routing Default Route 1 Parameter Setting Description nterface PPP N Default route 1 is via PPP 4 Interface Deactivate interface T This will allow for recovery to ADSL Deactivate interface a A gt Default Route 1 Configuration Routing Configure Default IP Route 1 Gateway Source address Source mask Interface Interface Connected metric 1 Disconnected metric 11 Redial delay 10 Enqueue only one packet during interface connection period No Y Initial powerup delay s 0 Deactivate Interface None Deactivate Interface 0 2nd Deactivate Interface None Y Click OK 2 4 Configure the Firewall The firewall should be configured to monitor the ICMP requests generated by PPP 1 If the firewall detects that 3 consecutive ICMP echo requests have failed i
7. e configured to be always on and have a power up delay of 60 seconds to allow the ADSL connection to come up and be the primary connection The interface will also be configured for use with an ISP enter the details as shown in the tables below Parameter Setting Description Dial out number 0845 1400101 Replace with the number for your ISP Use GPRS PSTN external modem PSTN Use internal PSTN modem Use W WAN external modem Use internal ISDN modem Username User Replace with your dial up username Password Pass Replace with your dial up password Always on mode Interface should always be active Timer to allow main ADSL connection to POWET UP AOD GRANAR AS come up before this one is activated Keep interface in service even if no data passes through interface Your ISP will normally assign an IP address automatically Inactivity timeout s Local IP address 0 0 0 0 Only applies if configuring ISDN not PSTN Dial out prefix Dial out number Use GPRS PSTN external modem Detach GPRS on link failure Detach GPRS between connection attempts Username Password Assigned Confirm password AODI NUA Always on mode user isp com EEE SES AODI delay s 0 Power up AODI delay s Go out of service if first AODI connections fail No DNS server Multi link Off w Inactivity timeout s Inactivity timeout 2 s oe RX packet Inactivity timeout s 0 Log event up time mins 0
8. lied to the ISDN interface For failover from ADSL to a cellular network please see Application Note 34a as the configuration is slightly different 1 2 Assumptions This guide has been written for use by technically competent personnel with a good understanding of the communications technologies used in the product and of the requirements for their specific application Configuration This application note assumes that the router will be connecting to a cellular network This application note applies to Models shown Digi Transport DR64 router with ADSL amp PSTN running firmware version 5081 Other Compatible Models All Digi Transport products Firmware versions 4905 or later Configuration This Application Note assumes that the Digi Transport router is already configured with a working ADSL connection through PPP 1 1 3 Corrections Requests for corrections or amendments to this application note are welcome and should be addressed to uksupport digi com Requests for new application notes can be sent to the same address 1 4 Version Version Number Status AA Re branded to Digi Transport 2 CONFIGURATION 2 1 Configure PPP 1 ADSL This PPP interface should already be configured for use with the ISP You should confirm that you have a working ADSL connection before proceeding with this configuration The PPP 1 interface needs to be configured to be always on The inactivity timer should be set to 0 Configu
9. nges take effect 10 3 TESTING 3 1 Simulate a failure To test the fail over and recovery you will need to configure the PPP interface to ping a IP address that you can easily stop responding to ICMP requests either through the use of a firewall or by physically disconnecting it from the network You will also need to alter the firewall rule so it monitors the same IP address that PPP 1 is pinging Once you have the IP address configured and the Digi Transport router is up on the main WAN link remove your test device from the network or adjust the firewall so it stops responding to the ICMP requests from the Digi Transport router After approximately 30 seconds the router should bring up PPP 4 the dial up connection To confirm that PPP 4 is up and being used you can e check the entries in Diagnostics Event Log e click on Diagnostics Status gt PPP gt PPP 0 4 gt PPP 4 gt View and check the link is up and has a valid IP address e click on Configuration Routing gt Default Route 0 then scroll to the bottom and click on the button Show IPv4 Routing Table to view the routing table which should show PPP 4 with a status of UP and PPP 1 with a status of OOS e Also for dial up the routers OH and CD LED s should be lit Once you have confirmed that the router has failed over correctly re enable the ICMP response or re connect the test device to the network You should notice that after approximately 20 seconds the router
10. ration Interfaces gt PPP gt PPP 0 4 gt PPP 1 gt Standard Parameter Setting Description Always on mode Configures interface as always on Inactivity timeout s Interface is always connected and active Use GPRS PSTN external modem No M Detach GPRS on link failure No v Detach GPRS between connection attempts No mw Username user isp com Password Assigned Confirm password eoseeTo AODI NUA Always on mode AODI delay s 0 Power up AODI delay s 0 Go out of service if first AODI connections fail No DNS server Multi link Off Inactivity timeout s Inactivity timeout 2 s 0 RX packet Inactivity timeout s 0 Click OK PPP 1 should be configured to generate ICMP requests that the firewall can monitor and use to detect when the ADSL connection has a problem It is also necessary to configure a settling time on the interface The settling time is a parameter that prevents the Digi Transport from using the interface until it has been up for the specified number of seconds This delay is required so that any ICMP echo requests used for testing the interface are not sent so soon after the interface has come up that the ISP drops the reply packet ISP routing tables are often not updated within the first few seconds of an interface coming up Sending packets immediately often causes the reply to these packets to be dropped Configuration Interfaces gt PPP gt PPP 0 4 g
11. t PPP 1 gt Advanced Parameter Setting Description Ping request interval Send ICMP requests every x seconds ony send PINGS woen YES Do not send ICMP requests if using cellular interface is in service A public IP address that you can ping to SO fas check connectivity via ADSL NIMES Do not send 1 ping until 10 seconds after one une eee interface has come up LCP echo request interval s Reset link after this many failed LCP echo requests PING request interval s No PING response request interval s PING response timeout s New connections to resume with previous PING interval Only send PINGs when interface Is in service PING IP address No PING response reset delay s Use ETH 0 for PING source IP No a Settling time 100ms 100 Heartbeat interval s Heartbeat destination Click OK 2 2 Configure PPP 4 PSTN It will be necessary to configure PPP 4 as an outbound interface as the default is for the interface to accept incoming calls Then ISP configuration will be added Navigate to the following location Configuration Interfaces gt PPP gt PPP 0 4 gt PPP 4 gt Standard Scroll to the bottom of the page and click Load dialling defaults Remote CHAP Login Configuration Options CHAP MDS Enabled w MS CHAP Algorithm Enabled iv MS CHAPv2 Algorithm Enabled w Enable Top Talker Monitoring No Cancel Load dialling defaults The PPP 4 configuration needs to b
12. t will take PPP 1 out of service and deactivated thus allowing PPP 4 to come up The IP address in the firewall rule must be the IP address that PPP 1 is sending pings to The recovery code will then test the ADSL connection before bringing it back into service When the recovery is successful and PPP 1 comes back into service PPP 4 will be deactivated Configuration Security gt Firewall Insert the following 2 rules Rule 1 pass out bDreak end on ppp l proto icmp from any Lo 1 2 5 4 Temp type echo inspect sienes olor Ad eio os r aa S rde l Rule 2 Pass break end gt Firewall Security gt Configuration Configure Firewall pass out break end on ppp 1 proto icmp from any to 1 2 3 4 icmp type iu 1 echo inspect state oos 10 t 3 c 3 d 3 r ping 10 5 rd 1 dt 1 edit H O 2 pass break end Save the firewall rules by clicking the Save fw gt fw txt button Rule 1 explained pass out break end on PPP 1 allow traffic outbound from PPP 1 proto icmp from any to 1 2 3 4 icmp type echo allow pings out to 1 2 3 4 inspect state monitor the pings for echo replies and allow them back in oos 10 t 3 cz3 d 3 if 3 consecutive pings fail deactivate PPP 1 and start recovery procedures after 10 seconds This 10 second timer could be increased by editing the firewall rule to prevent the Digi Transport from switching rapdily between PPP 1 and P
Download Pdf Manuals
Related Search
Related Contents
Fixapart W9-20426 mounting kit Copyright © All rights reserved.
Failed to retrieve file