mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
|
|
IP-Aliasing:
|
|
============
|
|
|
|
IP-aliases are additional IP-addresses/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 Alias creation.
|
|
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
|
|
|
|
The corresponding route is also set up by this command.
|
|
Please note: The route always points to the base interface.
|
|
|
|
|
|
o Alias deletion.
|
|
The alias is removed by shutting the alias down:
|
|
|
|
# ifconfig eth0:0 down
|
|
~~~~~~~~~~ -> will delete alias
|
|
|
|
|
|
o Alias (re-)configuring
|
|
|
|
Aliases are not real devices, but programs should be able to configure and
|
|
refer to them as usual (ifconfig, route, etc).
|
|
|
|
|
|
o Relationship with main device
|
|
|
|
If the base device is shut down the added aliases will be deleted
|
|
too.
|
|
|
|
|
|
Contact
|
|
-------
|
|
Please finger or e-mail me:
|
|
Juan Jose Ciarlante <jjciarla@raiz.uncu.edu.ar>
|
|
|
|
Updated by Erik Schoenfelder <schoenfr@gaertner.DE>
|
|
|
|
; local variables:
|
|
; mode: indented-text
|
|
; mode: auto-fill
|
|
; end:
|