Hello team,
I could able to fix the issue.
The following is what I did...
Create a new file
nano /etc/sysconfig/network-scripts/route-eth2 (your 2nd NIC name)
Insert the following text based on the 2nd network IP Pool
10.22.55.42/24 via 10.22.55.41
Save the file and restart the machine.
That's it.
Now I could able to reach both the networks
2 Nics with 2 different Gateway
Re: 2 Nics with 2 different Gateway
The data that you show does look inconsistent.
What is the output of these:
Code: Select all
nmcli d s
ip ro
ip ru
ip ro sh table rt1
ip ro sh table rt2
Re: 2 Nics with 2 different Gateway
Nothing to do with this but do not run 3 year old unpatched versions.CentOS Linux release 7.7.1908 (Core)
yum update
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke