Chinaunix

标题: 如何让sun fire v245的bge1起来 [打印本页]

作者: fayewei    时间: 2008-02-26 19:03
标题: 如何让sun fire v245的bge1起来
#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怎么起不来?
作者: race    时间: 2008-02-26 19:59
起来了,没有分配IP地址
作者: fayewei    时间: 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上呢?
作者: fayewei    时间: 2008-02-26 20:16
标题: 回复 #2 race 的帖子
拜托老大帮帮忙,我在线等
作者: race    时间: 2008-02-27 08:00
没做过IPMP,精华区有文章可以参考一下
作者: briangao    时间: 2008-02-27 08:28
You need to offline it first.

if_mpadm -d bge1
if_mpadm -r bge1
作者: fayewei    时间: 2008-02-27 09:14
标题: 回复 #6 briangao 的帖子
不行,试过了,虽不报错,但不生效,地址仍旧相同,望各位大虾赐教
作者: easybegin    时间: 2008-02-27 09:28
把/etc/hostname.bge1   /etc/hostname.bge2  /etc/hosts等发上来。

或者tail -f /var/adm/messages    然后再reset bge1看看输出信息
作者: fayewei    时间: 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




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2