Change tcp port range to support telemetry and gnmi (#17907)

* Reserve tcp port for telemetry and gnmi

* Use ip_local_port_range instead

* Fix sysctl config
This commit is contained in:
ganglv 2024-01-27 01:31:09 +08:00 committed by GitHub
parent 12f6d85352
commit c798ea8e08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,7 @@ net.ipv4.conf.all.arp_announce=1
net.ipv4.conf.all.arp_filter=0
net.ipv4.conf.all.arp_notify=1
net.ipv4.conf.all.arp_ignore=2
net.ipv4.ip_local_port_range="32768 50001"
net.ipv4.neigh.default.base_reachable_time_ms=1800000
net.ipv6.neigh.default.base_reachable_time_ms=1800000
net.ipv4.neigh.default.gc_thresh1=1024