cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl ipv6 command line questions

From: Jemiolo, John <John.Jemiolo_at_hp.com>
Date: Thu, 6 Nov 2014 16:10:23 +0000

I have been trying to sort out communicating with a system on a private network from a SLES11 SP3 Linux host using: curl 7.38

What I have found was

curl -x "" --interface eth1 http://<IPv4 Address>/path <-- works for IPv4

curl -x "" http://[IPv6 Address%25eth1]/path <--works for IPv6

curl -x "" --interface eth1 http://[IPv6 Address]/path <--DOES NOT WORK for IPV6 seems to just hang forever.

Now why "%25eth1" works I do not know, I cannot find this usage in any of the curl doc's (I tried this because I use this ssh'ing to ipv6 hosts.

Also why does " -interface eth1 " work for IPv4 and not IPv6?

Also the "-g" option, its use seems not to have any effect when using IPv6 addresses, what is its correct usage?

Am I missing something?

JJ

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-06