Dear all,

        At last I think I figure out the problem of my teql.

        I have one ppp connection & one eth connect to connect my Linux to
internet.

        I would like to use teql to load balance the outgoing traffic
between them.  However, I found that the traffice alway go out thru the
PPP interface only.  After a lot of investigate the problem is that the
eth interface can't route out traffice since I remove the default route in
the eth interface.  But, ppp interface can still work withing default
route.  So I would like to get help from someone to help me.


        e.g. My machine eth0: 192.168.1.10/24
                        gateway: 192.168.1.1
                        ppp0: 192.168.100.22 pointopoint with 192.168.68.X

        My original routing config is
        route add -net default gw 192.168.1.1 dev eth1

        Or when PPP is active
        route add -net default dev ppp0

        Now, I would get my teql0 working so...
        ./tc qdisc add dev eth0 root teql0
        ./tc qdisc add dev ppp0 root teql0

        route del -net default gw 192.168.1.1
        route del -net default dev ppp0

        ./ip addr add 192.168.1.10/24 dev teql0
        ./ip route add default dev teql0


        Then I hope the load balance work... However, it will only send
out traffic thru ppp0 interface.  Since the eth0 interface can't route
out traffic.  Since I can't assign gw for it... Could anyone give me a
hand?

        Thanks your attention!


Chris


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to