Hello, thank you for your help! I reset the bmc; set the mac and ip addresses
the same as eth0, but when i use the command:
 "ipmitool -I lan -H 172.30.1.118 -P password chassis power status"

to get the chassis power status, it reports:
     Error: Address lookup for IPMI_lan_address failed
     ipmi_lan_send_cmd failed to open intf
     Unable to get Chassis Power Status

and i can't "ssh" to the machine from the remote one by "ssh 172.30.1.118" anymore,
do you know the reason, waiting for your help anxiously ....


I reset the bmc by:
mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # ipmitool mc reset cold
Sent cold reset command to MC

And the related operations are listed as below:

Hardware environment:
x336

Software environment:
1. mcp5_x86_64-mcp-2006-09-11-230002-exportroot.tgz (bzImage-2.6.16.21-38-smp)
2. OpenIPMI-1.4.26-8
3. ipmitool-1.8.8.tar.gz
4. mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:14:5E:7E:1A:EC
          inet addr:172.30.1.118  Bcast:172.30.1.255  Mask:255.255.255.0
          inet6 addr: 2002:9b5:8c0d:2:214:5eff:fe7e:1aec/64 Scope:Global
          inet6 addr: fe80::214:5eff:fe7e:1aec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8223 errors:0 dropped:0 overruns:0 frame:39
          TX packets:6892 errors:0 dropped:0 overruns:0 carrier:0
          collisions:11229 txqueuelen:1000
          RX bytes:767943 (749.9 Kb)  TX bytes:2356884 (2.2 Mb)
          Interrupt:169

eth1      Link encap:Ethernet  HWaddr 00:14:5E:7E:1A:ED
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:169

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:157501 errors:0 dropped:0 overruns:0 frame:0
          TX packets:157501 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:33339368 (31.7 Mb)  TX bytes:33339368 (31.7 Mb)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

5. default gateway ipaddr: 172.30.1.1   macaddr: 00:09:6b:89:be:b1

Steps to reproduce:

1.  mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # lsmod
Module                  Size  Used by
ipmi_si                52840  0
ipmi_devintf           26896  0
ipmi_msghandler        47092  2 ipmi_si,ipmi_devintf

2. mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # ipmitool -I open lan print 1
Set in Progress         : Set Complete
Auth Type Support       : NONE MD2 MD5 PASSWORD
Auth Type Enable        : Callback : MD2 MD5 PASSWORD
                        : User     : MD2 MD5 PASSWORD
                        : Operator : MD2 MD5 PASSWORD
                        : Admin    : MD2 MD5 PASSWORD
                        : OEM      :
IP Address Source       : Static Address
IP Address              : 172.30.1.118
Subnet Mask             : 255.255.255.0
MAC Address             : 00:14:5e:7e:1a:ec
SNMP Community String   : public
IP Header               : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
Default Gateway IP      : 172.30.1.1
Default Gateway MAC     : 00:09:6b:89:be:b1
Backup Gateway IP       : 0.0.0.0
Backup Gateway MAC      : 00:00:00:00:00:00
Cipher Suite Priv Max   : Not Available

3. mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # ipmitool -I open lan set 1 password password
Password set for user 1

4. mcptest8:/opt/fiv/ltp/testcases/fivextra/openipmi # ipmitool -I lan -H 172.30.1.118 -P password chassis power status
Error: Address lookup for IPMI_lan_address failed
ipmi_lan_send_cmd failed to open intf
Unable to get Chassis Power Status
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to