Hi bugs@,
I just upgraded my mailserver to today's snapshot and noticed a
weird "situation" with IPv6 link local traffic: I get a "No route
to host" for all operations such as ping6:
$ ping6 fe80::1%lo0
PING6 fe80::1%lo0 (fe80::1%lo0): 24 data bytes
ping6: sendmsg: No route to host
ping6: wrote fe80::1%lo0 32 chars, ret=-1
^C--- fe80::1%lo0 ping6 statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
On my external interface, the same problem exists:
$ ping6 ff02::2%vio0
PING6 ff02::2%vio0 (ff02::2%vio0): 24 data bytes
ping6: sendmsg: No route to host
ping6: wrote ff02::2%vio0 32 chars, ret=-1
^C--- ff02::2%vio0 ping6 statistics ---
1 packets transmitted, 0 packets received, 100.0% packet loss
SLAAC seems to be working though:
$ ifconfig vio0
vio0: flags=208843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6>
mtu 1500
lladdr 00:16:3c:6d:5f:73
priority: 0
groups: egress
media: Ethernet autoselect
status: active
inet 94.242.59.125 netmask 0xffffff00 broadcast 94.242.59.255
inet6 fe80::216:3cff:fe6d:5f73%vio0 prefixlen 64 scopeid 0x1
inet6 2a00:1838:20:1::87ea:d64d prefixlen 64
inet6 2a00:1838:20:1:216:3cff:fe6d:5f73 prefixlen 64 autoconf
pltime 604790 vltime 2591990
inet6 2a00:1838:20:1:c056:832a:bb4:58b4 prefixlen 64 autoconf
autoconfprivacy pltime 84681 vltime 603287
These are all with PF disabled. When tcpdump'ing vio0, i can see incoming NDP
traffic:
$ doas tcpdump -ni vio0 ip6
tcpdump: listening on vio0, link-type EN10MB
22:05:31.144745 fe80::224:38ff:fe2e:7b00 > ff02::1:ff34:d019: icmp6:
neighbor sol: who has 2a00:1838:20:1:258d:3946:2734:d019 [class 0xc0]
22:05:31.244449 fe80::224:38ff:fe2e:7b00 > ff02::1:ff95:c051: icmp6:
neighbor sol: who has 2a00:1838:20:1:c49d:3016:2e95:c051 [class 0xc0]
22:05:31.286643 fe80::224:38ff:fe2e:7b00 > ff02::1:ffea:d64d: icmp6:
neighbor sol: who has 2a00:1838:20:1::87ea:d64d [class 0xc0]
I've attached a full dmesg, the output of `route -n show -inet6`,
`ifconfig` and `sysctl net.inet6`
What could be going on here? Is there some change I've missed?
--
Gregor
OpenBSD 5.8-current (GENERIC) #1544: Thu Nov 26 00:17:41 MST 2015
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1056952320 (1007MB)
avail mem = 1020907520 (973MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x3ffffec0 (10 entries)
bios0: vendor Seabios version "0.5.1" date 01/01/2007
bios0: Red Hat KVM
acpi0 at bios0: rev 0
acpi0: sleep states S5
acpi0: tables DSDT FACP SSDT APIC SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version (cpu64-rhel6), 2667.10 MHz
cpu0:
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,HV,NXE,LONG,LAHF
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
pvbus0 at mainbus0: KVM
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 0.12> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 0
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
iic0: addr 0x18 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x29 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x2b 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x4c 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x4e 00=00 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 words
00=0000 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 00:16:3c:6d:5f:73
virtio0: apic 0 int 11
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio1
scsibus2 at vioblk0: 2 targets
sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd0: 61440MB, 512 bytes/sector, 125829120 sectors
virtio1: apic 0 int 11
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Memory" rev 0x00
viomb0 at virtio2
virtio2: apic 0 int 10
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
nvram: invalid checksum
uhidev0 at uhub0 port 1 configuration 1 interface 0 "QEMU 0.12.1 QEMU USB
Tablet" rev 2.00/0.00 addr 2
uhidev0: iclass 3/0
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (8b47816f64bf443f.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout
$ route -n show -inet6
Routing tables
Internet6:
Destination Gateway Flags Refs
Use Mtu Prio Iface
default fe80::224:38ff:fe2e:7b00%vio0 UG 0
2 - 56 vio0
::1 ::1 UHl 0
4 32768 1 lo0
2a00:1838:20:1::/64 2a00:1838:20:1::87ea:d64d UC 0
30 - 4 vio0
2a00:1838:20:1::87ea:d64d 00:16:3c:6d:5f:73 UHLl 0
43 - 1 vio0
2a00:1838:20:1:216:3cff:fe6d:5f73 00:16:3c:6d:5f:73 UHLl 0
1 - 1 vio0
2a00:1838:20:1:c056:832a:bb4:58b4 00:16:3c:6d:5f:73 UHLl 0
0 - 1 vio0
fe80::%vio0/64 fe80::216:3cff:fe6d:5f73%vio0 UC 1
4 - 4 vio0
fe80::216:3cff:fe6d:5f73%vio0 00:16:3c:6d:5f:73 UHLl 0
0 - 1 vio0
fe80::224:38ff:fe2e:7b00%vio0 00:24:38:2e:7b:00 UHLc 1
6696 - 4 vio0
fe80::1%lo0 fe80::1%lo0 UHl 0
0 32768 1 lo0
ff01::%vio0/32 fe80::216:3cff:fe6d:5f73%vio0 UC 0
3 - 4 vio0
ff01::%lo0/32 ::1 UC 0
1 32768 4 lo0
ff02::%vio0/32 fe80::216:3cff:fe6d:5f73%vio0 UC 0
3 - 4 vio0
ff02::%lo0/32 ::1 UC 0
1 32768 4 lo0
$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
vio0: flags=208843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu 1500
lladdr 00:16:3c:6d:5f:73
priority: 0
groups: egress
media: Ethernet autoselect
status: active
inet 94.242.59.125 netmask 0xffffff00 broadcast 94.242.59.255
inet6 fe80::216:3cff:fe6d:5f73%vio0 prefixlen 64 scopeid 0x1
inet6 2a00:1838:20:1::87ea:d64d prefixlen 64
inet6 2a00:1838:20:1:216:3cff:fe6d:5f73 prefixlen 64 autoconf pltime
604600 vltime 2591800
inet6 2a00:1838:20:1:c056:832a:bb4:58b4 prefixlen 64 autoconf
autoconfprivacy pltime 84447 vltime 603053
enc0: flags=0<>
priority: 0
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
priority: 0
groups: pflog
$ sysctl net.inet6
net.inet6.ip6.forwarding=1
net.inet6.ip6.redirect=1
net.inet6.ip6.hlim=64
net.inet6.ip6.mrtproto=103
net.inet6.ip6.maxfragpackets=200
net.inet6.ip6.log_interval=5
net.inet6.ip6.hdrnestlimit=10
net.inet6.ip6.dad_count=1
net.inet6.ip6.auto_flowlabel=1
net.inet6.ip6.defmcasthlim=1
net.inet6.ip6.use_deprecated=1
net.inet6.ip6.rr_prune=5
net.inet6.ip6.v6only=1
net.inet6.ip6.maxfrags=200
net.inet6.ip6.mforwarding=0
net.inet6.ip6.multipath=0
net.inet6.ip6.multicast_mtudisc=0
net.inet6.ip6.neighborgcthresh=2048
net.inet6.ip6.maxifprefixes=16
net.inet6.ip6.maxifdefrouters=16
net.inet6.ip6.maxdynroutes=4096
net.inet6.ip6.dad_pending=0
net.inet6.ip6.mtudisctimeout=600
net.inet6.ip6.ifq.len=0
net.inet6.ip6.ifq.maxlen=256
net.inet6.ip6.ifq.drops=0
net.inet6.icmp6.redirtimeout=600
net.inet6.icmp6.nd6_prune=1
net.inet6.icmp6.nd6_delay=5
net.inet6.icmp6.nd6_umaxtries=3
net.inet6.icmp6.nd6_mmaxtries=3
net.inet6.icmp6.errppslimit=100
net.inet6.icmp6.nd6_maxnudhint=0
net.inet6.icmp6.mtudisc_hiwat=1280
net.inet6.icmp6.mtudisc_lowat=256
net.inet6.icmp6.nd6_debug=0
net.inet6.divert.recvspace=65636
net.inet6.divert.sendspace=65636