* Re: 转发: I meet a problem about sctp and linux policy route
@ 2018-07-02 2:12 Marcelo Ricardo Leitner
0 siblings, 0 replies; only message in thread
From: Marcelo Ricardo Leitner @ 2018-07-02 2:12 UTC (permalink / raw)
To: linux-sctp
On Mon, Jul 02, 2018 at 09:18:18AM +0800, peicaiyun wrote:
> We config our system a policy route as follow:
>
> echo "100 my" >> /etc/iproute2/rt_tables ip route add to 0.0.0.0/0 via
> 192.168.0.2 dev eth0 table my /sbin/ip rule add from 12.34.0.0/32 table my
>
> When 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.
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-02 2:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-02 2:12 转发: I meet a problem about sctp and linux policy route Marcelo Ricardo Leitner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).