#nano
/etc/network/interfaces
auto
eth0
iface
eth0 inet static
address
192.168.20.100
netmask
255.255.255.0
gateway
192.168.20.1
network
192.168.20.0
auto
eth1
iface
eth1 inet static
address
192.168.100.1
netmask
255.255.255.192
network
192.168.100.0
#/etc/init.d/networking
restart