Hassio rPi network issue

Not sure what topic this would best fit under but I have something crazy going on.

For the last 2 days I have been fighting with my Hassio rPi3 having multiple Wink/Amazon/ZM/OctoPi issues. I’ve seen multiple errors in the log but usually it falls around something IP/network. I had recently moved to using a pfSense router build so I figured I just did not have my settings dialed in.

BUT - I do now that I had identified my rPi3 as 192.168.30.5 with a MAC of b8:27:eb:ad:2d:bb (eth0).

On a whim this morning I ran ipconfig and got this:

core-ssh:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:42:AC:1E:21:04
          inet addr:172.30.33.4  Bcast:0.0.0.0  Mask:255.255.254.0
          inet6 addr: fe80::42:acff:fe1e:2104/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6712 (6.5 KiB)  TX bytes:7099 (6.9 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

How can I have an IP of 172 anything? And why is my MAC changing?

I have restarted the rPi multiple times thinking it is just some glitch and the IP & MAC keep changing.

Very frustrating and I have no clue what to look for. pfSense shows it to still be online at 192.168.30.5 with the same MAC. I can ssh into it and get the webpage at 192.168.30.5.

Am i just barking up the wrong tree?

That’s normal for Docker networking. 172.30.33.4 is the IP assigned to the SSH addon, which is connected to the internal Docker bridge network. 192.168.0.5 is what’s assigned to the ResinOS (Docker) host.

Sheesh, thank you for responding so fast… I am totally freaking out.

Any thoughts to the random network part? I just rebooted everything and this time Wink and Cloud (Alexa) didn’t connect.

It seems that if I restart the Pi enough times it will work.

For example, everything was fine last night into this morning. I used Alexa to turn lights on/off, checked the console to see my Speedtest and that cameras where all online. I restarted (when I saw the 172.x.x.x) and multiple things are failing.

For an overview of Docker (and Hassio) networking check here:
http://m.linuxjournal.com/content/concerning-containers-connections-docker-networking

1 Like