All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cristian Ciupitu <cristian_ciupitu@rol.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] modem bonding, round-robin routing
Date: Sun, 03 Feb 2002 23:53:53 +0000	[thread overview]
Message-ID: <marc-lartc-101278056918413@msgid-missing> (raw)

           I want to aks for your help. I have 2 cable modems connected to 2 ether cards and i want to use both modems to connect to the Internet. The idea is to load-balance new connections (made from my computer) between the 2 ether cards. For example if I open 2 connections from my computer one will go via eth1 and the other will go via eth2. I don't want to have packets from one connections going through both ether cards; every connection with her ether card. 
          The gateway is the same for both modems.
           I managed to do something by using the comand
# ip ro
193.231.146.0/24 dev eth0  scope link
127.0.0.0/8 dev lo  scope link
#ip ro add default nexthop dev eth1 via 195.7.12.24 weight 128 nexthop dev eth2 via 195.7.13.3 weight 128
           The connections were using on both modems, but I had one big problem; the computer tried to do ARP on internet hosts :). I know it's ridicoulus, but that's what happend. 
           I can''t use TEQL because the ISP doesn't provide help for this kind of stuff and every modem (ethercard) must use a fixed IP address, so I can't use a third address (the one of teql0).
          Thank you for your time and if you have any questions send the, please. Some good and complete docs (links) would be appreciated too.

                                                                                                                        Cristian
 

PS: Those are the settings if they are necesary
eth1      Link encap:Ethernet  HWaddr 00:00:C0:38:BF:F8
          inet addr:195.7.12.24  Bcast:195.7.15.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:20310 (19.8 Kb)  TX bytes:168 (168.0 b)
          Interrupt:11 Base address:0x6100

eth2      Link encap:Ethernet  HWaddr 00:00:C0:FC:EE:F3
          inet addr:195.7.13.3  Bcast:195.7.15.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:105943 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83014 errors:0 dropped:0 overruns:0 carrier:0
          collisions:79 txqueuelen:100
          RX bytes:106012153 (101.1 Mb)  TX bytes:10455606 (9.9 Mb)
          Interrupt:9 Base address:0x6300





---
exploreaza Romania Online!
http://www.ROL.ro

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

                 reply	other threads:[~2002-02-03 23:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101278056918413@msgid-missing \
    --to=cristian_ciupitu@rol.ro \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.