All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Wright <mike.wright@mailinator.com>
To: koen.news@koca.be
Cc: netfilter@vger.kernel.org
Subject: Re: multiple external IP's - virtual NIC - DNAT problems
Date: Fri, 29 Jan 2010 10:36:11 -0800	[thread overview]
Message-ID: <4B632A9B.1070100@mailinator.com> (raw)
In-Reply-To: <62981.81.165.168.224.1264785772.squirrel@webmail.priorweb.be>

koen.news@koca.be wrote:
>> The command you seek is "ip".  Here's an example of adding an address to
>> an interface:  "ip address add 1.2.3.4/8 dev eth4".
>>
> Thx for the reply. That's indeed what I seek!
> 
> I guess I can put that command (or the debian variant) in the pre-up
> command for the interface?

I'm Debian ignorant.  In Redhat style systems I  bring up my interfaces 
without addresses or routes and put my custom code in /etc/rc.local.

  reply	other threads:[~2010-01-29 18:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  7:15 multiple external IP's - virtual NIC - DNAT problems koen.news
2010-01-29 14:46 ` Mike Wright
2010-01-29 17:22   ` koen.news
2010-01-29 18:36     ` Mike Wright [this message]
2010-01-30 13:22     ` Sven-Haegar Koch
2010-02-01  8:43       ` koen.news

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=4B632A9B.1070100@mailinator.com \
    --to=mike.wright@mailinator.com \
    --cc=koen.news@koca.be \
    --cc=netfilter@vger.kernel.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.