[ovs-discuss] 回复: ovn-ic POC problem

Han Zhou hzhou at ovn.org
Wed May 6 17:42:48 UTC 2020


On Wed, May 6, 2020 at 3:00 AM <fangtian at ruijie.com.cn> wrote:
>
>
>
>
>
> >>No worries. Glad to see your problem solved!
>
>
>
> Han,
>
>       Can I set the ovn-ic routing priority to a higher value ? why it’s
so low ?
>
> We tried to lower the src-ip routing priority ,but the lowest value we
can have is 402.
>
>
>
> RGS
>
> tian
>
>
>
> Lflow-list output.
>
>
>
> table=9 (lr_in_ip_routing   ), priority=402  , match=(ip4.src ==
10.44.0.4/32), action=(ip.ttl--; reg8[0..15] = 0; reg0 = 100.64.0.2; reg1 =
100.64.0.1; eth.src = 00:00:00:17:31:7a; outport = "ovn-cluster-join";
flags.loopback = 1; next;)
>
>   table=9 (lr_in_ip_routing   ), priority=402  , match=(ip4.src ==
10.44.0.6/32), action=(ip.ttl--; reg8[0..15] = 0; reg0 = 100.64.0.2; reg1 =
100.64.0.1; eth.src = 00:00:00:17:31:7a; outport = "ovn-cluster-join";
flags.loopback = 1; next;)
>
>   table=9 (lr_in_ip_routing   ), priority=129  , match=(inport ==
"lrp-ovn-cluster-ts-aliyun-east" && ip6.dst == fe80::/64),
action=(ip.ttl--; reg8[0..15] = 0; xxreg0 = ip6.dst; xxreg1 =
fe80::18aa:aaff:feaa:aa02; eth.src = 1a:aa:aa:aa:aa:02; outport =
"lrp-ovn-cluster-ts-aliyun-east"; flags.loopback = 1; next;)
>
>   table=9 (lr_in_ip_routing   ), priority=49   , match=(ip4.dst ==
169.254.0.0/24), action=(ip.ttl--; reg8[0..15] = 0; reg0 = ip4.dst; reg1 =
169.254.0.2; eth.src = 1a:aa:aa:aa:aa:02; outport =
"lrp-ovn-cluster-ts-aliyun-east"; flags.loopback = 1; next;)
>
>   table=9 (lr_in_ip_routing   ), priority=33   , match=(ip4.dst ==
10.42.0.0/16), action=(ip.ttl--; reg8[0..15] = 0; reg0 = 169.254.0.1; reg1
= 169.254.0.2; eth.src = 1a:aa:aa:aa:aa:02; outport =
"lrp-ovn-cluster-ts-aliyun-east"; flags.loopback = 1; next;)
>
>   table=10(lr_in_ip_routing_ecmp), priority=150  , match=(reg8[0..15] ==
0), action=(next;)
>
>

The route priority in OVN is determined by the prefix length, just like
traditional routing. If the prefix length is same, destination route has
higher priority than source route.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200506/9002a497/attachment.html>


More information about the discuss mailing list