Problem with link-local addresses on USB interfaces
Bernd Walter
ticso at cicely7.cicely.de
Sat Aug 28 22:08:59 UTC 2010
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.
--
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the freebsd-net
mailing list