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
ian072@sundown:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto p3p1
#iface p3p1 inet dhcp

auto p3p1
iface p3p1 inet static
  address 192.168.1.2
  netmask 255.255.255.0
  gateway 192.168.1.1
  dns-search google.com
  dns-nameservers 8.8.8.8  

auto p5p1
iface p5p1 inet static
  address 192.168.1.3
  netmask 255.255.255.0
# gateway 192.168.1.1
# dns-search google.com
#  dns-nameservers 8.8.8.8