alias.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. IP-Aliasing:
  2. ============
  3. IP-aliases are additional IP-addresses/masks hooked up to a base
  4. interface by adding a colon and a string when running ifconfig.
  5. This string is usually numeric, but this is not a must.
  6. IP-Aliases are avail if CONFIG_INET (`standard' IPv4 networking)
  7. is configured in the kernel.
  8. o Alias creation.
  9. Alias creation is done by 'magic' interface naming: eg. to create a
  10. 200.1.1.1 alias for eth0 ...
  11. # ifconfig eth0:0 200.1.1.1 etc,etc....
  12. ~~ -> request alias #0 creation (if not yet exists) for eth0
  13. The corresponding route is also set up by this command.
  14. Please note: The route always points to the base interface.
  15. o Alias deletion.
  16. The alias is removed by shutting the alias down:
  17. # ifconfig eth0:0 down
  18. ~~~~~~~~~~ -> will delete alias
  19. o Alias (re-)configuring
  20. Aliases are not real devices, but programs should be able to configure and
  21. refer to them as usual (ifconfig, route, etc).
  22. o Relationship with main device
  23. If the base device is shut down the added aliases will be deleted
  24. too.
  25. Contact
  26. -------
  27. Please finger or e-mail me:
  28. Juan Jose Ciarlante <jjciarla@raiz.uncu.edu.ar>
  29. Updated by Erik Schoenfelder <schoenfr@gaertner.DE>
  30. ; local variables:
  31. ; mode: indented-text
  32. ; mode: auto-fill
  33. ; end: