1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# after changing this, execute:
# /etc/init.d/networking restart

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
  address 10.0.2.16
  netmask 255.255.255.0
  network 10.0.2.0
  broadcast 10.0.2.255
  gateway 10.0.2.1
  # dns-* options are implemented by the resolvconf package, if installed
  dns-nameservers 10.0.2.12

auto eth0:1
iface eth0:1 inet static
  address 10.0.2.22
  netmask 255.255.255.0
  network 10.0.2.0
  broadcast 10.0.2.255

auto eth0:2
iface eth0:2 inet static
  address 10.0.2.23
  netmask 255.255.255.0
  network 10.0.2.0
  broadcast 10.0.2.255