ubuntu单个网卡绑定多个ip
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0 eth0:0
iface eth0 inet static
address 192.168.39.15
netmask 255.255.255.0
gateway 192.168.39.1
iface eth0:0 inet static
address 192.168.1.15
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 10.10.10.15
netmask 255.255.255.0
顶(0)
踩(0)
上一篇:Linux查看ip的命令详解
下一篇:配置网络文件系统NFS服务
- 最新评论
