Skip to content

Commit 9f7166b

Browse files
mssonicbldganglyu
andauthored
Change tcp port range to support telemetry and gnmi (#17907) (#17916)
* Reserve tcp port for telemetry and gnmi * Use ip_local_port_range instead * Fix sysctl config Co-authored-by: ganglv <88995770+ganglyu@users.noreply.github.com>
1 parent 388c3f5 commit 9f7166b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

files/image_config/sysctl/sysctl-net.conf

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ net.ipv4.conf.all.arp_announce=1
1515
net.ipv4.conf.all.arp_filter=0
1616
net.ipv4.conf.all.arp_notify=1
1717
net.ipv4.conf.all.arp_ignore=2
18+
net.ipv4.ip_local_port_range="32768 50001"
1819
net.ipv4.neigh.default.base_reachable_time_ms=1800000
1920
net.ipv6.neigh.default.base_reachable_time_ms=1800000
2021
net.ipv4.neigh.default.gc_thresh1=1024

0 commit comments

Comments
 (0)