Ulrich> On 4 May 2009 at 16:03, StorageSolutionGroup wrote:
>> hi, >> >> We are having IBM Storage and we are going to implement IPv6 in >> our company. I have following doubts : >> >> Does iSCSI supports Internet Protocol version 6?
Ulrich> I just checked RFC 3720: "IPv6" is mentioned exactly once, so Ulrich> I guess supporting IPv6 is not forbidden ;-) Maybe Mike can Ulrich> tell us more...
I think there are three questions here.
Q1: Does the standard allow for iSCSI over IPv6? A1: Yes.
Q2: Are there products that support iSCSI over IPv6? A2: Yes.
Q3: Does the XYZ123 product support iSCSI over IPv6? A3: You should ask the manufacturer of that product.
On May 5, 6:21 pm, Mike Christie <micha...@cs.wisc.edu> wrote:
> StorageSolutionGroup wrote:
> > hi,
> > We are having IBM Storage and we are going to implement IPv6 in our
> > company. I have following doubts :
> > Does iSCSI supports Internet Protocol version 6?
> The iSCSI spec should support ipv6.
> The open-iscsi tools support ipv6 with the exception they do not support
> link local addresses yet.
I've just run into an issue with ipv6 (related to link local
addresses). I have a opensolaris server with an iscsi target (zfs
volume) and open-iscsi installed on my linux laptop. The reply from
the sendtarget request contains three IP addresses per target, like
this:
iscsiadm parses the first address of the first target, but fails on
the second target and aborts the whole operation. I have patched the
source to simply skip the line when it can't add the target record and
now it works fine.
Why is it that getaddrinfo() can't parse link local addresses?
iscsiadm: Cannot resolve host fe80::xxxx:xxxx:xxxx:xxxx. getaddrinfo
error: [Servname not supported for ai_socktype]
> On May 5, 6:21 pm, Mike Christie <micha...@cs.wisc.edu> wrote: >> StorageSolutionGroup wrote: >>> hi,
>>> We are having IBM Storage and we are going to implement IPv6 in our >>> company. I have following doubts :
>>> Does iSCSI supports Internet Protocol version 6?
>> The iSCSI spec should support ipv6.
>> The open-iscsi tools support ipv6 with the exception they do not >> support >> link local addresses yet.
> I've just run into an issue with ipv6 (related to link local > addresses). I have a opensolaris server with an iscsi target (zfs > volume) and open-iscsi installed on my linux laptop. The reply from > the sendtarget request contains three IP addresses per target, like > this:
> iscsiadm parses the first address of the first target, but fails on > the second target and aborts the whole operation. I have patched the > source to simply skip the line when it can't add the target record and > now it works fine.
> Why is it that getaddrinfo() can't parse link local addresses? > iscsiadm: Cannot resolve host fe80::xxxx:xxxx:xxxx:xxxx. getaddrinfo > error: [Servname not supported for ai_socktype]
Because link-local addresses are link local, and just copying the address, like e80::xxxx:xxxx:xxxx:xxxx, doesn't preserve information about which link is involved.
To really make these work, the code that receives the text PDU needs to be able to figure out if the TCP connection is link local. If it is, it needs to add enough info to the link-local address to set the scope. Otherwise it needs to ignore the address.