[LARTC] Question: TEQL / Equal Cost setup: failed

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all.

I've tried to set up load balance using both of TEQL and nexthop
but in vain. Please tell me where should I correct my setup/notions.
Thanks a lot. I use a version 2.2.16-22 kernel (from Redhat 7.0
precompiled).


Connectivity:
=============
---------
| PC1   |(211.23.43.88)   (211.23.43.81)  /28 network
|   eth0|---------------- ADSL Router 1 ------- Same ISP but
|       |(211.75.156.252) (211.75.156.249)/29 network
|   eth1|---------------- ADSL Router 2 ------- different gateway
|       |
|   eth2|(intranet)
---------


Using TEQL:
===========
[root@xxxxxx /root]# tc qdisc
qdisc teql0 8003: dev eth0
qdisc teql0 8004: dev eth1

[root@xxxxxx /root]# ip addr
1: lo: <LOOPBACK,UP> mtu 3924 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc teql0 qlen 100
    link/ether 00:c0:f6:b1:68:31 brd ff:ff:ff:ff:ff:ff
    inet 211.23.43.88/28 brd 211.23.43.95 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc teql0 qlen 100
    link/ether 00:e0:4c:39:74:de brd ff:ff:ff:ff:ff:ff
    inet 211.75.156.252/29 brd 211.75.156.255 scope global eth1
4: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:c0:f6:b1:57:e1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.224/24 brd 192.168.0.255 scope global eth2
5: teql0: <BROADCAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/generic
    inet 211.75.156.252/29 scope global teql0
    inet 211.23.43.88/28 scope global teql0

[root@xxxxxx /root]# ip route
211.75.156.248/29 dev teql0  proto kernel  scope link  src
211.75.156.252
211.23.43.80/28 dev teql0  proto kernel  scope link  src 211.23.43.88
192.168.0.0/24 dev eth2  proto kernel  scope link  src 192.168.0.224
127.0.0.0/8 dev lo  scope link
default dev teql0  scope link

[root@xxxxxx /root]# ping 211.23.43.81
PING 211.23.43.81 (211.23.43.81) from 211.23.43.88 : 56(84) bytes of data.
64 bytes from gw0 (211.23.43.81): icmp_seq=0 ttl=254 time=1.055 msec

[root@xxxxxx /root]# ping 211.75.156.249
PING 211.75.156.249 (211.75.156.249) from 211.75.156.252 : 56(84) bytes of data.
64 bytes from gw1 (211.75.156.249): icmp_seq=0 ttl=64 time=1.149 msec

[root@xxxxxx /root]# ping 211.23.16.116  (some internet address)
PING 211.23.16.116 (211.23.16.116) from 211.75.156.252 : 56(84) bytes of data.

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux