linux static routes

I‘ve two network interfaces. One connected to eth0 and another connected to eth1 as follows:


eth0 => private network with private IP in 10.x.x.x/8 range.
eth1 => ISP router with public IP 205.153.203.98 via 205.153.203.97.

How do I setup persistent static route so that 10.0.0.0/255.0.0.0 traffic route via 10.70.201.61 router only?

{ 6 comments }

Q. I’ve two network interface connected to two different routers as follows:
[a] eth0 LAN network 10.0.0.0/8 – gateway IP – 10.8.2.65

[b] eth1 ISP assigned network 202.54.22.128/28 – gateway IP – 202.54.22.129
I can only ping to public server but not to another servers inside LAN? I’m not able to route traffic via 10.8.2.65. How do I configure static routing under Red Hat Enterprise Linux 5.x or CentOS Linux 5.2?

{ 9 comments }