Can a server's eth & wifi share the same IP address?
2026-06-04 16:58 UTC
Replies (4)
-
@moonpiedumplings@programming.dev 2026-06-04 17:00
Yes wiki.archlinux.org/title/Wireless_bonding
-
@atk007@lemmy.world 2026-06-04 18:20
I don’t know how it’s working for you because I just tried on my PC and got an IP address conflict on my router.
-
@pelya@lemmy.world 2026-06-04 19:15
It’s perfectly possible on Linux to have several network adapters with the same IP address, or several default routes. Most server applications will listen to 0.0.0.0 address, which means all network interfaces. Any incoming TCP connection will remember it’s network interface, and the server will send responses to the same interface. This will not work for UDP connections, and for outgoing TCP connections - they will always choose the network interface with the lowest metric, which you can print with ip r command.
-
@daf@lemmy.world 2026-06-05 08:02
What you seem to want is an active-backup bond, I have all my homelab servers with it so they can fail over when the core switch goes down for maintenance. Proxmox provided an easy UI to setup but it can be done with any Linux distro. docs.kernel.org/networking/bonding.html