I am installing rancher os bare metal and i use cloud-config.yml to set up ip bonding among NIC ports. My cloud-config.yml file looks like this:
- ssh-rsa mySSHKeyGoesHere
After installing rancher os with this configuration i can login normally from putting using the SSH Key.
As you can see from the config file i have 3 cables connected to eth0, eth1, eth5 from my switch. I have set a specific ip for eth0 where eth1 and eth5 are using bond0.
Now the problem is if I disconnect the cable from eth0 port while eth1 and eth5 is still connected with cables and if I ping 172.16.219.88 it says
And after connecting cable to eth0 port and disconnecting cables from eth1 and eth5 this happens:
Can anyone explain what is the problem? Anything wrong with the configuration?
I just want that if my eth0 goes down i will be able to connect through bond0 and if any port from bond0 is disabled i will be able to connect with another port which is using bond0. Any help would be appreciated.