Re: 转发: I meet a problem about sctp and linux policy route

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux