> 
>     Hi!
> 
> I have a problem with the example of Saravanan Radhakrishnan that can be
> found
> on http://www.ittc.ukans.edu/~rsarav/howto/node16.html
> 
> When I run this (after I have ran the first part of the example):
> # Installing the route classifier on the root of the tree.
> tc filter add dev eth0 parent 1:0 protocol ip prio 100 route
> 
> # Assigning the route and the rules for testbed11
> ip route add 10.0.0.8 via 10.0.0.7 flow 1:2
> 
> # Assigning the route and the rules for testbed13
> ip route add 10.0.0.9 via 10.0.0.7 flow 1:3
> 
> the route assignements return me an error :
> Error: either "to" is duplicate, or "flow" is a garbage.
> Error: either "to" is duplicate, or "flow" is a garbage.
> 
> What does it mean? And Why this example don't work?

What is your kernel version ? This example works fine only for
kernel version < 2.2.4. Command "ip route" now don't have a
"flow" parameter, use "realm" instead it. Also you must map
"realm" into "flowid" in route classifier.

# ip ro add 10.0.0.8 via 10.0.0.7 realm 32
# ip ro add 10.0.0.9 via 10.0.0.7 realm 16
# tc filter add dev eth0 parent 1:0 protocol ip prio 100 \
  route to 16 flowid 1:3
# tc filter add dev eth0 parent 1:0 protocol ip prio 100 \
  route to 32 flowid 1:2

--
Vladimir.


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

Reply via email to