From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alfredo Giordano" Date: Sun, 01 Jun 2003 01:52:09 +0000 Subject: [LARTC] Multiple Link with Nat and linux bw management / routing MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_08A1_01C327B6.810CD9A0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_08A1_01C327B6.810CD9A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi folks, Has been several days I am going throught this but I couldn't make it to = work. this is my current scenario: E1 pipe=20 | cisco 3620 with wccp | switch1 --------- squid transparent server | eth1 linux bridge with htb bw management per IP eth0 | switch2 | class C routed network to clients I want to modify this adding an ADSL connetcion (dynamic IP address) in = to the network. I would like to have fail over but not load balancing, I = will decide if a single ip gets routed by default gw or to the adsl = connection. Beside that I would like to keep the transparent proxy. Problems I am facing to are: 1. connection routed to adsl connection must be natted the other one not 2. how to manage the upload bw (no problem for download because I can = shape on eth0) 3. keep the transparent proxy for both connections. we are trying two different aproaches: E1 pipe ADSL pipe | | cisco 3620 bb router | | ----------------------------------- | switch1 | linux router with iptables (maybe wccp? or simply port = redirection) | switch2---squid transparent server | class c routed network segment that leaves out the bw management wich **I NEED** unless I can find an = efficient way to mark squid packets with their original source IP. the other idea: E1 pipe ADSL pipe | | cisco 3620 | | | eth1 eth2(ppp0) ----------linux router--------- eth0 eth3 | | | squid transparent server | class c routed network segment that has exponential complications and needs to find a machine that can = support 4 eth cards without errors. Any suggestion on the linux and/or the general design? This thing is = driving me crazy. Thanks in advance Alfredo Giordano ------=_NextPart_000_08A1_01C327B6.810CD9A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi folks,
 
Has been several days I am going = throught this but=20 I couldn't make it to work.
 
this is my current = scenario:
 
E1 pipe
      = |
cisco 3620 with wccp
      = |
  switch1 --------- squid = transparent=20 server
      |
    eth1
linux bridge with htb bw management per = IP
    eth0
      = |
  switch2
      |
class C routed network to = clients
 
I want to modify this adding an ADSL = connetcion=20 (dynamic IP address) in to the network. I would like to have fail over = but not=20 load balancing, I will decide if a single ip gets routed by default gw = or to the=20 adsl connection. Beside that I would like to keep the transparent=20 proxy.
 
Problems I am facing to = are:
 
1. connection routed to adsl connection = must be=20 natted the other one not
2. how to manage the upload bw (no = problem for=20 download because I can shape on eth0)
3. keep the transparent proxy for both=20 connections.
 
we are trying two different = aproaches:
 
E1=20 pipe           &nb= sp;     =20 ADSL pipe
  =20 |            =             &= nbsp;         |
=
cisco=20 3620           &nb= sp;    bb=20 router
  =20 |            =             &= nbsp;        =20 |
   -----------------------------------
          &nbs= p;         |
          &nbs= p;   =20 switch1
          &nbs= p;        =20 |
       linux=20 router with iptables (maybe wccp? or simply port = redirection)
          &nbs= p;        |
          &nbs= p;    switch2---squid=20 transparent server
          &nbs= p;       =20 |
          &nbs= p;   =20 class c routed network segment
 
that leaves out the bw management wich = **I NEED**=20 unless I can find an efficient way to mark squid packets with their = original=20 source IP.
 
the other idea:
 
E1=20 pipe           &nb= sp;     =20 ADSL pipe
  =20 |            =             &= nbsp;         |
=
cisco=20 3620           &nb= sp;         =20 |
  =20 |            =             &= nbsp;        =20 |
  eth1        =             &= nbsp;      =20 eth2(ppp0)
    ----------linux router---------
  eth0        &nbs= p;            = ;       eth3
     |     &nb= sp;  =20             =    =20         |
     |          &nbs= p;            = ; =20 squid transparent server
     |
class c routed network = segment
 
that has exponential complications and needs to find a machine that = can=20 support 4 eth cards without errors.
 
Any suggestion on the linux and/or the general design? This thing = is=20 driving me crazy.
 
Thanks in advance
 
Alfredo Giordano
 
 
------=_NextPart_000_08A1_01C327B6.810CD9A0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/