I have two NIC on my system with centos 7 as OS. One interface is public with ip
188.8.131.52 (em1) and second with ip
10.11.15.20 (p4p1). Now When I reboot my system, bydefault, public ip is not going to ping while private ip can be ping within the subnet. Then I make my private interface down and then up again. Now both IPs are going to ping. What is the problem ? I think there is some priority issue in NICs. If I run
netstat -rn command I get following output at boot time.
0.0.0.0 10.11.15.1 0.0.0.0 UG 0 0 0 p4p1 0.0.0.0 184.108.40.206 0.0.0.0 UG 0 0 0 em1
After resetting my private interface. Above output for command
netstat -rn is changed to following
0.0.0.0 220.127.116.11 0.0.0.0 UG 0 0 0 em1 0.0.0.0 10.11.15.1 0.0.0.0 UG 0 0 0 p4p1
what is the problem and how I can solve it ?