There is a basic networking mistake in your configuration.  Your default
gateway MUST be on the same subnet as the IP of the interface.

Think about it, how would the machine know how to get to a IP not on
it's own network.  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Federico Tomassini
Sent: Friday, November 30, 2007 8:50 AM
To: ipmitool-devel@lists.sourceforge.net
Subject: [Ipmitool-devel] lan problems on hp

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi alls,

I explored ipmitool (1.8.9) from one week, using it on a hp machine.
ipmitool works well with the "open" interface, ie locally.

But when I try to perform some command via lan/lanplus, I cannot get it
working.
First, the bmc info:

#
##
###
~# ipmitool -I open bmc info
Device ID                 : 0
Device Revision           : 3
Firmware Revision         : 1.0
IPMI Version              : 1.5
Manufacturer ID           : 3973
Manufacturer Name         : Unknown (0xf85)
Product ID                : 0 (0x0000)
Device Available          : yes
Provides Device SDRs      : no
Additional Device Support :
    Sensor Device
    SDR Repository Device
    SEL Device
    FRU Inventory Device
    IPMB Event Receiver
    Bridge
    Chassis Device
Aux Firmware Rev Info     :
    0x00
    0x00
    0x00
    0x00
###
##
#

The lan channel is the channel 2:

#
##
###
~# ipmitool -I open lan print 2
Auth Type Support       : NONE MD5 PASSWORD
Auth Type Enable        : Callback : NONE MD5 PASSWORD
                        : User     : NONE MD5 PASSWORD
                        : Operator : NONE MD5 PASSWORD
                        : Admin    : NONE MD5 PASSWORD
                        : OEM      : NONE MD5 PASSWORD
IP Address Source       : Static Address
IP Address              : 10.0.2.245
Subnet Mask             : 255.255.255.0
MAC Address             : 00:15:60:ed:dd:62
SNMP Community String   : public
Default Gateway IP      : 194.183.95.254
Cipher Suite Priv Max   : Not Available
###
##
#

I configured the channel with bmclanconf (but also with ipmitool
directly). bmclanconf hangs 20-30 seconds when "Setting channel
authentication capabilities" and after that, it prints a warning:

#
##
###
~# bmclanconf -c 2 -i eth1
Auto-configuring eth1 (channel 2)
Setting LAN IP Address to 10.0.2.245
Setting LAN Subnet Mask to 255.255.255.0 Setting LAN MAC Address to
00:15:60:ed:da:cf Setting LAN Default Gateway IP to 194.183.95.254
Setting LAN Default Gateway MAC to 00:10:58:5b:cd:d5 Setting channel
authentication capabilities LAN Parameter Data does not match!  Write
may have failed.
Enabling channel 2
###
##
#

Maybe this error is important, because now, when I try to connect from a
remote machine, I get:

#
##
###
~# ipmitool -v -I lan(plus) -H 10.0.2.245  sdr list
Password:
Get Auth Capabilities command failed
Get Auth Capabilities command failed
Error: Unable to establish LAN session
Get Device ID command failed
Unable to open SDR for reading
###
##
#

The password was configured with ipmitool: I tried also to use an
explicit user as: -U root. The user list is this:

#
##
###
~# ipmitool user list
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                    false   true       true       Unknown (0x0)
2   Operator         false   true       true       Unknown (0x0)
3   root             false   true       true       Unknown (0x0)
4   OEM              false   true       true       Unknown (0x0)

and

~# ipmitool user test 3 16(20)
Password for user 3:
Success
###
##
#

I tried also to install freeipmi, using the ipmiping tool:

#
##
###
~# ipmiping 10.0.2.245
ipmiping 10.0.2.245
ipmiping 10.0.2.245 (10.0.2.245)
response timed out: rq_seq=26
...
###
##
#

Now, I'm totally freezed. No idea about what's happening and no idea
about possible solutions.

Mailing List archives and web did not help me.

- --
efphe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHUBT8i7obm7aBjHcRAj0jAJ45wY39a17FRg7bVMNhyaPRA4LjuwCeOWrT
mgbQ1HAcFf5NuFPh+JIV/VE=
=vsLy
-----END PGP SIGNATURE-----

------------------------------------------------------------------------
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to