We have 2 Network Adapters (each vm) assigned with the same subnet IP addresses on Azure SLES 12.x on two VMs, as this is requriement by client application team. However, we were facing some network communications issues (unable to reach) between two servers. Communication is fine if we disabled one of the network adpater on both servers.
So, we have kept some routing entries in /etc/init.d/after.local file to resolve this.
ip route add default via 188.8.131.52 dev eth0 table 101
ip route add default via 184.108.40.206 dev eth1 table 102
ip rule add from 220.127.116.11 lookup 101 pref 10100
ip rule add from 18.104.22.168 lookup 102 pref 10101
But after this when we see the routing table, we are seeing eth1 is the first entry in the list. Just I would like know community members opinion on this if we face any issues in future because of this as we are going deploy pacemaker cluster on this for SAP HANA.
#ip route list
default via 22.214.171.124 dev eth0 proto dhcp
168.63.xxx.xxx via 126.96.36.199 dev eth0 proto dhcp
169.254.xxx.xxx via 188.8.131.52 dev eth0 proto dhcp
184.108.40.206/24 dev eth1 proto kernel scope link src 220.127.116.11
18.104.22.168/24 dev eth0 proto kernel scope link src 22.214.171.124
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 126.96.36.199 0.0.0.0 UG 0 0 0 eth0
168.63.xxx.xxx 188.8.131.52 255.255.255.255 UGH 0 0 0 eth0
169.254.xxx.xxx 184.108.40.206 255.255.255.255 UGH 0 0 0 eth0
220.127.116.11 0.0.0.0 255.255.255.0 U 0 0 0 eth1
18.104.22.168 0.0.0.0 255.255.255.0 U 0 0 0 eth0