免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1365 | 回复: 0
打印 上一主题 下一主题

Setting up aliases on an interface [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-21 12:41 |只看该作者 |倒序浏览

# ifconfig dc0 inet alias 192.168.36.131 netmask 255.255.255.255# cat /etc/hostname.dc0
inet 192.168.36.130 255.255.255.0 media 100baseTX
inet alias 192.168.36.131 255.255.255.255
inet alias 192.168.36.132 255.255.255.255
# . /etc/netstart
# ifconfig -Alo0: flags=8049 mtu 33224        groups: lo        inet6 ::1 prefixlen 128        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4        inet 127.0.0.1 netmask 0xff000000pcn0: flags=8843 mtu 1500        lladdr 00:0c:29:8b:f2:65        groups: egress        media: Ethernet autoselect (autoselect)        inet6 fe80::20c:29ff:fe8b:f265%pcn0 prefixlen 64 scopeid 0x1        inet 192.168.36.130 netmask 0xffffff00 broadcast 192.168.36.255        inet 192.168.36.131 netmask 0xffffff00 broadcast 192.168.36.255        inet 192.168.36.132 netmask 0xffffff00 broadcast 192.168.36.255        pflog0: flags=0 mtu 33224enc0: flags=0 mtu 1536
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28922/showart_325732.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP