免费注册 查看新帖 |

Chinaunix

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

如何让sun fire v245的bge1起来 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-26 19:03 |只看该作者 |倒序浏览
#ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 4
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
        inet 10.165.1.14 netmask ffffff80 broadcast 192.168.1.127
        ether 0:14:4f:7a:ff:82
bge1: flags=19000802<BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED> mtu 0 index 6
        inet 0.0.0.0 netmask 0
        groupname mpgrp1
        ether 0:14:4f:7a:ff:83
bge1:1: flags=19040803<UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED> mtu 1500 index 6
        inet 192.168.1.44 netmask ffffff80 broadcast 192.168.1.127
bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7
        inet 192.168.1.34 netmask ffffff80 broadcast 192.168.1.127
        groupname mpgrp1
        ether 0:14:4f:7a:ff:84
bge2:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 7
        inet 192.168.1.54 netmask ffffff80 broadcast 192.168.1.127
bge2:2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7
        inet 192.168.1.24 netmask ffffff80 broadcast 192.168.1.127
#if_mpadm -r bge1
Interface not offlined
bge1怎么起不来?

论坛徽章:
0
2 [报告]
发表于 2008-02-26 19:59 |只看该作者
起来了,没有分配IP地址

论坛徽章:
0
3 [报告]
发表于 2008-02-26 20:06 |只看该作者

回复 #2 race 的帖子

之前分配过地址的呀,192.168.1.24,作了个if_mpadm -d bge1,地址就到bge2:2上了,然后再作if_mpadm -r bge1 就报Interface not offlined错,我如何能将地址移回bge1上呢?

论坛徽章:
0
4 [报告]
发表于 2008-02-26 20:16 |只看该作者

回复 #2 race 的帖子

拜托老大帮帮忙,我在线等

论坛徽章:
0
5 [报告]
发表于 2008-02-27 08:00 |只看该作者
没做过IPMP,精华区有文章可以参考一下

论坛徽章:
0
6 [报告]
发表于 2008-02-27 08:28 |只看该作者
You need to offline it first.

if_mpadm -d bge1
if_mpadm -r bge1

论坛徽章:
0
7 [报告]
发表于 2008-02-27 09:14 |只看该作者

回复 #6 briangao 的帖子

不行,试过了,虽不报错,但不生效,地址仍旧相同,望各位大虾赐教

论坛徽章:
0
8 [报告]
发表于 2008-02-27 09:28 |只看该作者
把/etc/hostname.bge1   /etc/hostname.bge2  /etc/hosts等发上来。

或者tail -f /var/adm/messages    然后再reset bge1看看输出信息

论坛徽章:
0
9 [报告]
发表于 2008-02-27 10:31 |只看该作者

回复 #8 easybegin 的帖子

#tail -f /var/adm/messages
Feb 27 09:54:10 cns-shh00appl11 rmclomv: [ID 509666 kern.error] DHCP negotiation failed, perhaps misconfigured or no DHCP server available
Feb 27 09:58:14 cns-shh00appl11 last message repeated 2 times
Feb 27 10:00:16 cns-shh00appl11 rmclomv: [ID 509666 kern.error] DHCP negotiation failed, perhaps misconfigured or no DHCP server available
Feb 27 10:04:20 cns-shh00appl11 last message repeated 2 times
Feb 27 10:06:22 cns-shh00appl11 rmclomv: [ID 509666 kern.error] DHCP negotiation failed, perhaps misconfigured or no DHCP server available
Feb 27 10:12:28 cns-shh00appl11 last message repeated 3 times
Feb 27 10:14:30 cns-shh00appl11 rmclomv: [ID 509666 kern.error] DHCP negotiation failed, perhaps misconfigured or no DHCP server available
Feb 27 10:18:34 cns-shh00appl11 last message repeated 2 times
Feb 27 10:20:36 cns-shh00appl11 rmclomv: [ID 509666 kern.error] DHCP negotiation failed, perhaps misconfigured or no DHCP server available
Feb 27 10:24:40 cns-shh00appl11 last message repeated 2 times
Feb 27 10:26:42 cns-shh00appl11 rmclomv: [ID 509666 kern.error] DHCP negotiation failed, perhaps misconfigured or no DHCP server available


reset bge1这个命令没的

/etc/hosts
#
# Internet host table
#
127.0.0.1       localhost      
192.168.1.14     cns-shh00appl11 loghost
192.168.1.24   cns-shh00appl11-bge1   #data address for bge1
192.168.1.34   cns-shh00appl11-bge2    #data address for bge2
192.168.1.44   cns-shh00appl11-bge1-test       #bge1:1 test address for bge1
192.168.1.54   cns-shh00appl11-bge2-test       #bge2:1 test address for bge2

#more /etc/hostname.bge1
cns-shh00appl11-bge1 netmask + broadcast + group mpgrp1 up \
addif cns-shh00appl11-bge1-test deprecated netmask + broadcast + -failover up

#more /etc/hostname.bge2
cns-shh00appl11-bge2 netmask + broadcast + group mpgrp1 up \
addif cns-shh00appl11-bge2-test deprecated netmask + broadcast + -failover up
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP