ubuntu 双网卡及路由配置

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 211.x.x.x
        netmask 255.255.255.x
        gateway 211.x.x.x
        dns-nameservers 114.114.114.114 119.29.29.29

auto eth1
iface eth1 inet static
        address 10.16.16.15
        netmask 255.255.255.0
        up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.16.16.254 eth1

原文地址:https://www.cnblogs.com/dpwindy/p/9619544.html