All of lore.kernel.org
 help / color / mirror / Atom feed
From: Esteban Ribicic <eribicic@UolSinectis.com>
To: lartc@vger.kernel.org
Subject: [LARTC] TEQL and balancing
Date: Sun, 03 Nov 2002 16:25:23 +0000	[thread overview]
Message-ID: <marc-lartc-103635153519307@msgid-missing> (raw)

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? 


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

             reply	other threads:[~2002-11-03 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-03 16:25 Esteban Ribicic [this message]
2002-11-03 19:42 ` [LARTC] TEQL and balancing Stef Coene

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-103635153519307@msgid-missing \
    --to=eribicic@uolsinectis.com \
    --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.