All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Erik Wikström" <eriwik@itstud.chalmers.se>
To: netfilter@lists.netfilter.org
Subject: Re: OT: alias for a network card
Date: Thu, 15 Jul 2004 14:28:48 +0200	[thread overview]
Message-ID: <20040715122848.GA40604@itstud.chalmers.se> (raw)
In-Reply-To: <f51b72bc0407150121527f95a4@mail.gmail.com>

On Thu, Jul 15, 2004 at 01:51:41PM +0530, Payal Rathod wrote:

> Hi,
> Excuse for this OT question here. But I don't know where I can get an
> answer. While doing  NAT i need to have alias IPs for my router
> machine like,
> # ipconfig eth0:1 192.168.0.4
> 
> But these rules are lost once the machine is rebooted. How can I  make
> them permanent?
> I thought of putting these in rc.local but it rather crude approach as
> my firewall might be started before that. I use Mandrake Linux.

Find out what script starts the firewall and put the line before the
line starting the firewall. Or, put it in the firewall script. Or even
better, put it in the script that initializes your network card.

--
Erik Wikström


  reply	other threads:[~2004-07-15 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15  8:21 OT: alias for a network card Payal Rathod
2004-07-15 12:28 ` Erik Wikström [this message]
2004-07-18 13:14   ` Payal Rathod
2004-07-19 11:09     ` Saad Faruque
2004-07-15 13:40 ` Aleksandar Milivojevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040715122848.GA40604@itstud.chalmers.se \
    --to=eriwik@itstud.chalmers.se \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.