Hello,
after a lot of tests I was unable to set up a second IP failover from GUI.
I had a ping one the first and nothing with the same kind of setting for the second.
Finally, I was able to ping the second IP like this :
- on GUI, I set up my both IP
- In the container, I have added a second route table. (I have added at the file /etc/iproutes/rt_tables bottom : 1 rt2 )
- then in the terminal container
Is it normal the GUI settings seems to not work ?
Is is the correct way ?
after a lot of tests I was unable to set up a second IP failover from GUI.
I had a ping one the first and nothing with the same kind of setting for the second.
Finally, I was able to ping the second IP like this :
- on GUI, I set up my both IP
- In the container, I have added a second route table. (I have added at the file /etc/iproutes/rt_tables bottom : 1 rt2 )
- then in the terminal container
Code:
ip route add GATEWAY_OF_HOST dev INTERFACE_NAME table rt2
ip route add default via GATEWAY_OF_HOST table rt2
ip rule add from SECOND_IP_FAILOVER/32 table rt2
ip rule add to SECOND_IP_FAILOVER/32 table rt2
Is it normal the GUI settings seems to not work ?
Is is the correct way ?