Network configuration when acessing Home Assistant OS via ssh

Hello,

I have been using Home Assistant for a few weeks and here is something that I do not understant.

Here is my set-up:

  • Home Assistant OS:
    • Home Assistant 2022.11.4
    • Supervisor 2022.10.2
    • Operating System 9.3
    • Frontend 20221108.0 - latest
  • Raspberry Pi 3.

Via the GUI, when I look at the network configuration, I see the IP adress for the Network interface is as I configured :
image

What I don’t understand is where does this [email protected] interface comes from when i connect in ssh:


| |  | |                          /\           (_)   | |            | |  
| |__| | ___  _ __ ___   ___     /  \   ___ ___ _ ___| |_ __ _ _ __ | |_ 
|  __  |/ _ \| '_ \ _ \ / _ \   / /\ \ / __/ __| / __| __/ _\ | '_ \| __|
| |  | | (_) | | | | | |  __/  / ____ \\__ \__ \ \__ \ || (_| | | | | |_ 
|_|  |_|\___/|_| |_| |_|\___| /_/    \_\___/___/_|___/\__\__,_|_| |_|\__|

Welcome to the Home Assistant command line.

System information
  IPv4 addresses for eth0:  192.168.0.235/24
  IPv6 addresses for eth0:  2a02:2788:1d4:889:9e11:288d:37b2:f78c/64, 2a02:2788:1d4:889:91dc:247c:66de:511d/128, fe80::b9c8:f617:9155:1672/64
  IPv4 addresses for wlan0: 

  OS Version:               Home Assistant OS 9.3
  Home Assistant Core:      2022.11.4

  Home Assistant URL:       http://homeassistant.local:8123
  Observer URL:             http://homeassistant.local:4357
[core-ssh ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
50: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP 
    link/ether 02:42:ac:1e:21:05 brd ff:ff:ff:ff:ff:ff
    inet 172.30.33.5/23 brd 172.30.33.255 scope global eth0
       valid_lft forever preferred_lft forever

What is this IP adress 172.30.33.255?
Why is it not 192.168.0.235 as I would expect?
Is there some kind of layer between the environment I am accessing via the GUI and the environment I am accessing via ssh?

Thank you!

You’re ssh’ing inside a docker container here, thru the SSH addon.
See Debugging the Home Assistant Operating System | Home Assistant Developer Docs (home-assistant.io) to ssh into the host.

Ohhh, OK, so that’s the thing I was missing… :slight_smile:

Thank you for your answer. That allows me to better understant the system. :slight_smile: