Configuring more than one gateway through /etc/sysconfig/nework-scripts/ifcfg-eth0
Posted: 2018/05/06 19:31:35
Hello,
I need to have NetworkManager turned off. I have to configure my IP settings manually. I have a lot of IPv6 addresses, and two IPv4 addresses. I have three FQDN. One gets one IPv4 address and a IPv6 address. The other two share an IPv4 address but get seperate IPv6 addresses.
Anyways, I'm trying to configure multiple default gateways, for redundancy. One gateway is something like 49.36.71.1 The other gateway is 169.114.13.1
Because these gateways are on different subnets, would that be a bad idea? If it's not a bad idea, how would I accomplish this task? The ifcfg-eth0 file has a note not to use an integer after GATEWAY, so GATEWAY0, GATEWAY1, etc is not an option it seems.
Thanks!
I need to have NetworkManager turned off. I have to configure my IP settings manually. I have a lot of IPv6 addresses, and two IPv4 addresses. I have three FQDN. One gets one IPv4 address and a IPv6 address. The other two share an IPv4 address but get seperate IPv6 addresses.
Anyways, I'm trying to configure multiple default gateways, for redundancy. One gateway is something like 49.36.71.1 The other gateway is 169.114.13.1
Because these gateways are on different subnets, would that be a bad idea? If it's not a bad idea, how would I accomplish this task? The ifcfg-eth0 file has a note not to use an integer after GATEWAY, so GATEWAY0, GATEWAY1, etc is not an option it seems.
Thanks!