|
双网卡,双ip,网卡1是static/dhcp均可,网卡2是static
- auto loiface lo inet loopback#auto enp0s3#iface enp0s3 inet dhcpauto enp0s3iface enp0s3 inet staticaddress 10.0.0.80netmask 255.255.255.0gateway 10.0.0.1auto enp1s0iface enp1s0 inet staticaddress 10.0.0.112netmask 255.255.255.0gateway 10.0.0.1
复制代码
这么配 只有enp1s0能通 把enp1s0的网关注释掉 又只有enp0s3通
系统是debian 求教如何配置 |
|