Mailinglist Archive: opensuse (4498 mails)
| < Previous | Next > |
Re: [opensuse] Activating routes
- From: James Mohr <suse_mailing_list@xxxxxxxxx>
- Date: Wed, 15 Nov 2006 15:58:56 +0100
- Message-id: <200611151558.56279.suse_mailing_list@xxxxxxxxx>
On Tuesday 14 November 2006 17:36, J Sloan wrote:
> James Mohr wrote:
> > Hi All!
> >
> > This is a pretty basic question and I am almost embarrassed to ask. I
> > have SUSE 10.0 Pro and configured a route in
> > /etc/sysconfig/network/routes. I have been digging through the scripts
> > under /etc/sysconfig/network/scripts, looking for a means to activate
> > this route without having to run "/etc/init.d/network restart". Doing
> > that does not seem to be a problem, but it seems to be overkill. Any info
> > is appreaciated.
>
> ip route change default via <new gateway IP>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Thanks for the info. Not quite exactly what I was looking for. As far as I can
see, that changes the routes, but does not use the values
from /etc/sysconfig/network/routes. That naturally solves the problem of
adding a route without restarting the network (just as using the route
command would). However, it doesn't check the validity/correctness of the
routes file. I guess I should have been a little more specific in what I was
looking for.
Regards,
Jim Mohr
--
---------------------------------------
"Be more concerned with your character than with your reputation. Your
character is what you really are while your reputation is merely what others
think you are." -- John Wooden
---------------------------------------
NOTE: All messages sent to me in response to my posts to newsgroups or forums
are subject to reposting.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> James Mohr wrote:
> > Hi All!
> >
> > This is a pretty basic question and I am almost embarrassed to ask. I
> > have SUSE 10.0 Pro and configured a route in
> > /etc/sysconfig/network/routes. I have been digging through the scripts
> > under /etc/sysconfig/network/scripts, looking for a means to activate
> > this route without having to run "/etc/init.d/network restart". Doing
> > that does not seem to be a problem, but it seems to be overkill. Any info
> > is appreaciated.
>
> ip route change default via <new gateway IP>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
> For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Thanks for the info. Not quite exactly what I was looking for. As far as I can
see, that changes the routes, but does not use the values
from /etc/sysconfig/network/routes. That naturally solves the problem of
adding a route without restarting the network (just as using the route
command would). However, it doesn't check the validity/correctness of the
routes file. I guess I should have been a little more specific in what I was
looking for.
Regards,
Jim Mohr
--
---------------------------------------
"Be more concerned with your character than with your reputation. Your
character is what you really are while your reputation is merely what others
think you are." -- John Wooden
---------------------------------------
NOTE: All messages sent to me in response to my posts to newsgroups or forums
are subject to reposting.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |