From: Erik Schoenfelder <schoenfr@gaertner.de>
To: alan@clueserver.org
Cc: linux-kernel@vger.kernel.org, jjciarla@raiz.uncu.edu.ar
Subject: Re: IP_ALIAS in 2.4.x gone?
Date: Thu, 21 Jun 2001 01:59:41 +0200 (MET DST) [thread overview]
Message-ID: <200106202359.BAA15009@aunt.gaertner.de> (raw)
In-Reply-To: <Pine.LNX.4.10.10106201608560.12664-100000@clueserver.org> (message from Alan Olsen on Wed, 20 Jun 2001 16:12:19 -0700 (PDT))
In-Reply-To: <Pine.LNX.4.10.10106201608560.12664-100000@clueserver.org>
Hi,
>>>>> "Alan Olsen" == Alan Olsen <alan@clueserver.org> writes:
Alan Olsen> I found the problem...
Alan Olsen> IP_ALIAS is no longer needed in the config. [...]
Alan Olsen> The documentation does not reflect that the alias
Alan Olsen> behaviour is on by default.
yes and sorry, you are absolutely right.
Alan Olsen> I will submit a patch for the docs that reflects this so
Alan Olsen> others will not get confused by that.
great, this will surely help. i've appended a first try how the
changes could be clarified. please take this as a hopefully helpful
proposal (HHP for short ;-).
Erik
--- linux-2.4.5/Documentation/networking/alias.txt-245 Tue Apr 28 23:22:04 1998
+++ linux-2.4.5/Documentation/networking/alias.txt Thu Jun 21 01:41:45 2001
@@ -2,40 +2,43 @@
IP-Aliasing:
============
+IP-aliases are additional IP-adresses/masks hooked up to a base
+interface by adding a colon and a string when running ifconfig.
+This string is usually numeric, but this is not a must.
+
+IP-Aliases are avail if CONFIG_INET (`standard' IPv4 networking)
+is configured in the kernel.
-o For IP aliasing you must have IP_ALIAS support included by static
- linking.
o Alias creation.
- Alias creation is done by 'magic' iface naming: eg. to create a
+ Alias creation is done by 'magic' interface naming: eg. to create a
200.1.1.1 alias for eth0 ...
# ifconfig eth0:0 200.1.1.1 etc,etc....
~~ -> request alias #0 creation (if not yet exists) for eth0
- and routing stuff also ...
- # route add -host 200.1.1.1 dev eth0:0 (if same IP network as
- main device)
-
- # route add -net 200.1.1.0 dev eth0:0 (if completely new network wanted
- for eth0:0)
+
+ The corresponding route is also set up by this command.
+ Please note: The route always points to the base interface.
+
o Alias deletion.
- Also done by shutting the interface down:
+ The alias is removed by shutting the alias down:
# ifconfig eth0:0 down
~~~~~~~~~~ -> will delete alias
-Alias (re-)configuring
+o Alias (re-)configuring
- Aliases are not real devices, but programs` should be able to configure and
+ Aliases are not real devices, but programs should be able to configure and
refer to them as usual (ifconfig, route, etc).
-Relationship with main device
------------------------------
- - the main device is an alias itself like additional aliases and can
- be shut down without deleting other aliases.
+o Relationship with main device
+
+ If the base device is shut down the added aliases will be deleted
+ too.
+
Contact
-------
next prev parent reply other threads:[~2001-06-21 0:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-20 20:42 The latest Microsoft FUD. This time from BillG, himself Miles Lane
2001-06-20 21:33 ` Rik van Riel
2001-06-20 22:31 ` Daniel Phillips
2001-06-20 19:53 ` Rob Landley
2001-06-21 8:50 ` Henning P. Schmiedehausen
2001-06-21 16:41 ` Rob Landley
2001-06-20 22:09 ` Alan Cox
2001-06-20 22:33 ` Larry McVoy
2001-06-20 22:51 ` Alan Cox
2001-06-20 23:02 ` Jonathan Morton
2001-06-20 23:04 ` William T Wilson
2001-06-20 23:07 ` Khalid Aziz
2001-06-21 8:46 ` Henning P. Schmiedehausen
2001-06-21 13:48 ` Daniel Phillips
2001-06-21 17:32 ` Miles Lane
2001-06-20 23:16 ` Richard Gooch
2001-06-20 23:20 ` Daniel Phillips
2001-06-21 0:46 ` Michael Bacarella
2001-06-21 14:20 ` chuckw
2001-06-21 8:37 ` Henning P. Schmiedehausen
2001-06-21 16:25 ` Rob Landley
2001-06-21 22:37 ` Michael Bacarella
2001-06-21 22:49 ` Alan Cox
2001-06-22 11:08 ` Rob Landley
2001-06-22 18:33 ` Kai Henningsen
2001-06-28 22:33 ` Pavel Machek
2001-06-21 12:57 ` Helge Hafting
2001-06-20 23:34 ` Alan Olsen
2001-06-21 10:07 ` Paul Flinders
2001-06-21 12:57 ` Rik van Riel
2001-06-21 14:01 ` Alan Cox
2001-06-23 16:29 ` watermodem
2001-06-20 22:28 ` IP_ALIAS in 2.4.x gone? Alan Olsen
2001-06-20 23:12 ` Alan Olsen
2001-06-20 23:59 ` Erik Schoenfelder [this message]
2001-06-22 10:47 ` problem with select() - 2.4.5 Thomas Speck
2001-06-22 19:53 ` Thomas Speck
2001-06-23 0:36 ` Edgar Toernig
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=200106202359.BAA15009@aunt.gaertner.de \
--to=schoenfr@gaertner.de \
--cc=alan@clueserver.org \
--cc=jjciarla@raiz.uncu.edu.ar \
--cc=linux-kernel@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.