ubuntu单个网卡绑定多个ip -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【www.unjs.com - 电脑资料】

  # 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

最新文章