From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] TEQL and balancing
Date: Sun, 03 Nov 2002 19:42:00 +0000 [thread overview]
Message-ID: <marc-lartc-103635261219968@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103635153519307@msgid-missing>
On Sunday 03 November 2002 17:25, Esteban Ribicic wrote:
> hi all.
>
> this is my network
>
> ----- eth1
> linux box |
> ----- eth0
>
> those nic connect me to my default router (172.0.0.1) and then to the
> internet. I always used one NIC but now, i need two. i thought using
> teql to merge those in one and then, route everything over thtat teql
> interface..i tryed this and did not work:
>
> (after kernel 2.4 recompilation with QOS stuff)
>
> # /etc/init.d/networking stop
> Deconfiguring network interfaces: done.
> # ifconfig
> (shows nothing: OK)
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> (shows nothing: OK)
> #
> (set the interfaces i want to attach to teql0)
> # tc qdisc add dev eth0 root teql0
> # tc qdisc add dev eth1 root teql0
> #
> (set the ip address of those interfaces to my teql iface, those ips
> where the one i used to have in my NIC)
> # ip address add 172.0.0.81/24 dev teql0
> # ip address add 172.0.0.82/24 dev teql0
> #
> # ip link set teql0 up
> #
> #
> (set a default route to the device where my router is..used tyo be wth0,
> now teql0)
> # route add -net 172.0.0.0 netmask 255.255.255.0 dev teql0
> (set a default route to my router)
> # route add default gw 172.0.0.1
> #
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 172.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> teql0
> 172.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> teql0
> 0.0.0.0 172.0.0.1 0.0.0.0 UG 0 0 0
> teql0
> (look that all goes to teql)
> #
> #
> # ping 172.0.0.1
> PING 172.0.0.1 (172.0.0.1): 56 data bytes
>
> --- 172.0.0.1 ping statistics ---
> 4 packets transmitted, 0 packets received, 100% packet loss
> #
> (nothing works)..
>
> what could be wrong? im doing this because originaly, im planning to
> connect two cable modems in my house, and do some BW balancing...
>
> is that posible?
Yes, but teql is not made for this. Teql can be used to connect 2 linux boxes
with 2 links.
There was a chapter in the lartc.org howto but I can't find it right now. You
need some extra patches and you need to do natting on the linux box.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2002-11-03 19:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-03 16:25 [LARTC] TEQL and balancing Esteban Ribicic
2002-11-03 19:42 ` Stef Coene [this message]
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-103635261219968@msgid-missing \
--to=stef.coene@docum.org \
--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.