As far as I know, there is only a way to set a gateway. You 
checked /etc/init.d/net.eth0, right? You've even made a patch...

Okay, I just checked the patch out and it looks good. It only supports one 
static route though, right? Perhaps, if you add a separator and then, on 
encountering the separator, run the route command and reset the parameter 
string? Then check for the case where the paramater string is not terminated 
by the separator. Or possibly better would be to do it the same way as for 
aliases.

Once you're happy with the patch. Check bugzilla for an existing bug or create 
a new one and then upload the patch there.

Jason (as well)

On Wednesday 26 November 2003 13:49, Jason A. Pfeil wrote:
> Hrm...
>
> Does noone have any idea about my static routes question, or is there a
> better list I should redirect my post to?
>
> Thanks!
>
> --Jason
>
> On Wed, 2003-11-19 at 12:50, [EMAIL PROTECTED] wrote:
> [...snip...]
>
> > ______________________________________________________________________
> > From: Jason A. Pfeil <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Setting up static routes in gentoo?
> > Date: Wed, 19 Nov 2003 12:02:24 -0500
> >
> > Good Afternoon to all.
> >
> > Does anyone have any way to set up static routes using the standard
> > gentoo /etc/conf.d/net system instead of having to use the local.start
> > configuration method of issuing commands myself?
> >
> > I looked in the /etc/init.d/net.eth0 rc script and didn't find a way to
> > do it so I quickly hacked in a method that seems to work for me.  Please
> > let me know your thoughts/comments and whether or not I should send this
> > to gentoo-dev.
> >
> > The patch against /etc/init.d/net.eth0 is attached.
> >
> > Have a great day!
> >
> > --Jason
> >
> > --
> > Jason A. Pfeil                        [EMAIL PROTECTED]
> > Senior Open Systems Engineer          http://www.10East.com
> > 10East, Inc.                          (904)220-DOCS
> >
> >
> > ______________________________________________________________________
> > From: Jason A. Pfeil <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Re: [gentoo-user] Setting up static routes in gentoo?
> > Date: Wed, 19 Nov 2003 12:28:05 -0500
> >
> > Drat.  I forgot to include the patch...
> >
> > Here it is...
> >
> > --Jason
> >
> > On Wed, 2003-11-19 at 12:02, Jason A. Pfeil wrote:
> > > Good Afternoon to all.
> > >
> > > Does anyone have any way to set up static routes using the standard
> > > gentoo /etc/conf.d/net system instead of having to use the local.start
> > > configuration method of issuing commands myself?
> > >
> > > I looked in the /etc/init.d/net.eth0 rc script and didn't find a way to
> > > do it so I quickly hacked in a method that seems to work for me. 
> > > Please let me know your thoughts/comments and whether or not I should
> > > send this to gentoo-dev.
> > >
> > > The patch against /etc/init.d/net.eth0 is attached.
> > >
> > > Have a great day!
> > >
> > > --Jason
> >
> > --
> > Jason A. Pfeil                        [EMAIL PROTECTED]
> > Senior Open Systems Engineer          http://www.10East.com
> > 10East, Inc.                          (904)220-DOCS
>
> [...snip...]
>
>
> --
> [EMAIL PROTECTED] mailing list

--
[EMAIL PROTECTED] mailing list

Reply via email to