From: "Sebastian Bleikamp" Date: Wed, 14 Nov 2001 17:23:36 +0000 Subject: [LARTC] Multipath routing for beginners ... MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0014_01C16D39.7995ABE0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C16D39.7995ABE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello ! I=B4ve been "collecting" and reading all mails and articles on equal = cost multipath routing for about two month, because I have the = possibility to connect to two ISPs over two different devices and want = to do some primitive (per-flow based) loadbalancing. But it doesn=B4t = work, or at least I can=B4t get it working. So it would be really nice = if someone could explain me ho to set up ecmp from the scratch. I am familiar with standard network and routing issues (kernel <2.4.x), = masquerading (although I=B4ve got static IPs), iptables and the new = iproute (ip) commands, and know how to use traffic control and sheduling = (at least in theory :-) ). I know _nothing_ about RIP, OSPF & routing = daemons except their name, use and some principles of work. My setup is as follows: *ISP1* *ISP2* | | (ppp0) +---*LinuxBox*--+ (ppp1) | | (eth0) | -----+-----+----+----+---- (LAN) . . . . LinuxBox is connected ... through ppp0 to ISP1, address 10.0.1.10,=20 gw 10.0.1.1 (1st possible default route) through ppp1 to ISP2, address 10.0.2.10,=20 gw 10.0.2.1 (2nd possible default route) through eth0 to LAN, address 10.0.0.1,=20 netmask 255.255.255.0 With this setup everything works fine. Both systems know all of my IPs = and have routing set correct.=20 Then I tried to set it (ecmp) up like in the examples found on the net, = but they didn=B4t work, and the error was always ths same: When I had = finished standard routing and finally used the "ip route add default = nexthop ... nexthop ..." command, he accepted it first, but marked one = device "DEAD" immediately.=20 All necessary options have been compiled into the kernel (now 2.4.13). I don=B4t know what to do and where to look any more - theres no = documentation or howto on details of ecmp. It would be really a great = help if someone knows something about it. -=3D> Sebastian Bleikamp -=3D> EMail: -=3D> Phone: +49-172-6545394 -=3D> PGP key avaible on public key servers. ------=_NextPart_000_0014_01C16D39.7995ABE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello !

I=B4ve = been=20 "collecting" and reading all mails and articles on equal cost multipath = routing=20 for about two month, because I have the possibility to connect to two = ISPs over=20 two different devices and want to do some primitive (per-flow based)=20 loadbalancing. But it doesn=B4t work, or at least I can=B4t get it = working. So it=20 would be really nice if someone could explain me ho to set up ecmp from = the=20 scratch.
I am familiar with standard network = and routing=20 issues (kernel <2.4.x), masquerading (although I=B4ve got static = IPs),=20 iptables and the new iproute (ip) commands, and know how to = use=20 traffic control and sheduling (at least in theory :-) ). I know = _nothing_=20 about RIP, OSPF & routing daemons except their name, use and some = principles=20 of work.
My setup is as follows:
 

    =20 *ISP1*          =20 *ISP2*
       =20 |            =   =20 |
 (ppp0) +---*LinuxBox*--+=20 (ppp1)
          &nb= sp;    =20 |
           &n= bsp;   =20 |=20 (eth0)
          &nb= sp;    =20 |
   -----+-----+----+----+----=20 (LAN)
        = .    =20 .    .    .
 
 
LinuxBox is connected = ...
    through ppp0 to = ISP1, address=20 10.0.1.10,
        = gw 10.0.1.1=20 (1st possible default route)
    through ppp1 = to=20 ISP2, address 10.0.2.10,
        = gw 10.0.2.1=20 (2nd possible default route)
    through eth0 to = LAN, address=20 10.0.0.1,
        = netmask=20 255.255.255.0
 
With this setup everything works = fine. Both=20 systems know all of my IPs and have routing set correct. =
 
Then I tried to set it (ecmp) up like in the examples found on = the net,=20 but they didn=B4t work, and the error was always ths same: When I = had=20 finished standard routing and finally used the "ip route add default = nexthop ...=20 nexthop ..." command, he accepted it first, but marked one device "DEAD" = immediately.
All necessary options have been = compiled into the=20 kernel (now 2.4.13).
 
I don=B4t know what to do and where = to look any=20 more - theres no documentation or howto on details of ecmp. It would be = really a=20 great help if someone knows something about it.
 
 
 
-=3D> Sebastian Bleikamp
-=3D> = EMail:=20 <
Sebastian.Bleikamp@post.rwth-aachen.de>
-=3D> Phone: = +49-172-6545394
-=3D> PGP key=20 avaible on public key servers.


------=_NextPart_000_0014_01C16D39.7995ABE0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/