Hi,
ich muss in einem openvz Container tc (traffic control) verwenden. Für
/sbin/tc qdisc add dev eth1.1 root handle 1: htb default 10
RTNETLINK answers: No such file or directory
muss ich auf dem Host das entsprechende Modul laden:
modprobe sch_htb
Nun habe ich aber ds Problem, dass ich nicht finde, welches Modul tc filter benötigt:
tc filter add dev eth1.1 [....]
RTNETLINK answers: No such file or directory
We have an error talking to the kernel
Kann mir jemand sagen, welches Modul ich hierfür laden muss?
Viele Grüße
Martin
Welches Kernel Modul für "tc filter"
Re: Welches Kernel Modul für "tc filter"
Das Modul braucht man nicht für filter, sondern für fw. Kaum denkt man noch mal logisch nach, schon findet man eine gute Lösung für das Problem
modprobe cls_fw ist also, was ich gesucht hatte
Code: Alles auswählen
root@shproxmox2:~# lsmod | sed 's/\s.*$//' > pre_htb
root@shproxmox2:~# tc qdisc add dev eth0.1 root handle 1: htb default 10
root@shproxmox2:~# lsmod | sed 's/\s.*$//' > post_htb
root@shproxmox2:~# diff pre_htb post_htb
1a2
> sch_htb
root@shproxmox2:~# lsmod | sed 's/\s.*$//' > pre_filter
root@shproxmox2:~# tc filter add dev eth0.1 protocol ip handle 1 fw flowid 1:10
root@shproxmox2:~# lsmod | sed 's/\s.*$//' > post_filter
root@shproxmox2:~# diff pre_filter post_filter
1a2
> cls_fw