Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2010 00:29:26 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        freebsd-net@freebsd.org
Cc:        Bernd Walter <ticso@cicely7.cicely.de>
Subject:   Re: Problem with link-local addresses on USB interfaces
Message-ID:  <20100828222926.GF82417@cicely7.cicely.de>
In-Reply-To: <20100828220844.GE82417@cicely7.cicely.de>
References:  <20100828220844.GE82417@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 29, 2010 at 12:08:44AM +0200, Bernd Walter wrote:
> cicely13# ifconfig
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=399b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>         ether 00:01:08:00:79:92
>         inet 10.1.1.15 netmask 0xffffff00 broadcast 10.1.1.255
>         inet6 fe80::201:8ff:fe00:7992%re0 prefixlen 64 scopeid 0x1 
>         inet6 2002:559f:e31:1::15 prefixlen 64 
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (1000baseT <full-duplex>)
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         options=3<RXCSUM,TXCSUM>
>         inet 127.0.0.1 netmask 0xff000000 
>         inet6 ::1 prefixlen 128 
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> ue0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 2a:44:14:0c:74:00
>         inet6 fe80::2844:14ff:fe0c:7400%ue0 prefixlen 64 scopeid 0x3 
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> ue1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=80000<LINKSTATE>
>         ether 00:06:07:14:47:ff
>         inet6 fe80::206:7ff:fe14:47ff%ue1 prefixlen 64 scopeid 0x4 
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> 
> cicely13# ping6 -c 1 fe80::201:8ff:fe00:7992%re0
> PING6(56=40+8+8 bytes) fe80::201:8ff:fe00:7992%re0 --> fe80::201:8ff:fe00:7992%re0
> 16 bytes from fe80::201:8ff:fe00:7992%re0, icmp_seq=0 hlim=64 time=0.760 ms
> 
> --- fe80::201:8ff:fe00:7992%re0 ping6 statistics ---
> 1 packets transmitted, 1 packets received, 0.0% packet loss
> round-trip min/avg/max/std-dev = 0.760/0.760/0.760/0.000 ms
> 
> cicely13# ping6 -c 1 fe80::1%lo0
> PING6(56=40+8+8 bytes) fe80::1%lo0 --> fe80::1%lo0
> 16 bytes from fe80::1%lo0, icmp_seq=0 hlim=64 time=0.939 ms
> 
> --- fe80::1%lo0 ping6 statistics ---
> 1 packets transmitted, 1 packets received, 0.0% packet loss
> round-trip min/avg/max/std-dev = 0.939/0.939/0.939/0.000 ms
> 
> [71]cicely13# ping6 -c 1 fe80::2844:14ff:fe0c:7400%ue0
> PING6(56=40+8+8 bytes) fe80::2844:14ff:fe0c:7400%ue0 --> fe80::2844:14ff:fe0c:7400%ue0
> 
> --- fe80::2844:14ff:fe0c:7400%ue0 ping6 statistics ---
> 1 packets transmitted, 0 packets received, 100.0% packet loss
> Exit 2
> 
> [72]cicely13# ping6 -c 1 fe80::206:7ff:fe14:47ff%ue1
> PING6(56=40+8+8 bytes) fe80::206:7ff:fe14:47ff%ue1 --> fe80::206:7ff:fe14:47ff%ue1
> 
> --- fe80::206:7ff:fe14:47ff%ue1 ping6 statistics ---
> 1 packets transmitted, 0 packets received, 100.0% packet loss
> Exit 2
> 
> Only the PCI and loopback interface responds to their own link local
> address.
> 
> I'm also puzzled about what I need to configure on an interface
> to get an link-local address.
> I've finally put ifconfig_ue0/1="UP" into rc.conf.

I can't even ping my own non unicast addresses:
ue0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 2a:44:14:0c:74:00
        inet6 fe80::2844:14ff:fe0c:7400%ue0 prefixlen 64 scopeid 0x3 
        inet6 2002:559f:e31:2::15 prefixlen 64 tentative 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ue1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 00:06:07:14:47:ff
        inet6 fe80::206:7ff:fe14:47ff%ue1 prefixlen 64 scopeid 0x4 
        inet6 2002:559f:e31:3::15 prefixlen 64 tentative 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
[92]cicely13# ping6 2002:559f:e31:3::15
PING6(56=40+8+8 bytes) 2002:559f:e31:1::15 --> 2002:559f:e31:3::15
^C
--- 2002:559f:e31:3::15 ping6 statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

[93]cicely13# ping6 2002:559f:e31:2::15
PING6(56=40+8+8 bytes) 2002:559f:e31:1::15 --> 2002:559f:e31:2::15
^C
--- 2002:559f:e31:2::15 ping6 statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

And why are those declared to be tentative?
I just configured them with ifconfig as I used to do.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100828222926.GF82417>