How to force DHCP server respond with empty gateway and DNS addresses?

ed_nts
Posts: 1
Joined: Thu Jan 12, 2017 8:37 pm

How to force DHCP server respond with empty gateway and DNS addresses?

Postby ed_nts » Thu Jan 12, 2017 9:04 pm

Hi,
I use ESP8266 in embedded device in AP mode with DHCP server switched ON. PC with Windows 7 connects to ESP8266 and ESP8266 assigns IP, gateway and dns addresses to the PC wireless interface.
But PC gets internet connection through another interface and this assignment breaks the internet connection by routing internet requests to a wrong gateway and DNS.
One solution could be to adjust routing table metrics so that the correct route been chosen first. But the user or the application must have elevated privileges to do so.

Can I force DHCP server respond with empty gateway and dns addresses using AT commands? If not - is it planned to add this feature in some future release? I've seen similar questions on internet.

Thanks!

Who is online

Users browsing this forum: No registered users and 2 guests