lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] contrib tcpip ipv6


From: Sylvain Rochet
Subject: Re: [lwip-devel] contrib tcpip ipv6
Date: Wed, 26 Dec 2012 15:04:12 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Edgard

On Wed, Dec 26, 2012 at 10:48:21AM -0300, Edgard Lima wrote:
> Now I got this error:
> 
> $ curl --interface tap0 -g -6
> http://[fe80:0000:0000:0000:0302:03ff:fe04:0506]:80/
> curl: (45) bind failed with errno 22: Invalid argument

Well, curl does not cope well with IPv6 link local.

I found something which works:

0. Use "ip address show dev $IFNAME" to get the interface -numerical- 
indentifier.

$ ip a s dev eth1
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
qlen 1000

1. curl -g -6 http://[LL-ADDR%25NUMERICAL-ID]/

%25 is an escaped % sign, with numerical identifier 2 it looks like:

$ curl -6 -g http://[fe80:0000:0000:0000:0302:03ff:fe04:0506%252]/

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]