I see, thanks.
________________________________
От: Ole Troan <otr...@employees.org>
Отправлено: 4 декабря 2019 г. 12:20:21
Кому: Юрий Иванов <format_...@outlook.com>
Копия: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Тема: Re: [vpp-dev] NAT44 does not use all addresses uniformly

Yuri,

> NAT44 does not use all addresses uniformly

The address and port allocation algorithm is plugable.
Contributions to alternative/better algorithms would be very welcomed!

Best regards,
Ole

>
> Hi,
>
> I use nat output address space:
> nat44 add address 19.246.159.5 - 19.246.159.100
>
> Configuration:
> nat {
>   translation hash buckets 1048576
>   translation hash memory 268435456
>   user hash buckets 250
>   max translations per user 20000
> }
>
> Looks like external address is changing only when all port become busy:
> vpp# show nat44 sessions
> NAT44 sessions:
> -------- thread 0 vpp_main: 292204 sessions --------
> ...
>
> vpp# show nat44 addresses
> NAT44 pool addresses:
> 19.246.159.5
>   tenant VRF independent
>   0 busy udp ports
>   0 busy tcp ports
>   0 busy icmp ports
> ...all others shows 0 busy ports
> 19.246.159.95
>   tenant VRF independent
>   0 busy udp ports
>   0 busy tcp ports
>   0 busy icmp ports
> 19.246.159.96
>   tenant VRF independent
>   0 busy udp ports
>   17804 busy tcp ports
>   0 busy icmp ports
> 19.246.159.97
>   tenant VRF independent
>   0 busy udp ports
>   64511 busy tcp ports
>   0 busy icmp ports
> 19.246.159.98
>   tenant VRF independent
>   0 busy udp ports
>   64511 busy tcp ports
>   0 busy icmp ports
> 19.246.159.99
>   tenant VRF independent
>   0 busy udp ports
>   64511 busy tcp ports
>   0 busy icmp ports
> 19.246.159.100
>   tenant VRF independent
>   16143 busy udp ports
>   64511 busy tcp ports
>   213 busy icmp ports
> NAT44 twice-nat pool addresses:
> vpp#
>
> Is there method to make more uniform use of all output addresses?
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#14782): https://lists.fd.io/g/vpp-dev/message/14782
> Mute This Topic: https://lists.fd.io/mt/66430016/675193
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [otr...@employees.org]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14785): https://lists.fd.io/g/vpp-dev/message/14785
Mute This Topic: https://lists.fd.io/mt/66430016/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to