martin-ger / esp_wifi_repeater

A full functional WiFi Repeater (correctly: a WiFi NAT Router)
MIT License
4.78k stars 903 forks source link

Router configuration #416

Open antjnm opened 3 years ago

antjnm commented 3 years ago

I have this problem, with an old Wi-Fi repeater I displayed the ip of connected devices on it, even on the router configured with ip 192.168.54.1 while with the nodemcu I can not. I ask you how to configuarate the esp so that if I am connected to the router I can access the connected devices on the nodemcu.

imayoda commented 3 years ago

if I understand it right, you need to get in touch with the "routing" command set from CLI.. essentially you have to create routes from the main router to the LAN behind the esp8266 :)

antjnm commented 3 years ago

thank you very much for the reply, so I have to enable the command "route add network gw 192.168.54.1"?

imayoda commented 3 years ago

route add network gw: adds a static route to a network (network given CIDR notation ('x.x.x.x/n')) via gateway gw

don't forget CIDR notation :)