From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lisle Wilson duble@dingoblue.net.au Date: Mon, 04 Dec 2000 03:48:28 +0000 Subject: [LARTC] Load Sharing PPP Connections on an Masqed LAN MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000F_01C05DF8.E1A05E70" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org
This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C05DF8.E1A05E70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, can anyone help me with this problem i've got!

I have a problem with routing on my Mandrake 7.2 Linux Box i was =
wondering if you could help me with.  I live=20

in Australia and as broadband access isn't very available at the moment, =
i have 2 modems to dialup to my isp=20

(dynamic ips assigned) to increase my bandwidth at an affordable level.  =
What currently happens is i have a=20

LAN which accesses the internet through my Box that has IP Masquerading =
set up on it.  My problem is whne i=20

dial in with both connections, it only routes the internet through the =
last ppp connection i've made (usually=20

ppp1). This means that although ppp0 and ppp1 are connected to the =
internet, my computers on the LAN (ip=20

192.168.1.x) are only connecting through one modem.  What I need is to =
know how to set up routing, or=20

Loadsharing so that i can utilise both modems over my Masqed network.

What happens when i type route -n in the command line:

Destination Gateway  Genmask  Flags Metric Ref Use Iface
198.142.149.254 0.0.0.0  255.255.255.255 UH 0 0 0 ppp0
198.142.150.254 0.0.0.0  255.255.255.255 UH 0 0 0 ppp1
192.168.0.0 0.0.0.0  255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0  255.0.0.0 U 0 0 0 lol
0.0.0.0  198.142.150.254 0.0.0.0  UG 0 0 0 ppp1


My Desired Set Up:

Internet  Internet
   |              |=20
   |              |
   |ppp0       |ppp1=20
   |              |=20
 ____________________________
|    Linux Box                              |
| IP Masquerading                       |
| routing or lOadsharing                |
--------------------------------------------------
      |
      |
      |eth0
      |
 The Rest of My Lan


Any assistance with my problem would be greatly appreciated.

Cheers
-Lisle Wilson

------=_NextPart_000_000F_01C05DF8.E1A05E70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi, can anyone help me with this =
problem i've=20
got!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a problem with routing on my =
Mandrake 7.2=20
Linux Box i was wondering if you could help me with.&nbsp; I live =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>in Australia and as broadband access =
isn't very=20
available at the moment, i have 2 modems to dialup to my isp =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>(dynamic ips assigned) to increase my =
bandwidth at=20
an affordable level.&nbsp; What currently happens is i have a =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>LAN which accesses the internet through =
my Box that=20
has IP Masquerading set up on it.&nbsp; My problem is whne i =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>dial in with both connections, it only =
routes the=20
internet through the last ppp connection i've made (usually =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ppp1). This means that although ppp0 =
and ppp1 are=20
connected to the internet, my computers on the LAN (ip </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>192.168.1.x) are only connecting =
through one=20
modem.&nbsp; What I need is to know how to set up routing, or =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Loadsharing so that i can utilise both =
modems over=20
my Masqed network.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What happens when i type route -n in =
the command=20
line:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>Destination&nbsp;Gateway&nbsp;&nbsp;Genmask&nbsp;&nbsp;Flags&nbs=
p;Metric&nbsp;Ref&nbsp;Use=20
Iface<BR>198.142.149.254&nbsp;0.0.0.0&nbsp;&nbsp;255.255.255.255&nbsp;UH&=
nbsp;0&nbsp;0&nbsp;0=20
ppp0<BR>198.142.150.254&nbsp;0.0.0.0&nbsp;&nbsp;255.255.255.255=20
UH&nbsp;0&nbsp;0&nbsp;0=20
ppp1<BR>192.168.0.0&nbsp;0.0.0.0&nbsp;&nbsp;255.255.255.0&nbsp;U&nbsp;0&n=
bsp;0&nbsp;0=20
eth0<BR>127.0.0.0&nbsp;0.0.0.0&nbsp;&nbsp;255.0.0.0&nbsp;U&nbsp;0&nbsp;0&=
nbsp;0=20
lol<BR>0.0.0.0&nbsp;&nbsp;198.142.150.254&nbsp;0.0.0.0&nbsp;&nbsp;UG&nbsp=
;0&nbsp;0&nbsp;0=20
ppp1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>My Desired Set Up:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>Internet&nbsp;&nbsp;Internet<BR>&nbsp;&nbsp;=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
|&nbsp;<BR>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;=20
|ppp0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|ppp1 <BR>&nbsp;&nbsp;=20
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; |=20
<BR>&nbsp;____________________________<BR>|&nbsp;&nbsp; &nbsp;Linux=20
Box&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
|<BR>|&nbsp;IP=20
Masquerading&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;|<BR>|&nbsp;routing=20
or=20
lOadsharing&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<BR>----------------------------------=
----------------<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
&nbsp;|<BR>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;|<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
|eth0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>&nbsp;The Rest of My=20
Lan</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>Any assistance with my problem =
would be greatly=20
appreciated.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers<BR>-Lisle=20
Wilson</FONT></DIV></FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_000F_01C05DF8.E1A05E70--