kuba ,
@kuba@toot.kuba-orlik.name avatar

Dear Fedi, I have another question.

I've noticed some time ago that most of my Linux devices have two IP addresses in my local network, on a single wlan interface (192.168.1.127 and 192.168.1.128 in this screenshot)

Both of them work - I can ping those addresses from another device in a local network.

Why is that so? Why two addresses for one network interface? And how?

gulli ,
@gulli@mastodontech.de avatar

@kuba maybe some docker containers running?

kuba OP ,
@kuba@toot.kuba-orlik.name avatar

@gulli I do have docker set up. But both adressess appear on the wlan interface. Can docker containers influence a physical interface configuration?

gulli ,
@gulli@mastodontech.de avatar

@kuba
sorry I dont really know. Its just a guess. I would expect that Docker uses internal addresses and uses NAT to reach out to external services like the wild wild web. But hey, i've seen some weird shit out there.
I've come to that conclusion because I've seen VM's in VMware which had also multiple IP addresses on there external interfaces and they had some docker containers running.
But it doesnt mean that this is what you are experiencing. But maybe you could test it

mboelen ,
@mboelen@mastodon.social avatar

@kuba
Looks like an alias has been assigned. Normally that only happens if you make a static configuration. Maybe double configured or typo in network mask? Does the issue remain after a reboot?

kuba OP ,
@kuba@toot.kuba-orlik.name avatar

@mboelen yes, it's persistent across reboots

mboelen ,
@mboelen@mastodon.social avatar

@kuba
Static configuration or using DHCP?

rdfhrn ,
@rdfhrn@hessen.social avatar

@kuba Are you using DHCP? Guess so, so that's DHCP Server config. If you aren't using DHCP it's configured manually.
Why? I can't see a reason for that in private networks.
How? Can be offered by DHCP or configured manually depending on how it's done on your system. netplan, network manager, manually. Some do it in /etc/network/interfaces others in /etc/sysconfig/network-scripts/

selea ,
@selea@social.linux.pizza avatar

@kuba

Static IP?

Tionisla ,
@Tionisla@troet.cafe avatar

@kuba 2.4ghz & 5ghz ?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines