I have an interface with two IP's as shown below (necessary for some firewall traffic management). It seems that apps could bind to either (if they don't specify an IP) on start, possibly interfering with the purpose of my dual IP addresses. (RedHat docs suggest no longer creating a separate interface for each IP).
I don't want to have to launch every executable with a modified commandline, I'm hoping there a weight or other thing I can assign to each IP to ensure that apps will prefer one IP vs the other.
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:0c:29:b6:49:04 brd ff:ff:ff:ff:ff:ff
altname enp11s0
inet 172.31.254.31/24 brd 172.31.254.255 scope global noprefixroute ens192
valid_lft forever preferred_lft forever
inet 172.31.254.32/24 brd 172.31.254.255 scope global secondary noprefixroute ens192
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:feb6:4904/64 scope link
valid_lft forever preferred_lft forever