Multi interface Alias Debian Ubuntu

From MS Computech
Revision as of 01:28, 10 July 2009 by Snifer (talk | contribs) (Created page with ''''Multi interface Alias Debian Ubuntu''' Edit /etc/network/interfaces <source lang=bash> # This file describes the network interfaces available on your system # and how to activ…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Multi interface Alias Debian Ubuntu Edit /etc/network/interfaces <source lang=bash>

  1. This file describes the network interfaces available on your system
  2. and how to activate them. For more information, see interfaces(5).
  1. The loopback network interface

auto lo iface lo inet loopback

  1. The primary network interface

auto eth0 iface eth0 inet static address 10.0.2.2 netmask 255.255.255.0 network 10.0.2.0 broadcast 10.0.2.255 gateway 10.0.2.1

  1. dns-* options are implemented by the resolvconf package, if installed

dns-nameservers 10.0.2.1

  1. dns-search arwenspets.com

auto eth0:0 iface eth0:0 inet static address 10.0.0.2 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.1

  1. dns-* options are implemented by the resolvconf package, if installed

dns-nameservers 10.0.0.1 dns-search arwenspets.com

  1. auto eth0:1
  2. iface eth0:1 inet static
  3. address 24.182.139.75
  4. netmask 255.255.255.248
  5. network 24.182.139.72
  6. broadcast 24.182.139.79
  7. gateway 24.182.139.73
  8. dns-* options are implemented by the resolvconf package, if installed
  9. dns-nameservers 24.217.0.5
  10. dns-search arwenspets.com

auto eth1 iface eth1 inet static address 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 network 192.168.1.0 </source>