Mailinglist Archive: opensuse (4498 mails)

< Previous Next >
Re: [opensuse] Activating routes
  • From: "Theo v. Werkhoven" <theo@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 15 Nov 2006 22:45:47 +0100
  • Message-id: <20061115214547.GD6982@xxxxxxxxxxxxxxxx>
Wed, 15 Nov 2006, by 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>
>
> 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.

routes(5)
DESCRIPTION
The files /etc/sysconfig/network/routes and /etc/sysconfig/net-
work/ifroute-config are parsed by the script /etc/sysconfig/net-
work/scripts/ifup-route which sets up routing for an interface/configu-
ration.

Theo
--
Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org
ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131
SUSE 9.2 + Jabber: muadib@xxxxxxxxxxxxxxxx
Kernel 2.6.8 + See headers for PGP/GPG info.
Claimer: any email I receive will become my property. Disclaimers do not apply.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups