Hello,
i have 2 network adapters attached on a VM on RED HAT ENTREPRISE LINUX 8 :
1st adapter : 10.0.1.9 on subnet 10.0.1.0/24 with a public ip : 40.xxx.xxx.xxx
2nd adapter : 10.0.2.9 on subnet 10.0.2.0/24 with a public ip : 20.xxx.xxx.xxx
State :
10.0.1.9 : ping ok
40.xxx.xxx.xxx : ping ok
10.0.2.9 : ping ok
20.xxx.xxx.xxx : ping NOK
The public ip of 2nd card do not ping
My route table :
ip route show :
default via 10.0.1.1 dev eth0 proto dhcp metric 100
10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.9 metric 100
10.0.2.0/24 dev eth1 proto kernel scope link src 10.0.2.9 metric 101
168.63.129.16 via 10.0.1.1 dev eth0 proto dhcp metric 100
169.254.169.254 via 10.0.1.1 dev eth0 proto dhcp metric 100
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.1.1 0.0.0.0 UG 100 0 0 eth0
10.0.1.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
10.0.2.0 0.0.0.0 255.255.255.0 U 101 0 0 eth1
168.63.129.16 10.0.1.1 255.255.255.255 UGH 100 0 0 eth0
169.254.169.254 10.0.1.1 255.255.255.255 UGH 100 0 0 eth0
How to make the public ip of 2nd network adapter works ?
Thanks