wget prefers IPv4 address over IPv6 one
John Summerfield
debian at herakles.homelinux.org
Sun Dec 16 23:54:33 UTC 2007
Dawid Gajownik wrote:
> Dnia 12/17/2007 12:09 AM, UÅŒytkownik John Summerfield napisaÅ?:
>> Perhaps:
>> 08:03 [summer at numbat ~]$ telnet 2001:770:18:aa40::c101:c140 21
>> Trying 2001:770:18:aa40::c101:c140...
>> telnet: connect to address 2001:770:18:aa40::c101:c140: Network is
>> unreachable
>> telnet: Unable to connect to remote host: Network is unreachable
>
> What show `traceroute6 2001:770:18:aa40::c101:c140' command? It works
> here without a problem:
>
> [gajownik at cyklop tmp]$ LANG=C wget
> ftp://[2001:770:18:aa40::c101:c140]/pub/fedora/linux/releases/8/Fedora/i386/iso/Fedora-8-i386-rescuecd.iso
>
> --00:13:58--
> ftp://[2001:770:18:aa40::c101:c140]/pub/fedora/linux/releases/8/Fedora/i386/iso/Fedora-8-i386-rescuecd.iso
>
> => `Fedora-8-i386-rescuecd.iso'
> Connecting to 2001:770:18:aa40::c101:c140:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done. ==> PWD ... done.
> ==> TYPE I ... done. ==> CWD
> /pub/fedora/linux/releases/8/Fedora/i386/iso ... done.
> ==> EPSV ... done. ==> RETR Fedora-8-i386-rescuecd.iso ... done.
> Length: 107,833,344 (103M) (unauthoritative)
>
> 100%[===================================================================>]
> 107,833,344 2.88M/s ETA 00:00
>
> 00:14:22 (4.99 MB/s) - `Fedora-8-i386-rescuecd.iso' saved [107833344]
Whether it works for you is irrelevant, wget has to work everywhere,
including networks that aren't configured for IP6.
Since _I_ don't take special action to support IP6, probably it falls
over at my Internet gateway where IP6 traffic has to be mapped into IP4
and NAT.
I don't imagine I'm Pat Malone here.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
More information about the test
mailing list