Re: [Ipmitool-devel] Ipmi help

2008-12-19 Thread Carsten Aulbert
Hi

Paras pradhan wrote:
 
 Its' not working. If ipmi is correctly setup, i should be able to ping
 the ip address assigned to the ipmi right?. The network address of
 eth0 of my machine and that of ipmi interface is same.
 
 
 What i am missing here?

No, the IP addresses of eth0 and the IPMI card need to be different,
especially when IPMI is tunneled on the same interface.

Can you give us the output of

ipmitool lan print 1
(or whatever is the lan channel you have configured) as well as the
output of ifconfig eth0?

Cheers

Carsten

--
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


Re: [Ipmitool-devel] Ipmi help

2008-12-19 Thread Fred Skrotzki
Being able to ping the interface is not a valid assumption.  Many board
implementations (Most Dell systems for example) do not support the icmp
protocol as that would be code overhead that is not really needed.

Also if it is using a shared Nic setup (i.e. the primary/secondary Nic
is also the nic for the ipmi interface) it is very  unlikely that you'll
be able to hit the ipmi interface via that network interface from the
machine of that interface but should be able to from another machine.

Without knowing the specific manufacture and board along with some more
details (like was this done from the same system or a different one)
it's not possible to give you a concrete answer. 

-Original Message-
From: Paras pradhan [mailto:pradhanpa...@gmail.com] 
Sent: Friday, December 19, 2008 11:45 AM
To: ipmitool-devel@lists.sourceforge.net
Subject: [Ipmitool-devel] Ipmi help

hi,

I guess this is the write place to ask.



I am working on to setup a fencing using IPMI which is supported in my
mother board. I have assigned the ip address to the ipmi , but I am not
able to ping the interface.

If i do:

ipmitool chassis status  , it works but if i do

[r...@ha1 ~]# ipmitool -I lan -H ipaddress -U admin -P admin chassis
status
Error: Unable to establish LAN session
Error sending Chassis Status command


Its' not working. If ipmi is correctly setup, i should be able to ping
the ip address assigned to the ipmi right?. The network address of eth0
of my machine and that of ipmi interface is same.


What i am missing here?


Thanks
Paras.


--
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

--
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


Re: [Ipmitool-devel] Ipmi help

2008-12-19 Thread Mike Lovell
Paras pradhan wrote:
 hi,

 I guess this is the write place to ask.



 I am working on to setup a fencing using IPMI which is supported in my
 mother board. I have assigned the ip address to the ipmi , but I am
 not able to ping the interface.

 If i do:

 ipmitool chassis status  , it works but if i do

 [r...@ha1 ~]# ipmitool -I lan -H ipaddress -U admin -P admin chassis status
 Error: Unable to establish LAN session
 Error sending Chassis Status command


 Its' not working. If ipmi is correctly setup, i should be able to ping
 the ip address assigned to the ipmi right?. The network address of
 eth0 of my machine and that of ipmi interface is same.


 What i am missing here?
   
Have you tried using lanplus as the interface? `ipmitool -I lanplus -H 
ipaddress -U admin -P admin chassis power status`

Mike

--
___
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel