Hi all,

I'm having problem trying to use ip utility in iproute2 to set up some routing 
rules. Basically as soon as I try to use ip rule, e.g. 

# ip rule add

I get the following error:

RTNETLINK answers: Address family not supported by protocol.

And "ip rule show" returns me nothing, when I expect to at least get these:

0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default

It is interesting however that I can use "ip route" without problem, with all 
the routes shown up etc.
 
I've had a look at the code and it seems that the problem lies in netlink 
communications?! Not sure, as netlink is at least working for "ip route".

So my question are: 
1) has anyone used "ip  rule" in kamikaze (i've been working on 7.09 and 8.09) 
lately?
2) and does anyone know what could be stopping me from using "ip rule" properly?

Any suggestion will be greatly appreciated. Thank you.

Regards,

Chiang
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to