[Linux-PowerEdge] IPv6 vs iDRAC7 vs ipmitool

Dan Yasny dyasny at gmail.com
Thu Nov 16 13:22:05 CST 2017


On Thu, Nov 16, 2017 at 1:36 PM, Grzegorz Bakalarski <
g.bakalarski at icm.edu.pl> wrote:

> Did you try to connect via DNS name e.g. in /etc/hosts just put in
>
> 2620:52:0:13b8:46a8:42ff:fe3b:235f   my-rsc
>
> and then
>
>  ipmitool -I lanplus -H  my-rsc  -U root  .....
>
> Some programs require to enclose IPv6 address in [] and due to bash syntax
> errors sometime it may look e.g.:
>
>  ipmitool -I lanplus -H \[2620:52:0:13b8:46a8:42ff:fe3b:235f\] -U root
> ....
>
>
>

ipmitool seems to be working fine against IPv6 addresses on another system:

ipmitool -I lanplus -H fc00:1101::10 -L ADMINISTRATOR -U admin -R 3 -N 5 -P
password power status
Chassis Power is on

>
>
> And my private comment: if you don't have to use  IPv6, please try to
> avoid it.
>
No can do, this is something IPv6 specific I have to get working


> We are using IPv6 since 6 years and we are testers for IPv6 bugs. Eg. some
> disk arrays and ethernet switches (Dell branded) cannot  send e-mails
> (alerts) via IPv6 stack (strange syntax errors), we had sntp problems via
> IPv6, and more ... (like broadcast floods during switch reboots). Just
> recently ipmitool started to support IPv6 (from Debian Streach - even
> Jessie has too old version of ipmitool).
>
> And remember IPv6 is preferred over IPv4 so if you have both enabled and
> IPv6 doesn't work, then your  good IPv4 is useless.
>
> Bests
>
> Grzegorz
>
> W dniu 2017-11-16 18:41, Dan Yasny napisał(a):
>
> Forgot to mention the OS - RHEL7.4; ipmitool-1.8.18-5.el7.x86_64
>
> On Thu, Nov 16, 2017 at 12:39 PM, Dan Yasny <dyasny at gmail.com> wrote:
>
>> Hi all,
>>
>> After the great help I received here yesterday, I have high hopes for
>> this one as well
>>
>> I have enabled IPv6 on a set of iDRACs, and can ping6 them or ssh into
>> them using the v6 address.
>>
>> However, ipmitool fails to connect completely. Below are some command
>> outputs using ipv4 and ipv6 addresses of the same DRAC (R320/iDRAC7-ENT in
>> this case):
>>
>> $ ping -6 2620:52:0:13b8:46a8:42ff:fe3b:235f
>> PING 2620:52:0:13b8:46a8:42ff:fe3b:235f(2620:52:0:13b8:46a8:42ff:fe3b:235f)
>> 56 data bytes
>> 64 bytes from 2620:52:0:13b8:46a8:42ff:fe3b:235f: icmp_seq=1 ttl=64
>> time=0.911 ms
>> 64 bytes from 2620:52:0:13b8:46a8:42ff:fe3b:235f: icmp_seq=2 ttl=64
>> time=0.514 ms
>>
>> $ ping 10.19.184.37
>> PING 10.19.184.37 (10.19.184.37) 56(84) bytes of data.
>> 64 bytes from 10.19.184.37: icmp_seq=1 ttl=64 time=0.755 ms
>> 64 bytes from 10.19.184.37: icmp_seq=2 ttl=64 time=0.488 ms
>>
>> $ ipmitool -I lanplus -H 10.19.184.37 -U root -R 3 -N 5 -P calvin power
>> status
>> Chassis Power is on
>>
>> $ ipmitool -I lanplus -H 2620:52:0:13b8:46a8:42ff:fe3b:235f -U root -R 3
>> -N 5 -P calvin power status
>> Error: Unable to establish IPMI v2 / RMCP+ session
>>
>> ^^ this after waiting for a minute or so, so something is definitely
>> happening
>>
>>
>> ssh root at 2620:52:0:13b8:46a8:42ff:fe3b:235f
>> root at 2620:52:0:13b8:46a8:42ff:fe3b:235f's password: ****
>> /admin1->
>> /admin1->
>>
>> In short, I do have connectivity, but I wonder whether there's something
>> else to enable on the iDRAC, to allow ipmi over ipv6
>>
>> Thanks,
>> Dan
>>
>>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20171116/59103e13/attachment.html>


More information about the Linux-PowerEdge mailing list