Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > e05c4514608e650af9b28d9be1d35a18 > files > 1273

howto-html-it-10.1-4mdv2008.1.noarch.rpm

<HTML
><HEAD
><TITLE
>Special routing</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Linux PPP HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="After the link comes up - the /etc/ppp/ip-up script"
HREF="ip-up.html"><LINK
REL="PREVIOUS"
TITLE="After the link comes up - the /etc/ppp/ip-up script"
HREF="ip-up.html"><LINK
REL="NEXT"
TITLE="Handling email queues"
HREF="x1448.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"
><A
HREF="http://www.linuxports.com/howto/ppp"
TARGET="_top"
>Linux PPP HOWTO</A
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="ip-up.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 25. After the link comes up - the <TT
CLASS="LITERAL"
>/etc/ppp/ip-up</TT
> script</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x1448.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN1442">25.1. Special routing</H1
><P
>If you are linking two LANs, you will need to set up specific routes
to the 'foreign' LANs. This is easily done using the <TT
CLASS="LITERAL"
>/etc/ppp/ip-up</TT
>
script. The only difficulty arises if your machine handles multiple PPP
links.</P
><P
>This is because the <TT
CLASS="LITERAL"
>/etc/ppp/ip-up</TT
> is executed for EVERY ppp
connection that comes up, so you need to carefully execute the correct
routing commands for the particular link that comes up - and not when
any other link comes up!</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="ip-up.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="x1448.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>After the link comes up - the <TT
CLASS="LITERAL"
>/etc/ppp/ip-up</TT
> script</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ip-up.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Handling email queues</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>