I meet a problem about sctp and linux policy route
Marcelo Ricardo Leitner
maintainerQuoted 9 lines · peicaiyun
We config our system a policy route as follow:
echo "100 my" >>
/etc/iproute2/rt_tablesip route add to 0.0.0.0/0 via 192.168.0.2 dev eth0 table my/sbin/iprule add from 12.34.0.0/32 table myWhen I send sctp package from 12.34.0.100 in my machine(12.34.0.100 is ip of this machine), to 12.34.0.111 Then I find the package was send to 12.34.0.111,not through gw 192.168.0.2 Is the sctp package not follow policy route?
Correct.
Quoted 1 line
Why the package is not routed to 192.168.0.2?
This has been asked quite a few times already. You should be able to find the answer in the archives.
Marcelo