Hi,
I have two physical interfaces on a servers.
We have connected them to differerent subnets.
1) First interface:
10.158.49.87 to newtwork 10.158.49.0, its gateway is 10.158.49.1
(It is added as default gateway)
It is existing set up. It works well
2) Second interface:
We have connected this another network 10.158.31.0.
And assigned IP 10.158.31.87.
I am able to ping this server from servers having series IP address 10.158.31.*
Gateway of 10.158.31 network is 10.158.31.1.
I tried to add route using below.
#route add 10.158.31.0/24 10.158.31.1 -ifp eth2
But still I am unable to ping the server from outside of 10.158.31 series IPs
.
Please explain, how to resolve this.
Regards/Sri