All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: again problem with alias / virtual interface
Date: Wed, 21 Jul 2004 12:13:16 -0500	[thread overview]
Message-ID: <40FEA42C.3050006@pbl.ca> (raw)
In-Reply-To: <20040721114840.G9160@net.tamu.edu>

Michael Sconzo wrote:
> On Wed, Jul 21, 2004 at 05:34:29PM +0200, Marco Colombo wrote:
> 
> 
>>But the whole idea of 'virtual interfaces' is obsolete. The linux kernel
>>(and thus iptables) knows only of physical interfaces and ip addresses.
>>You can set a label for each ip address, but that's only a trick to make
>>the old ifconfig work. Labels are, well, just labels, the kernel doesn't
>>need them at all. If you're using 'ip' to configure ip addresses, you
>>can forget about labels (but ifconfig won't work).
>>
> What is the proper way to do it, tried poking around on google, maybe
> I'm just looking for the wrong thing.  Or is it even a proper way to do
> it?  I have a box that is using kernel bridging so I have an IP on the 
> bridged interface, but would like to have it accessable via another IP 
> as well.

IMHO, the proper way of doing it is using configuration files.  And let 
the init.d scripts configure your interfaces (majority of which still 
use good old ifconfig).

-- 
Aleksandar Milivojevic <amilivojevic@pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


  reply	other threads:[~2004-07-21 17:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19 18:55 again problem with alias / virtual interface Batstru
2004-07-19 19:10 ` George Alexandru Dragoi
2004-07-19 16:17   ` Marco Strullato
2004-07-19 19:14 ` Antony Stone
2004-07-19 19:35 ` Aleksandar Milivojevic
2004-07-19 16:30   ` Marco Strullato
2004-07-20 19:09     ` Antony Stone
2004-07-20 19:12     ` Aleksandar Milivojevic
2004-07-20 19:22       ` Aleksandar Milivojevic
2004-07-21 15:34     ` Marco Colombo
2004-07-21 16:48       ` Michael Sconzo
2004-07-21 17:13         ` Aleksandar Milivojevic [this message]
2004-07-22  2:27           ` Michael Sconzo
2004-07-22 16:58             ` Aleksandar Milivojevic
2004-07-22  8:53           ` Marco Colombo
2004-07-22 16:05             ` Michael Sconzo
2004-07-19 19:46 ` Jamie Pratt
2004-07-19 19:58   ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2004-07-21 10:31 Batstru
2004-07-21 17:09 ` 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=40FEA42C.3050006@pbl.ca \
    --to=amilivojevic@pbl.ca \
    --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.