tech-net archive

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

Re: IPv6 scopeid not supported?



Lloyd Parkes <Lloyd.Parkes%ecs.vuw.ac.nz@localhost> writes:

> On 8/11/2010, at 8:28 AM, Daniel Hagerty wrote:
> 
> >    Your test program works just fine on 4.0_STABLE.
> 
> What was the scope ID of the first UP interface? If it was 0x01, then  
> it works the same as 5.x, if it was something else, then we may have a  
> regression.

$ ifconfig -a |head
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:11:d8:00:01:34:4c:34
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        
capabilities=3f00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=0
        address: 00:1b:fc:b1:4a:85
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 10.12.0.118 netmask 0xffff0000 broadcast 10.12.255.255
        inet6 fe80::21b:fcff:feb1:4a85%nfe0 prefixlen 64 scopeid 0x2
$ ./a.out
a.out: bind: Undefined error: 0

and with a slightly modified version of the test program that sleeps
after the bind:

$ netstat -finet6 -na |grep ff02
udp6       0      0  ff02::101%nfe0.1230    *.*                   


Home | Main Index | Thread Index | Old Index