I got my ONE V9 set up and working on WIFI and it seems to be reporting to the dashboard just fine. I was curious of the IP it picked up and I cannot seem to find that info anywhere. Looking at my router, I see a device referred to as “Intel Corporate” and it has no IP address assigned to it. Is this the ONE? Does it not use an IP address and just broadcast the information out? Still new to this, so bare with me.
I was able to connect to the serial monitor and read the IP address it has. It’s reporting a IP of my ISP (not my actual home ISP IP address, but a different one). How is this even possible? I assumed it would grab a local private IP from my wireless router.
*wm:[1] AutoConnect
*wm:[2] ESP32 event handler enabled
*wm:[2] Connecting as wifi client…
*wm:[2] setSTAConfig static ip not set, skipping
*wm:[1] Connecting to SAVED AP: eHome
*wm:[1] connectTimeout not set, ESP waitForConnectResult…
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS
*wm:[2] Connected in 1346 ms
*wm:[1] STA IP Address: 67.234.182.80
WiFi connected!
IP address:
67.234.182.80 <— This is a public IP
My private IP starts with 192
Can I hard code a static IP? I could create a reservation but I don’t see the MAC showing up in my wireless devices.
That is very odd. I didn’t spend much time with the Arduino firmware, I switched to ESPHome, but it shows a local IP when I do that.
Double checking that eHome is the name of your SSID?
That is correct, eHome is my SSID.
Well if finally pulled a local private IP. The ISP had a major outage today and during that time it pulled an IP from my router. I have never seen a device do that. Not even sure how it could.
Try using AngryIP Scanner and it can show the MAC address and a number of other networking attributes.
In fact I run it over my entire network every now and again just to see if any has snuck on to my wifi. So far that has not happened.
Is your router connected to the same switch as the line coming from your network provider? Normally dhcp discover/offer/request traffic cannot cross layer 2 (e.g each side of a router) so i’m guessing the public side of your network is on the same layer 2 domain as your network. Plugging the “public” side of your router directly into the line without a switch should fix that.
Also, your router could be configured to forward DHCP traffic, which could do this.
My DSL modem is in bridge mode and my wireless router is handling everything. The router is connected to the modem using the WAN connection on the router, so the devices shouldn’t have access to “public”. The router is handling the DHCP and should be the one handing out any IP. Funny thing is that after major ISP outage a while back, it’s pulled a private IP ever since. I’ve never had a device pull a public IP and for the life of me cannot figure out how it did and hasn’t since.
I’ll double check that the router isn’t forwarding DHCP traffic. I would have assumed that since it the DHCP server, it wouldn’t naturally, but hey.
I’ve seen this happen. Some routers may “inadvertently” pull the public IP and give it to the first device on the LAN.
You should double check your Router settings under WAN settings. Just make sure it matches your WAN ISP’s requirements. Normally, your router will be the first device that gets the “public” IP that is assigned to the WAN interface.
I’m guestimating that if your ONE V9 is getting a public IP, it’s possible your router is operating in a “client” mode… thus Bridge(ISP) - Bridge(Your Router) scenario.
This is the only device that has ever got a public address in my set up. My router has handed out almost all of the 99 addresses in the scope at one point or another. When my ISP had an outage, it finally grabbed a local address and at that time I made a reservation for it in hopes that it would always keep it. It did until last night when I updated the firmware on the ONE and now I believe it has a public address again because it’s connected but I don’t see it anymore in the list of devices on the router.
I agree and understand many of the comments, but for the life of me I cannot figure out how this is happening, and only with this one device. I’ve drilled through my router settings and looked at each and everyone of them to see if there is anything that could possibly let this happen, and to my knowledge, I don’t see anything.
I’m going to reset it again, this time without a ISP connection to see if I can get it back on private.
SOLVED
I disconnected my router physically from the ISP-provided router and it was still pulling a public IP. It was impossible for it to connect to my wireless and still pull a public IP, but it was. Then I finally figured it out.
Years ago I purchased a new wireless router to replace the ISP router. I then put the ISP router in bridge mode. Never thought anything more of it. Well, I guess the WIFI of the ISP router was still active and since it had the exact same SSID and credentials as I set the new router, I never noticed the additional AP. I did notice the WPS light on the front was still on and wondered if it was still active but didn’t think it would be while in bridge mode.
I factory reset my ISP router and configured it with everything disabled and reset the network. Also reset the ONE and sure enough it’s pulling a private IP. It’s scary to think that any other device could have connected to the public side also. I’ve never seen or noticed any other wireless device do that though. Glad I found it now.
So in conclusion, the ONE was connecting to my bridge mode ISP router and not my actual WIFI router. It was like it was in it’s own DMZ! I’ve never had an issue with something working and I could not break it.
Thanks for sharing and really interesting case. Glad you solved the mystery.