Routing Table

I am having problems trying to add another entry into the table. It works the first time with the command:

Route add -net netmask eth0

but then after a while or when I reboot the machine the entry disappears.

Can anyone help me?

Who is Participating?
barreroConnect With a Mentor Commented:
When you add routes that way, there are not permanently.. there are just for the session...
If you want the routes being permanently, you nedd to add to rc.local the line:
route add -net netmask eth0

  then the route will be added for each time you boot your system...

All Courses

From novice to tech pro — start learning today.