Alexey,
Thank you very much for your letter.
I used different IP for qdisc than that which was assigned to PPP
interface. I tried exactly the same IP as I got for ppp0 interface:
teql works now.
I never thought that IP for teql0 should be the same as that for ppp.

But it seems like teql  does not perfoem any load balancing.
Currently all the packets go through that ppp link which has the same IP as teql0.
I am going to use two ppp connections with masquerading
and I wish to have http requests go more or less random through one
of two ppp links. (true load balancing will be nice, but I am not sure
that it is possible in case if internet provied does not tave any support for this)

Vladislav

-------- current status. everything goes through ppp0 -------------
[root@vladik2 /]# /sbin/tc qdisc list
qdisc teql0 8001: dev ppp0 root
qdisc teql0 8004: dev ppp1 root
[root@vladik2 /]# /sbin/tc -s qdisc ls
qdisc teql0 8001: dev ppp0 root
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc teql0 8004: dev ppp1 root
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
[root@vladik2 /]# /sbin/ip -s link ls
...............
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc teql0
    link/PPP
    RX: bytes  packets  errors  dropped overrun mcast
    269523     668      0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    60395      629      0       0       0       0
    inet 209.150.35.10/32 local 209.150.35.241 scope global ppp0
5: teql0: <POINTOPOINT,NOARP,UP> mtu 1006 qdisc pfifo_fast
    link/NETROM
    RX: bytes  packets  errors  dropped overrun mcast
    0          0        0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    49828      468      0       0       0       0
    inet 209.150.35.241/32 scope global teql0
6: ppp1: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1006 qdisc teql0
    link/PPP
    RX: bytes  packets  errors  dropped overrun mcast
    290        9        0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    4423       44       0       0       0       0
    inet 10.65.60.12/32 local 207.172.197.109 scope global ppp1

[root@vladik2 /]# /sbin/ifconfig teql0
teql0     Link encap:AMPR NET/ROM  HWaddr
          inet addr:209.150.35.241  P-t-P:209.150.35.241  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1006  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:444 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
[root@vladik2 /]# /sbin/ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:209.150.35.241  P-t-P:209.150.35.10  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:648 errors:0 dropped:0 overruns:0 frame:0
          TX packets:607 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

[root@vladik2 /]# /sbin/ifconfig ppp1
ppp1      Link encap:Point-to-Point Protocol
          inet addr:207.172.197.109  P-t-P:10.65.60.12  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1006  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

[root@vladik2 /]# /sbin/ip route list
10.65.60.12 dev ppp1  proto kernel  scope link  src 207.172.197.109
209.150.35.10 dev ppp0  proto kernel  scope link  src 209.150.35.241
127.0.0.0/8 dev lo  scope link
default dev teql0  scope link
[root@vladik2 /]#




Alexey Kuznetsov wrote:

> Hello!
>
> > In case if I set default routing
> > ip route add default dev teql0
> > I have no connection to ppp.
> ....
> > What routing should be set to make teql works.
>
> Your configuration looks OK and it should work.
> Please, make sure, that address set on teql coincides
> with one, which was supposed to be set on ppp.
> And then try to ping it a bit and make "ip neigh ls",
> "tc -s qdisc ls", "ip -s link ls".
>
> BTW why do you need it, if you have only one device?
>
> Alexey

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

Reply via email to