5. Support for IPv6¶
5.1. IPv6-enabled network¶
Check with network admin that your networks support IPv6.
5.2. IPv6-enabled hosts¶
Below we that assume your hosts run Red Hat Enterprise Linux or variants.
Verify your host OS supports IPv6.
Check for IPv6 support in the currently running kernel:
$ cat /proc/net/if_inet6
Enable IPv6 by editing
/etc/modprobe.d/ipv6.conf
, if necessary:options ipv6 disable=0
Load
ipv6
module if necessary:$ sudo lsmod | grep ipv6 $ sudo modprobe ipv6
Verify your host NIC is configured to support IPv6. Obtain IPv6 address from network admin and configure the corresponding
ifcfg
file in/etc/sysconfig/network-scripts
:IPV6INIT="yes" IPV6ADDR="2620:6a:0:2::2:57" IPV6_DEFAULTGW="2620:6a:0:2::2:1" IPV6_AUTOCONF="no"
The host ipv6 firewall should be configured accordingly.
Restart the host (highly recommended)
5.3. mdtmFTP command line¶
After network and hosts are configured, you can do data transfer over
IPv6 by adding -ipv6
option to mdtmFTP client’s command line. For
example:
$ sudo docker run \
-ti --rm \
--net=host \
-v `pwd`:/mdtmwork \
publicregistry.fnal.gov/bigdata_express/mdtmftp:1.1.1-xenial \
mdtm-ftp-client -ipv6 -vb -p 16 \
ftp://mdtmftp:123456@dtn-a.example.net:5050//data1/10G.bin \
ftp://mdtmftp:123456@dtn-b.example.net:5050/dev/null
5.4. Data transfer examples¶
Find some examples in: