On 5. Nov 2020, at 03:17, Jonathan Billings
<billings(a)negate.org> wrote:
On Nov 4, 2020, at 18:39, Roger Heflin <rogerheflin(a)gmail.com> wrote:
>
> Typically if you want put 3 ip addresses in the same subnet on a
> network usually you use a single network adaptor and add extra VIPs on
> it.
>
> see:
https://www.jamescoyle.net/how-to/307-create-a-virtual-ip-address-in-linux
>
> eth0:1 for the device names it the 1st vip, :1 as the 2nd vip and so
> on. They all exist on the same adaptor.
>
> with the same network on all 3 what interface it goes out can be
> different than the one it came in and this can cause significant
> issues on the network.
Unfortunately, this is rather out of date advice and not supported with modern tools.
You can just put all IPs on one interface using NetworkManager or the ‘ip’ tool. Even
the old network-scripts method uses IPADDR1=, IPADDR2=, and so on, all on one named
interface. ‘Ifconfig’ is no longer installed by default and doesn’t support many
features.