route command

I am a new CentOS Linux sysadmin. How can I add static route On CentOS Enterprise Linux server running on HP amd64 server?

{ 1 comment }

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 }

How do I disable the route 169.254.0.0 / 255.255.0.0 from CentOS or RHEL 6 Linux server?

{ 8 comments }

I‘m typing the following command under Ubuntu Linux:

route add default gw 192.168.3.2 eth0

But it is giving me out the following error:

SIOCADDRT: File exists

How do I fix this problem?

{ 1 comment }

When I try to ping other UNIX / Linux / BSD or MS-Windows servers in our network I get the following message:

TTL Expired In Transit

How do I fix this problem?

{ 1 comment }

I know how to setup static routing under Linux and FreeBSD operating systems. But, how do you setup static routing under OpenBSD operating systems?

{ 3 comments }

My home Linux laptop is connected to ADSL router and whenever I run route -n command at the prompt it says 0.0.0.0 is set to my routers IP 192.168.1.1. What is the meaning of 0.0.0.0?

{ 1 comment }