Evgeny Kushmanov wrote:> When I do "ip ru ls" very often is nothing output, but sometime
it
> output correct info
>
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> root@prima:~# ip ru ls
> 0: from all lookup local
> 1000: from 81.4.240.10 lookup TTK
> 1100: from 217.106.18.62 lookup TCNN
> 2000: from all fwmark 0x80 lookup PROXY
> 2500: from 81.4.241.0/24 to 195.151.0.0/16 lookup TTK
> .....
> 32766: from all lookup main
> 32767: from all lookup default
>
> How I can fix that ?
Are you using 2.4.29? If so you need to upgrade to 2.4.30. 2.4.29
leaks netlink sockets, which causes bind-clashes that confuse iproute.
Regards
Patrick