You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using local_ip() to get the ip address of an ubuntu 22 server that has been running with a DHCP assigned ip address (ethernet), which works perfectly. Recently I've assigned a static ip to the server when it is directly connected to a windows device, and when it's in that configuration, calling local_ip() on the server returns the IP broadcast by docker (a 172.x.x.x ip).
All network communication between the two attached devices with static ip set is normal.
NIC dynamic -> router: DHCP ipv4 (as expected)
NIC w/ static -> windows computer: docker0 ipv4 (expecting to receive static ip)
Network configuration:
Configured via NetworkManager, tries for DHCP, and falls back to static ip. Static IP is a link-local address 169.254.x.x.
The text was updated successfully, but these errors were encountered:
I've been using local_ip() to get the ip address of an ubuntu 22 server that has been running with a DHCP assigned ip address (ethernet), which works perfectly. Recently I've assigned a static ip to the server when it is directly connected to a windows device, and when it's in that configuration, calling local_ip() on the server returns the IP broadcast by docker (a 172.x.x.x ip).
All network communication between the two attached devices with static ip set is normal.
NIC dynamic -> router: DHCP ipv4 (as expected)
NIC w/ static -> windows computer: docker0 ipv4 (expecting to receive static ip)
Network configuration:
Configured via NetworkManager, tries for DHCP, and falls back to static ip. Static IP is a link-local address 169.254.x.x.
The text was updated successfully, but these errors were encountered: