Docker Community Forums

Share and learn in the Docker community.

No access to host on LAN from container

My local LAN is 192.168.0.0/24. My host machine is Windows 10 with IP 192.168.0.2
When I run the container using --network=host the IP that it is assigned is 192.168.0.3.
I can use fping to ping the gateway at 192.168.0.1, It can ping itself at 192.168.0.3 and it can ping the host at 192.168.0.2.

What it cant do is ping any other host on the 192.168.0.0/24 network.
I am writing an app using flask that needs to be able to pole/scan other hosts on the local LAN? How can I get access to the all the host on the LAN?