Re: Slightly offtopic: IRC channel archives

Linux Advanced Routing and Traffic Control

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

 



Hi, I have a litle problem with this code

I have two virtual ips (50 y 51) and this ips are the gateway

ip address add 192.168.0.50 dev eth1
ip address add 192.168.0.51 dev eth1
tc qdisc add dev eth1 root handle 1: cbq bandwidth 512kbit cell 8 avpkt 1000 \
mpu 64
tc class add dev eth1 parent 1:0 classid 1:1 cbq bandwidth 512kbit rate \
100kBit avpkt 1000 prio 5 bounded isolated allot 1514 weight 1 maxburst 21
tc class add dev eth1 parent 1:0 classid 1:2 cbq bandwidth 512kbit rate \
100kbit avpkt 1000 prio 5 bounded isolated allot 1514 weight 1 maxburst 21
tc filter add dev eth1 parent 1:0 protocol ip prio 5 handle 1: u32 divisor 1
tc filter add dev eth1 parent 1:0 prio 5 u32 match ip src 192.168.0.50 flowid 1:1
tc filter add dev eth1 parent 1:0 prio 5 u32 match ip src 192.168.0.51 flowid 1:2

and this scrip say:


RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument

Anybody can help me?
Regards
Javier

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