teql on virtual network interfaces ?

Linux Advanced Routing and Traffic Control

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

 



Hi all,
 
I want to implement a "weighted" teql that can send packets to interfaces based on their "weights". To do this, I want to create multiple virtual network interfaces, and add them to teql. Since teql will send packets to each interface in a round-robin way, a weighted teql is achieved (my guess).
 
I already have two physical network interfaces, eth0 and eth1. I created a virtual interfaces based on eth1: # ifconfig eth1:0 10.0.0.2
After that I can see eth1:0 in the "ifconfig" result. Then I try to add the virtual interface to teql0: # tc qdisc add dev eth1:0 root teql0
But I got the error message: Cannot find device "eth1:0"
 
What's wrong with my method? I didn't see ip_alias module in the "lsmod", but since I can see eth1:0 in "ifconfig", I assume the module is loaded in the kernel. Finally, is there any existing "weighted" teql implemented?
 
I am using Fedore Core 3 (2.6.9-1.667smp)
 
Thanks a lot!
 
Best,
-Ji
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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