Chinaunix首页 | 论坛 | 博客
  • 博客访问: 49366
  • 博文数量: 62
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 350
  • 用 户 组: 普通用户
  • 注册时间: 2015-01-06 11:17
文章分类
文章存档

2015年(62)

我的朋友

分类: LINUX

2015-01-21 16:48:09

linux配置多个ip

/sbin/ eth0:1 172.19.121.180 broadcast 172.19.121.255  netmask 255.255.255.0 up
 

/sbin/ add -host 172.19.121.180 dev eth0:1
 

/sbin/ifconfig eth0:2 172.19.121.181 broadcast 172.19.121.255  netmask 255.255.255.0 up
 

/sbin/route add -host 172.19.121.181 dev eth0:2

    • 本文来自:
阅读(329) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~