Skip to content

Commit

Permalink
Change tcp port range to support telemetry and gnmi (#17907)
Browse files Browse the repository at this point in the history
* Reserve tcp port for telemetry and gnmi

* Use ip_local_port_range instead

* Fix sysctl config
  • Loading branch information
ganglyu authored and mssonicbld committed Jan 29, 2024
1 parent 1e758d4 commit 6a76a73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/image_config/sysctl/sysctl-net.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a76a73

Please sign in to comment.