Advertisement

01.03.2007 at 03:50PM PST, ID: 22110228
[x]
Attachment Details

Permanent Route Add

Asked by Pryach in Linux, Xandros Linux, Linux Distributions

Tags: route, add, permanent

I used the following command to add a route to my Linux server.  However, whenever I reboot, I have to reenter this command.  Is there a way to make this permanent?

route add -net 192.168.50.0 netmask 255.255.255.0 gw 192.168.100.1 eth1

192.168.100.1 is my router, it knows how to get to 192.168.50.0/24.  How do I make this route permanent?Start Free Trial
[+][-]01.03.2007 at 04:27PM PST, ID: 18240221

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux, Xandros Linux, Linux Distributions
Tags: route, add, permanent
Sign Up Now!
Solution Provided By: wesly_chen
Participating Experts: 3
Solution Grade: A
 
 
[+][-]01.03.2007 at 09:11PM PST, ID: 18241087

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32