比特大陆的双网口动静态IP配置

linaro@bm1684:~$ cat /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet dhcp
iface eth0 inet static
      address 192.168.4.168
      netmask 255.255.254.0

linaro@bm1684:~$ cat /etc/network/interfaces.d/eth1
auto eth1
iface eth1 inet static
      address 192.168.4.169
      netmask 255.255.254.0
      gateway 192.168.4.1 这个可能会干扰上网
      dns-nameservers 192.168.4.1