diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /Documentation/networking/alias.txt |
Linux-2.6.12-rc2v2.6.12-rc2
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!
Diffstat (limited to 'Documentation/networking/alias.txt')
-rw-r--r-- | Documentation/networking/alias.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/networking/alias.txt b/Documentation/networking/alias.txt new file mode 100644 index 000000000000..cd12c2ff518a --- /dev/null +++ b/Documentation/networking/alias.txt | |||
@@ -0,0 +1,53 @@ | |||
1 | |||
2 | IP-Aliasing: | ||
3 | ============ | ||
4 | |||
5 | IP-aliases are additional IP-addresses/masks hooked up to a base | ||
6 | interface by adding a colon and a string when running ifconfig. | ||
7 | This string is usually numeric, but this is not a must. | ||
8 | |||
9 | IP-Aliases are avail if CONFIG_INET (`standard' IPv4 networking) | ||
10 | is configured in the kernel. | ||
11 | |||
12 | |||
13 | o Alias creation. | ||
14 | Alias creation is done by 'magic' interface naming: eg. to create a | ||
15 | 200.1.1.1 alias for eth0 ... | ||
16 | |||
17 | # ifconfig eth0:0 200.1.1.1 etc,etc.... | ||
18 | ~~ -> request alias #0 creation (if not yet exists) for eth0 | ||
19 | |||
20 | The corresponding route is also set up by this command. | ||
21 | Please note: The route always points to the base interface. | ||
22 | |||
23 | |||
24 | o Alias deletion. | ||
25 | The alias is removed by shutting the alias down: | ||
26 | |||
27 | # ifconfig eth0:0 down | ||
28 | ~~~~~~~~~~ -> will delete alias | ||
29 | |||
30 | |||
31 | o Alias (re-)configuring | ||
32 | |||
33 | Aliases are not real devices, but programs should be able to configure and | ||
34 | refer to them as usual (ifconfig, route, etc). | ||
35 | |||
36 | |||
37 | o Relationship with main device | ||
38 | |||
39 | If the base device is shut down the added aliases will be deleted | ||
40 | too. | ||
41 | |||
42 | |||
43 | Contact | ||
44 | ------- | ||
45 | Please finger or e-mail me: | ||
46 | Juan Jose Ciarlante <jjciarla@raiz.uncu.edu.ar> | ||
47 | |||
48 | Updated by Erik Schoenfelder <schoenfr@gaertner.DE> | ||
49 | |||
50 | ; local variables: | ||
51 | ; mode: indented-text | ||
52 | ; mode: auto-fill | ||
53 | ; end: | ||