Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make the SoftAP IP range have same IP with the IP that Wi-Fi STA connected to with NAT? (IDFGH-11032) #59

Closed
anhnt-dev opened this issue Sep 9, 2023 · 2 comments
Assignees

Comments

@anhnt-dev
Copy link

Hi,
as the subject question, Is it possible? Currently, SoftAP will start a DHCP server to provide IP to the client that is connected to, and STA will get IP from Router. It will make two different networks. The SoftAP's client can ping to any device on the Router's network, but devices from the Router's network can't talk to SoftAp's client without port forwarding.

@github-actions github-actions bot changed the title Is it possible to make the SoftAP IP range have same IP with the IP that Wi-Fi STA connected to with NAT? Is it possible to make the SoftAP IP range have same IP with the IP that Wi-Fi STA connected to with NAT? (IDFGH-11032) Sep 9, 2023
@espressif-abhikroy
Copy link
Collaborator

Hi,
Imagine you have a router (R), an ESP32 with Wi-Fi capabilities operating as both an access point and a station (AP_STA), and another Wi-Fi station (STA1) connected to R, along with one more station (STA2) connected to AP_STA.

You want all of them to use the same network address. STA1 and STA2 can access the internet through R, but they can't communicate directly with each other as if they were on the same local network. To make that possible, you need a bridge.

Could you please share more details about your specific requirements so that I can offer a suitable solution?

@david-cermak
Copy link
Collaborator

feel free to reopen with more details/comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants