###################################################################### # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) ###################################################################### # We always want the loopback interface. Whether we want ifup/ifdown to # know about is another matter, perhaps. auto lo iface lo inet loopback iface lo inet6 loopback auto eth0 eth1 # An example ethernet card setup: (broadcast and gateway are optional) # iface eth0 inet static address 192.0.3.254 network 192.0.3.0 netmask 255.255.255.0 broadcast 192.0.3.255 iface eth1 inet static address 192.1.3.33 network 192.1.3.0 netmask 255.255.255.0 broadcast 192.1.3.255 gateway 192.1.3.254 up route add -net 192.0.1.0 netmask 255.255.255.0 gw 192.1.3.254 up route add -net 192.0.2.0 netmask 255.255.255.0 gw 192.1.3.254 up route add -net 192.1.2.0 netmask 255.255.255.0 gw 192.1.3.254