From 01ae772100f416da1b6dc023cedf2760f3e5e0eb Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 28 Feb 2024 12:15:23 +0100 Subject: [PATCH] Update DEFAULT_CONFIG.json5 with iface binding (#767) --- DEFAULT_CONFIG.json5 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DEFAULT_CONFIG.json5 b/DEFAULT_CONFIG.json5 index 9de5dd24a5..1ced78b6d6 100644 --- a/DEFAULT_CONFIG.json5 +++ b/DEFAULT_CONFIG.json5 @@ -19,6 +19,8 @@ /// Which endpoints to connect to. E.g. tcp/localhost:7447. /// By configuring the endpoints, it is possible to tell zenoh which router/peer to connect to at startup. + /// For TCP/UDP on Linux, it is possible additionally specify the interface to be connected to: + /// E.g. tcp/192.168.0.1:7447#iface=eth0, for connect only if the IP address is reachable via the interface eth0 connect: { endpoints: [ // "/
" @@ -28,6 +30,8 @@ /// Which endpoints to listen on. E.g. tcp/localhost:7447. /// By configuring the endpoints, it is possible to tell zenoh which are the endpoints that other routers, /// peers, or client can use to establish a zenoh session. + /// For TCP/UDP on Linux, it is possible additionally specify the interface to be listened to: + /// E.g. tcp/0.0.0.0:7447#iface=eth0, for listen connection only on eth0 listen: { endpoints: [ // "/
"