:~$ 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
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 10.0.0.1
netmask 255.255.255.0
# gateway 192.168.1.2
# dns-search google.com
# dns-nameservers 8.8.8.8
ian072@sundown:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:156 errors:0 dropped:0 overruns:0 frame:0
TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10840 (10.8 KB) TX bytes:10840 (10.8 KB)
p3p1 Link encap:Ethernet HWaddr d0:50:99:7d:26:6b
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d250:99ff:fe7d:266b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4147 errors:0 dropped:0 overruns:0 frame:0
TX packets:4783 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1589482 (1.5 MB) TX bytes:497931 (497.9 KB)
p5p1 Link encap:Ethernet HWaddr 48:ee:0c:bc:01:99
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::4aee:cff:febc:199/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:812 errors:0 dropped:0 overruns:0 frame:0
TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:66281 (66.2 KB) TX bytes:10585 (10.5 KB)