Holeger,

We have implement IPMI using IPv6 packets for two customers. What we did has nothing to do with IPMItool becase it is all Java based but the concepts should be the same.  Look at these factors:
1) The operating system on the host should support IPv6.
2) The BMC's RMCP server must keep tables to match the IPMI command "Send Message" request/responses with the IP address from the IPMI client. These tables must be able to accommodate IPv6 addresses.
3) The IPMI response command "Get Session Info" (bytes 8 thru 11)is limited to IPv4 because it uses only 4 bytes. You will need to modify this command on both the RMCP Client and sever in a way that is outside the IPMI spec. There are other IPMI commands that share this limitation.

Hank
JBlade Retuli Architect
h...@jblade.com


On 01/18/2011 08:22 AM, Liebig, Holger wrote:

Hi,

I modified the ipmitool sources to use getaddrinfo() instead of gethostbyname() and it is still working for IPv4 and halfways for IPv6, but there is still something missing.

The changes are the same I used for a Windows IPMI PowerControl program and ipmitool works fine with these changes in a Cygwin environment with IPv6, but not in native Linux (tested on Ubuntu and RHEL5).

 

The socket is listed as established and I verified the Get Channel Auth Capabilities commands arrive correctly in the BMC, but I'm unable to read/receive any IPv6 data sent back from the BMC (select times out).

 

Has anyone any other actual IPv6 UDP6 reference code or any other hints/advice what might be missing?

 

Thanks in advance,

Holger

 

root@ubuntu-hl:~# netstat -a -u -p

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

udp        0      0 *:bootpc                *:*                                 2049/dhclient  

udp        0      0 *:mdns                  *:*                                 619/avahi-daemon: r

udp        0      0 ubuntu-hl.mc:netbios-ns *:*                                 1851/nmbd      

udp        0      0 *:netbios-ns            *:*                                 1851/nmbd      

udp        0      0 ubuntu-hl.m:netbios-dgm *:*                                 1851/nmbd      

udp        0      0 *:netbios-dgm           *:*                                 1851/nmbd      

udp        0      0 *:57873                 *:*                                 619/avahi-daemon: r

udp6       0      0 fdfd:13c5:98a9:0::59113 fdfd:13c5:98a9:0:21:623 ESTABLISHED 5672/ipmitool  

 

From: Jarrod B Johnson [mailto:jbjoh...@us.ibm.com]
Sent: Wednesday, January 12, 2011 9:07 PM
To: Schafer, Randy A
Cc: Ipmitool-devel@lists.sourceforge.net
Subject: Re: [Ipmitool-devel] ipmitool and IPV6

 

As an aside, anyone know if anyone in IPMI spec land is going to define those lan parameters as a standard?

If not already in flight, I might start a patch to at least change UDP to UDP6 as possible for now.

Inactive
              hide details for "Schafer, Randy A"
              ---01/12/2011 02:53:11 PM---Does anyone know if ipmitool
              plans on supporting IPV6 "Schafer, Randy A" ---01/12/2011 02:53:11 PM---Does anyone know if ipmitool plans on supporting IPV6 in the near future? I realize that there are n

From: "Schafer, Randy A" <randy.a.scha...@intel.com>
To: "Ipmitool-devel@lists.sourceforge.net" <Ipmitool-devel@lists.sourceforge.net>
Date: 01/12/2011 02:53 PM
Subject: [Ipmitool-devel] ipmitool and IPV6





Does anyone know if ipmitool plans on supporting IPV6 in the near future?
I realize that there are no IPMI commands to configure or query IPV6 parameters, but I would like to be able to establish RMCP and RMCP+ sessions across IPV6.

Thanks.

Randy Schafer
EPSD Firmware Engineering
Intel Corporation
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to