how to use two gateways for different two NIC.

Latest response

Hi,

we are having one server and it is having two NIC card. we are assigned two different sub-net IP's on both the NIC. on first IP is 192.168.0.0/27 and on second NIC IP is 192.168.0.32/27.

for first card gateway is 192.168.0.30 and for second card gateway is 192.168.0.62 . both NIC connected to our core switch and Gateway as provided above on two different ports. now we are running ospf on our switch and network.

we are able to see the route is populated in our network however we are unable to ping 192.168.0.32/27 network when we are able to ping 192.168.0.0/27 network.

when we are checking on server route -n output. We are getting entry of both network and default gateway is 192.168.0.30 only.

what our understanding that one more gateway need to made or some static route entry need to be made.

Os is Red hat enterprise Linux 6.4

please suggest. thanks in advance...

Responses