Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
#The Ethernet 0 Network Interface
#auto eth0
#iface eth0 inet static
#address 172.24.91.137
#netmask 255.255.255.0
#gateway 172.24.91.1
up /sbin/route add -net 172.16.65.0 netmask 255.255.255.0 gw 172.24.91.1
down /sbin/route del -net 172.16.65.0 netmask 255.255.255.0
#The Ethernet 1 Network Interface
#auto eth1
#iface eth1 inet static
#address 10.227.47.13
#netmask 255.255.255.0
#gateway 10.227.47.1
up /sbin/route add -net 10.200.161.0 netmask 255.255.255.0 gw 10.227.47.1
down /sbin/route del -net 10.200.161.0 netmask 255.255.255.0
#The Ethernet 2 Network Interface
#auto eth2
#iface eth1 inet static
#address 10.227.49.19
#netmask 255.255.255.0
#gateway 10.227.49.3
up /sbin/route add -net 10.200.12.0 netmask 255.255.255.0 gw 10.227.49.3
down /sbin/route del -net 10.200.12.0 netmask 255.255.255.0