On a dedicated server with an hypervisor as host and Fedora 20 as guest, I successfully used the following commands in the guest VM to enable network with a IP failover:
ip route add <gateway>/32 dev <interface> src <IP failover>
ip route add default via <gateway> src <IP failover>
- How could I convert these commands in the
/etc/sysconfig/network-scripts/ifcfg-<interface>
file? - By security, I must send a DHCP request to make the router identify the MAC address and be authorized on the network. Manually, I did that just running
dhclient
.
How can I automate this process at boot time?