Import 2.1.99pre2
[davej-history.git] / Documentation / networking / alias.txt
blobc6c0b0cf3a35fbfe3369551be125ef94e2fa34d8
2 IP-Aliasing:
3 ============
6 o For IP aliasing you must have IP_ALIAS support included by static
7   linking.
9 o Alias creation.
10   Alias creation is done by 'magic' iface naming: eg. to create a
11   200.1.1.1 alias for eth0 ...
12   
13     # ifconfig eth0:0 200.1.1.1  etc,etc....
14                    ~~ -> request alias #0 creation (if not yet exists) for eth0
15     and routing stuff also ...
16     # route add -host 200.1.1.1 dev eth0:0  (if same IP network as
17                                             main device)
18    
19     # route add -net 200.1.1.0 dev eth0:0   (if completely new network wanted
20                                             for eth0:0)
22 o Alias deletion.
23   Also done by shutting the interface down:
25     # ifconfig eth0:0 down
26                  ~~~~~~~~~~ -> will delete alias
28                                    
29 Alias (re-)configuring
31   Aliases are not real devices, but programs` should be able to configure and
32   refer to them as usual (ifconfig, route, etc).
34 Relationship with main device
35 -----------------------------
37   - the main device is an alias itself like additional aliases and can
38     be shut down without deleting other aliases.
40 Contact
41 -------
42 Please finger or e-mail me:
43    Juan Jose Ciarlante <jjciarla@raiz.uncu.edu.ar>
45 Updated by Erik Schoenfelder <schoenfr@gaertner.DE>
47 ; local variables:
48 ; mode: indented-text
49 ; mode: auto-fill
50 ; end: