~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/Documentation/networking/alias.txt

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 
  2 IP-Aliasing:
  3 ============
  4 
  5 
  6 o For IP aliasing you must have IP_ALIAS support included by static
  7   linking.
  8 
  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)
 21 
 22 o Alias deletion.
 23   Also done by shutting the interface down:
 24 
 25     # ifconfig eth0:0 down
 26                  ~~~~~~~~~~ -> will delete alias
 27 
 28                                    
 29 Alias (re-)configuring
 30 
 31   Aliases are not real devices, but programs` should be able to configure and
 32   refer to them as usual (ifconfig, route, etc).
 33 
 34 Relationship with main device
 35 -----------------------------
 36 
 37   - the main device is an alias itself like additional aliases and can
 38     be shut down without deleting other aliases.
 39 
 40 Contact
 41 -------
 42 Please finger or e-mail me:
 43    Juan Jose Ciarlante <jjciarla@raiz.uncu.edu.ar>
 44 
 45 Updated by Erik Schoenfelder <schoenfr@gaertner.DE>
 46 
 47 ; local variables:
 48 ; mode: indented-text
 49 ; mode: auto-fill
 50 ; end:

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.