江苏省吴江市双板桥路3号兴源网络

0512-63028342

ly@wjxy.net.cn

Linux开发板双IP配置

cat /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*

auto eth0
iface eth0 inet dhcp
hwaddress ether 00:11:32:86:24:6e

auto eth0:1
iface eth0:1 inet static
        address 1.1.1.1
        netmask 255.255.255.0

发表回复