1834745 Members
2723 Online
110070 Solutions
New Discussion

route

 
SOLVED
Go to solution
Scott D. Allen
Regular Advisor

route

I have a route question. I can manually add a dynamic route with

route add net w.x.y.z netmask a.b.c.d W.X.Y.Z 1

but how do I make this permanent without manually editing /etc/rc.config.d/netconf?

In DG-UX you use route -k to permanently add a route. Can you manipulate routing in SAM?

--Scott
"Sometimes the devil you know is better than the devil you don't know."
2 REPLIES 2
Emmanuel Eyer
Frequent Advisor
Solution

Re: route

I would not dare using SAM for that purpose...

I'm afraid there is no other way than editing /etc/rc.config.d/netconf. Unless you write a script doing the job, of course ;-)

By the way, if you are using a dynamic routing protocol with gated (say RIP or OSPF), do not forget to confirm the static routes in the gated.conf file, otherwise they will be deleted by gated.

Hope it helps, Emmanuel
Scott D. Allen
Regular Advisor

Re: route

Thanks. That's what I was afraid of. Guess I'll have to write my own script. It's only really pertinent if you're doing a lot of routing changes I'd say.

--Scott
"Sometimes the devil you know is better than the devil you don't know."