On Tue, 20 Mar 2001, Ted Gervais wrote:

> On Tuesday 20 March 2001 18:13, you wrote:
> > On Tue, 20 Mar 2001, Ted Gervais wrote:
> > > I am new to RedHat and therefore have no idea where  the proper place to
> > > put new route statments.
> > >
> > > In Slackware we put these additional statements in /etc/rc.d/rc.inet1.
> > > Usually at the bottom of the file and was in additiion to the normal
> > > network setup.
> > >
> > > How  and where is this done in Redhat??
> >
> > /etc/sysconfig/static-routes
> >
>
> Thanks for the response. It is really appreciated..
>
> Well, I went and looked and there was no such file so I made one and put all
> the route information I needed to add, in that file. I noticed as well that
> in /etc/sysconfig/network-scripts that there is a file called ifup-routes and
> it appears to be the one that calls the 'static-routes' file. So, I figured
> now that I had a 'static-routes' file a reboot should call that file and
> install my routes.
>
> No luck. A reboot did nothing for me.  So, there must be a spot somewhere
> that a command is enabled that will indeed call this file??
>
> Could you tell me where and how please?
>
>
I guess I should have gone into detail about the format of the
static-routes file.  I don't know all the format information...  I
usualy set it up from control-pannel.

Try something like:

<interface> net <network> netmask <netmask> gw <gateway>

eth0 net 192.168.8.0 netmask 255.255.255.0 gw 192.168.9.1

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to