Configuring more than one gateway through /etc/sysconfig/nework-scripts/ifcfg-eth0

Issues related to configuring your network
Spork Schivago
Posts: 22
Joined: 2017/08/14 04:21:54

Configuring more than one gateway through /etc/sysconfig/nework-scripts/ifcfg-eth0

Postby Spork Schivago » 2018/05/06 19:31:35


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 The other gateway is

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.