[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: the rc-local file problem
- From: Daniel Eugenin <deugenin inf uach cl>
- To: General Red Hat Linux discussion list <redhat-list redhat com>
- Subject: Re: the rc-local file problem
- Date: Tue, 05 Oct 2004 12:44:37 -0400
El mar, 05-10-2004 a las 09:48, menonrr jmu edu escribió:
> 10/5
>
> Hello,
>
> I used to make my static routes 'permanent' in Redhat 9 by
> putting the 'route add' command in the rc.local file. But I
> note that in one machine the route is not automatically added.
> What could be the reason?
>
maybe with /sbin/route add ......
Or create the /etc/sysconfig/network-scripts/route-ethX file with:
subnet/netmask via gateway
For example:
192.168.0.0/24 via 192.168.0.254
> The same problem for the firwall script. I have entered the
> path /etc/rc.d/rc.ipmasq in the rc.local file. The script
> should have executed to flush the iptable and give it the
> rules. But now it does not seem to work. I have to run
> ./ipmasq in rc.d for the firewall after restarting.
>
Move your rc.ipmasq script into /etc/rc.d/init.d and execute chkconfig
command for add your script.
> Please advise.
>
> Thanks lot for the support.
>
> Menon
--
Daniel Eugenin M.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]