My Oracle Support Banner

Network Issue of Two Default Gateways in Linux OS (Doc ID 1942507.1)

Last updated on OCTOBER 25, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.5 with Unbreakable Enterprise Kernel [3.8.13] [Release OL5 to OL6U5]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86


Customer assigned two IPs to two NIC card to VM having OS oracle linux 6.5 to eth0 and to eth1. But both IPs are not working simultaneously.

But If delete ifcfg-eth0 then eth1 is working and vice-versa.

The Default gateways in place are : and 


Linux OS is assigned two IP addresses and they are using two different Default Gateways.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.