On 4/15/2022 8:10 AM, wilson wrote:
no. it's the Hadoop system, which has the possible issue with ipv6.
thanks
I have an issue with a few websites that seem to hang with ipv6, so I
don't want to disable ipv6 permanently but only temporarily when I want
to access those sites. One class of sites are the Yahoo! Mail website
app pages (including aol.com and att.net which are administered by
Yahoo!) which seem to work much better with ipv4 only. I just
temporarily delete the default ipv6 route when accessing those websites,
and then re-enable it for other sites, with this little script:
user@debian:~$ cat ipv6
#!/bin/bash
if [ $1 == "on" ]
then
ip -6 route add default via <redacted> dev <redacted>
elif [ $1 == "off" ]
then
ip -6 route delete default
fi
Then I do 'sudo ipv6 off' to disable the default ipv6 route and 'sudo
ipv6 on' to re-enable it, assuming the ipv6 script is located in a
directory listed in the PATH environment variable.
Of course you need to insert the correct values for the default ipv6
gateway address and device for your network into the script which I
redacted to protect the privacy of my ipv6 address and network
configuration.
It works well and causes the system to fallback to ipv4 for the public
Internet without affecting ipv6 on my LAN which still functions
correctly without a default ipv6 route. Your application (Hadoop) may be
different, but if you only need to disable ipv6 for a certain network or
class of networks, or only temporarily, deleting the ipv6 route to that
network or class of networks or to the default route might be a solution
for your issue.
Regards,
Chuck