File: FAQ

package info (click to toggle)
wrr 20021019-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 640 kB
  • ctags: 8
  • sloc: sh: 234; perl: 85; makefile: 7
file content (102 lines) | stat: -rw-r--r-- 2,873 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Question:
  Can I use the 2.4.x patch for a 2.4.y kernel or a 2.2.z patch
  for a 2.2.w kernel?
Answer:
  Probably yes.
End.

Question:
  Can I use a patch made for some version of iproute2 for another 
  version of iproute2?
Answer:
  Probably yes.
End

Question:
  iproute2 won't compile.
Answer:
  Make sure you are using a version of iproute2 which suppports your
  kernel version. Also make sure that iproute2 compiles without the wrr
  patch. If it doesn't http://www.google.com will probably give you the 
  answer on how to make it compile. Finally make sure that you patch
  the kernel before you compile iproute2.
end.

Question:
  iproute2 doesn't work.
Answer:
  Make sure you have removed any iproute2 installed as a part of your
  linux distribution. Also make sure you use the same version of wrr 
  for the kernel and for iproute2.
End

Question:
  Is WRR scaleable?
Answer:
  The time usage of WRR increases logarithmic in the number of active
  users (that means yes). See next question, though.
End.

Question:
  What happens if WRR sees packets from more machines than specified
  in the maxclasses parameter?
Answer:
  It will reuse the least recently used class.
End.

Question:
  WRR doesn't compile/patch on a 2.2 kernel with the bridgeing code from
  bridge.sourceforge.net.
Answer:
  Remove the lines 	

    #ifdef KERNEL22
      if(skb->pkt_bridged) {
      .
      .
      .
      }
    #endif	

  from sch_wrr.c. Note that MAC addressing mode will not work if you
  do this.
End.


Question:
  Does WRR work with advanced NAT features of 2.4 kernels such as SNAT?
Answer:
  I think it does though I don't know the advanced NAT features of 2.4
  kernels. But you probably want to use the "masq" classifying option 
  when creating the wrr qdisc or set MASQGRADING=y if you use
  the example scripts.
End

Question:
  I have two or more internet connections connected to my firewall which
  are shared by the local machines in some way. Can I use WRR to shape
  all these connections?
Answer:
  This should be possible. For the outgoing traffic you can just attach
  WRR in the ordinary way. For the incomming direction you need to mark
  packets with the interface they are comming from and use this mark
  to shape separately for each connection on the incomming interface. Note 
  that the example scripts will not do this - you will have to set it up 
  yourself. If you extended the example scripts in a natural way to support
  this please send them to me.
End


Question
  I want to give priority to special kind of traffic. How do I do that?
Answer
  You use the genrel traffic control framework of linux which wrr is a part
  of. Look at http://lartc.org for more information.
End.

Question:
  Why do I get a "No enough space" error when I try to 
  create a wrr qdisc?
Answer:
  The value you specified for maxclasses is too big. 
End