On Sat, Jan 15, 2000 at 10:02:01AM +0530, Sameer D. Sahasrabuddhe wrote:

> HOWTO's. Now everything works fine if I give the commands:
> root# ifconfig lo 127.0.0.1
> root# route add -host 127.0.0.1 lo
> 
> What do they do? How do I make these changes permanent? Is there any conf
> file that can be directly edited??

The commands you mention are usually run at system startup by the
boot process - somewhere in the .etc/rc* hierarchy.

You didnt say what type of Linux (RedHat, Debian...?) so the real
answer may be different.  For RH you ought to be able to use
netconf or something to set up your "local interface" or "loopback
interface".

Simple answer is to just put these commands in /etc/rc.d/rc.local
or some similar file (location may vary depending on flavour of
Linux).

But that's not the "clean", or "normal" solution.  No harm though
- it'll work just as well, imho.
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to