<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >IP Masquerade and Dial-on-Demand Connections</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Linux IP Masquerade HOWTO" HREF="index.html"><LINK REL="UP" TITLE="Other IP Masquerade Issues and Software Support " HREF="ipmasq-support-portfw-and-stronger-rulesets.html"><LINK REL="PREVIOUS" TITLE="IP Masquerading multiple internal networks" HREF="multiple-masqed-lans.html"><LINK REL="NEXT" TITLE="Port Forwarding with IPTABLES or external tools like IPPORTFW, IPMASQADM, IPAUTOFW, REDIR, UDPRED, and other Port Forwarding tools " HREF="forwarders.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Linux IP Masquerade HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="multiple-masqed-lans.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 6. Other IP Masquerade Issues and Software Support</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="forwarders.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="DIAL-ON-DEMAND" ></A >6.6. IP Masquerade and Dial-on-Demand Connections</H1 ><P > <P ></P ><OL TYPE="1" ><LI ><P >If you would like to setup your network to automatically dial up the Internet, either the <STRONG >Diald</STRONG > demand dial-up or new versions of the <STRONG >PPPd</STRONG > packages will be of great utility. Both Diald and PPPd are very powerful in their configuration flexibility.</P ></LI ><LI ><P >To setup PPPd for Dial-on-Demand, pease check out the <A HREF="http://www.samba.org/ppp/index.html" TARGET="_top" >PPPd Homepage</A > </P ></LI ><LI ><P >To setup Diald, please check out the <A HREF="http://diald.sourceforge.net/" TARGET="_top" >Diald Homepage</A > or <A HREF="http://www.ecst.csuchico.edu/~dranch/LINUX/index-linux.html#TrinityOS" TARGET="_top" >TrinityOS - Section 23</A ></P ></LI ><LI ><P >Once Dial on Demand and IP Masq have been setup properly, any MASQed client machines that initiate a web, telnet or ftp session will make the Linux box dynamically bring up its Internet link.</P ></LI ><LI ><P >There is a timeout that will occur with the first connection. This is inevitable if you are using analog modems. The time taken to establish the modem link and the PPP connections may cause your client program (WWW browser, etc.) to stop. This isn't common though. If this does happen, just retry that Internet traffic request (say a WWW page) again and it should come up fine. You can also try setting <STRONG >echo "1" > /proc/sys/net/ipv4/ip_dynaddr</STRONG > kernel option to help with this initial setup.</P ></LI ></OL ></P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="multiple-masqed-lans.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="forwarders.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >IP Masquerading multiple internal networks</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ipmasq-support-portfw-and-stronger-rulesets.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Port Forwarding with IPTABLES or external tools like IPPORTFW, IPMASQADM, IPAUTOFW, REDIR, UDPRED, and other Port Forwarding tools</TD ></TR ></TABLE ></DIV ></BODY ></HTML >