Found it.
Depending on your infrastructure and even if you have only one network 
interface on your Linux ipmitool client, you have to specify the IPv6 address 
with the (correct) scope identifier:

root@ubuntu-hl:/home/v-hollie/bmc/ipmitool-1.8.11_MD5_SHA256# ./src/ipmitool -I 
lan -H FE80::219:99FF:FE95:5FF4%eth1 -U admin -P admin mc info
Device ID                 : 2
Device Revision           : 2
Firmware Revision         : 4.10
IPMI Version              : 2.0
Manufacturer ID           : 10368
Manufacturer Name         : Fujitsu Siemens
Product ID                : 770 (0x0302)
Product Name              : Unknown (0x302)
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     :
    0x06
    0x63
    0x00
    0x41

Holger

From: Liebig, Holger [mailto:holger.lie...@ts.fujitsu.com]
Sent: Tuesday, January 18, 2011 5:23 PM
To: Ipmitool-devel@lists.sourceforge.net
Subject: Re: [Ipmitool-devel] ipmitool and IPV6

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.

[cid:image001.gif@01CBBEDB.0F8EC080]"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

<<inline: image001.gif>>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to