文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>一个网卡设置多个IP

一个网卡设置多个IP

时间:2009-06-20  来源:djstava

以ubuntu系统为例,其它的也类似,centos是以单独的配置文件进行设置。
vi /etc/network/interfaces

auto lo
iface lo inet loopback

iface eth0 inet static
address 192.168.0.179
netmask 255.255.255.0
gateway 192.168.0.1
auto eth0

iface eth0:0 inet static
address 192.168.12.179
netmask 255.255.255.0
auto eth0:0

按eth0:0,eth0:1...,你可以设置任意多个IP。
相关阅读 更多 +
排行榜 更多 +
空中跑酷汉化版

空中跑酷汉化版

赛车竞速 下载
修仙传说

修仙传说

角色扮演 下载
魔界零之迷宫

魔界零之迷宫

冒险解谜 下载