From 3d016db226de288e35e541cdd2dbc21aa02f2edc Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis Date: Thu, 22 Dec 2022 12:33:20 -0300 Subject: [PATCH] Doc: Fix ping to external IP on simulator --- Documentation/guides/simulator.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/guides/simulator.rst b/Documentation/guides/simulator.rst index 33ca821250..307d38d80f 100644 --- a/Documentation/guides/simulator.rst +++ b/Documentation/guides/simulator.rst @@ -170,6 +170,12 @@ Accessing the Network 56 bytes from 8.8.8.8: icmp_seq=0 time=10 ms 1 packets transmitted, 1 received, 0% packet loss, time 1010 ms + If it doesn't work, then you need to enable the IP forward on your computer: + + .. code-block:: console + + sudo sysctl -w net.ipv4.ip_forward=1 + Success! Testing / capturing TCP network traffic