IPv6 gateway fe80::1 needs a ping to work

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

IPv6 gateway fe80::1 needs a ping to work

Thomas Bohl
Hello List,

my vServer hosting provider states the IPv6 default gateway as fe80::1.
To get IPv6 traffic flowing it's necessary to ping fe80::1 fist.

For now I help myself with the following line in crontab
@reboot sleep 10 && ping6 -c 10 fe80::1\%vio0 > /dev/null

It doesn't feel right though. Is there a better way?
ndp -s doesn't work because I'm unable to set set the R flag.


Apologies for the following information overload:

Freshly booted system:

# cat /etc/hostname.vio0
inet 5.45.103.6 255.255.252.0
!route add default 5.45.100.1

inet6 2a03:4000:6:f0::47/64
inet6 alias 2a03:4000:6:f0::47:e/64
!route add -inet6 default fe80::1%vio0


# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
         priority: 0
         groups: lo
         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
         inet6 ::1 prefixlen 128
         inet 127.0.0.1 netmask 0xff000000
vio0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         lladdr 52:54:cf:85:a9:c9
         priority: 0
         groups: egress
         media: Ethernet autoselect
         status: active
         inet 5.45.103.6 netmask 0xfffffc00 broadcast 5.45.103.255
         inet6 fe80::5054:cfff:fe85:a9c9%vio0 prefixlen 64 scopeid 0x1
         inet6 2a03:4000:6:f0::47 prefixlen 64
         inet6 2a03:4000:6:f0::47:e prefixlen 64
enc0: flags=0<>
         priority: 0
         groups: enc
         status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33144
         priority: 0
         groups: pflog


# ndp -na
Neighbor                        Linklayer Address  Netif Expire    S Flags
2a03:4000:6:f0::47              52:54:cf:85:a9:c9   vio0 permanent R l
2a03:4000:6:f0::47:e            52:54:cf:85:a9:c9   vio0 permanent R l
fe80::1%vio0                    (incomplete)        vio0 expired   N
fe80::5054:cfff:fe85:a9c9%vio0  52:54:cf:85:a9:c9   vio0 permanent R l


# route -n show -inet6
Routing tables

Internet6:
Destination                    Gateway           Flags  Refs  Use   Mtu
  Prio Iface
::/104                         ::1               UGRS      0    0 32768
     8 lo0
::/96                          ::1               UGRS      0    0 32768
     8 lo0
default                        fe80::1%vio0      UGS       0    0     -
     8 vio0
::1                            ::1               UHl      14    0 32768
     1 lo0
::1                            ::1               UH        0    0 32768
     4 lo0
::127.0.0.0/104                ::1               UGRS      0    0 32768
     8 lo0
::224.0.0.0/100                ::1               UGRS      0    0 32768
     8 lo0
::255.0.0.0/104                ::1               UGRS      0    0 32768
     8 lo0
::ffff:0.0.0.0/96              ::1               UGRS      0    0 32768
     8 lo0
2002::/24                      ::1               UGRS      0    0 32768
     8 lo0
2002:7f00::/24                 ::1               UGRS      0    0 32768
     8 lo0
2002:e000::/20                 ::1               UGRS      0    0 32768
     8 lo0
2002:ff00::/24                 ::1               UGRS      0    0 32768
     8 lo0
2a03:4000:6:f0::/64            link#1            UC        0    0     -
     4 vio0
2a03:4000:6:f0::47             52:54:cf:85:a9:c9 UHLl      0    0     -
     1 lo0
2a03:4000:6:f0::47:e           52:54:cf:85:a9:c9 UHLl      0    0     -
     1 lo0
fe80::/10                      ::1               UGRS      0    0 32768
     8 lo0
fe80::%vio0/64                 link#1            UC        1    0     -
     4 vio0
fe80::1%vio0                   link#1            UHLc      1    0     -
     4 vio0
fe80::5054:cfff:fe85:a9c9%vio0 52:54:cf:85:a9:c9 UHLl      0    0     -
     1 lo0
fe80::%lo0/64                  fe80::1%lo0       U         0    0 32768
     4 lo0
fe80::1%lo0                    fe80::1%lo0       UHl       0    0 32768
     1 lo0
fec0::/10                      ::1               UGRS      0    0 32768
     8 lo0
ff01::/16                      ::1               UGRS      0    0 32768
     8 lo0
ff01::%vio0/32                 link#1            UC        0    0     -
     4 vio0
ff01::%lo0/32                  ::1               UC        0    0 32768
     4 lo0
ff02::/16                      ::1               UGRS      0    0 32768
     8 lo0
ff02::%vio0/32                 link#1            UC        0    0     -
     4 vio0
ff02::%lo0/32                  ::1               UC        0    0 32768
     4 lo0


# ping6 -vc 4 heise.de
PING6(56=40+8+8 bytes) 2a03:4000:6:f0::47:e --> 2a02:2e0:3fe:1001:302::
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
64 bytes from 2a03:4000:6:f0::47:e: Destination Host Unreachable
Vr TC  Flow Plen Nxt Hlim
  6 00 00000 0010  3a   40
2a03:4000:6:f0::47:e->2a02:2e0:3fe:1001:302::
ICMP6: type = 128, code = 0

32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
64 bytes from 2a03:4000:6:f0::47:e: Destination Host Unreachable
Vr TC  Flow Plen Nxt Hlim
  6 00 00000 0010  3a   40
2a03:4000:6:f0::47:e->2a02:2e0:3fe:1001:302::
ICMP6: type = 128, code = 0


--- heise.de ping6 statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss


# ping6 -vc 4 fe80::1%vio0
PING6(56=40+8+8 bytes) fe80::5054:cfff:fe85:a9c9%vio0 --> fe80::1%vio0
32 bytes from fe80::1%vio0: Neighbor Advertisement
16 bytes from fe80::1%vio0, icmp_seq=0 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=2.091 ms
16 bytes from fe80::1%vio0, icmp_seq=1 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.859 ms
16 bytes from fe80::1%vio0, icmp_seq=2 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.874 ms
16 bytes from fe80::1%vio0, icmp_seq=3 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.831 ms

--- fe80::1%vio0 ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.831/1.164/2.091/0.536 ms


# ping6 -vc 4 heise.de
PING6(56=40+8+8 bytes) 2a03:4000:6:f0::47:e --> 2a02:2e0:3fe:1001:302::
32 bytes from fe80::5e5e:ab00:6603:66c0%vio0: Neighbor Solicitation
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=0 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=280.947 ms
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=1 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=4.858 ms
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=2 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=4.314 ms
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=3 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=4.328 ms

--- heise.de ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 4.314/73.612/280.947/119.705 ms


# ndp -na
Neighbor                        Linklayer Address  Netif Expire    S Flags
2a03:4000:6:f0::47              52:54:cf:85:a9:c9   vio0 permanent R l
2a03:4000:6:f0::47:e            52:54:cf:85:a9:c9   vio0 permanent R l
fe80::1%vio0                    00:00:5e:00:02:02   vio0 23h58m11s S R
fe80::5054:cfff:fe85:a9c9%vio0  52:54:cf:85:a9:c9   vio0 permanent R l
fe80::5e5e:ab00:6603:66c0%vio0  5c:5e:ab:03:66:c0   vio0 23h58m11s S R


# route -n show -inet6
Routing tables

Internet6:
Destination                    Gateway           Flags  Refs  Use   Mtu
  Prio Iface
::/104                         ::1               UGRS      0    0 32768
     8 lo0
::/96                          ::1               UGRS      0    0 32768
     8 lo0
default                        fe80::1%vio0      UGS       0   12     -
     8 vio0
::1                            ::1               UHl      14    0 32768
     1 lo0
::1                            ::1               UH        0    0 32768
     4 lo0
::127.0.0.0/104                ::1               UGRS      0    0 32768
     8 lo0
::224.0.0.0/100                ::1               UGRS      0    0 32768
     8 lo0
::255.0.0.0/104                ::1               UGRS      0    0 32768
     8 lo0
::ffff:0.0.0.0/96              ::1               UGRS      0    0 32768
     8 lo0
2002::/24                      ::1               UGRS      0    0 32768
     8 lo0
2002:7f00::/24                 ::1               UGRS      0    0 32768
     8 lo0
2002:e000::/20                 ::1               UGRS      0    0 32768
     8 lo0
2002:ff00::/24                 ::1               UGRS      0    0 32768
     8 lo0
2a03:4000:6:f0::/64            link#1            UC        0    0     -
     4 vio0
2a03:4000:6:f0::47             52:54:cf:85:a9:c9 UHLl      0    0     -
     1 lo0
2a03:4000:6:f0::47:e           52:54:cf:85:a9:c9 UHLl      0    0     -
     1 lo0
fe80::/10                      ::1               UGRS      0    0 32768
     8 lo0
fe80::%vio0/64                 link#1            UC        2    0     -
     4 vio0
fe80::1%vio0                   00:00:5e:00:02:02 UHLc      1    6     -
     4 vio0
fe80::5054:cfff:fe85:a9c9%vio0 52:54:cf:85:a9:c9 UHLl      0    0     -
     1 lo0
fe80::5e5e:ab00:6603:66c0%vio0 5c:5e:ab:03:66:c0 UHLc      0    2     -
     4 vio0
fe80::%lo0/64                  fe80::1%lo0       U         0    0 32768
     4 lo0
fe80::1%lo0                    fe80::1%lo0       UHl       0    0 32768
     1 lo0
fec0::/10                      ::1               UGRS      0    0 32768
     8 lo0
ff01::/16                      ::1               UGRS      0    0 32768
     8 lo0
ff01::%vio0/32                 link#1            UC        0    0     -
     4 vio0
ff01::%lo0/32                  ::1               UC        0    0 32768
     4 lo0
ff02::/16                      ::1               UGRS      0    0 32768
     8 lo0
ff02::%vio0/32                 link#1            UC        1    0     -
     4 vio0
ff02::1:ff00:1%vio0            link#1            UHLc      0    0     -
     4 vio0
ff02::%lo0/32                  ::1               UC        0    0 32768
     4 lo0


# dmesg
OpenBSD 5.7-beta (GENERIC) #770: Wed Jan 28 09:37:39 MST 2015
     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1056956416 (1007MB)
avail mem = 1025036288 (977MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfd9c0 (10 entries)
bios0: vendor Bochs version "Bochs" date 01/01/2007
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC HPET 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: Intel(R) Xeon(R) CPU E5645 @ 2.40GHz, 2394.24 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,HV,NXE,PAGE1GB,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 1 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpihpet0 at acpi0: 100000000 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
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, 1.1.> ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 1 int 11
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 1
int 10
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:
Virtio Network Device
vio0 at virtio0: address 52:54:cf:85:a9:c9
virtio0: apic 1 int 11
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Storage" rev 0x00:
Virtio Block Device
vioblk0 at virtio1
scsibus2 at vioblk0: 2 targets
sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd0: 59392MB, 512 bytes/sector, 121634816 sectors
virtio1: apic 1 int 11
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Memory" rev 0x00:
Virtio Memory Balloon Device
viomb0 at virtio2
virtio2: apic 1 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
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for 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 1.1.2 QEMU USB
Tablet" rev 1.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 (f804d3b0cbb67257.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout

Thanks

Reply | Threaded
Open this post in threaded view
|

Re: IPv6 gateway fe80::1 needs a ping to work

Martin Pieuchot-2
Hello Thomas

On 29/01/15(Thu) 02:50, Thomas Bohl wrote:

> Hello List,
>
> my vServer hosting provider states the IPv6 default gateway as fe80::1.
> To get IPv6 traffic flowing it's necessary to ping fe80::1 fist.
>
> For now I help myself with the following line in crontab
> @reboot sleep 10 && ping6 -c 10 fe80::1\%vio0 > /dev/null
> [...]
> # ping6 -vc 4 heise.de
> PING6(56=40+8+8 bytes) 2a03:4000:6:f0::47:e --> 2a02:2e0:3fe:1001:302::
> 32 bytes from 2a03:4000:6::1: Neighbor Advertisement

Could you tcpdump ICMP6 packets on vio0 at this moment?  I wonder if a
wrong target address can be used to craft NS messages for your gateway.

Martin

Reply | Threaded
Open this post in threaded view
|

Re: IPv6 gateway fe80::1 needs a ping to work

Thomas Bohl
Am 29.01.2015 um 11:44 schrieb Martin Pieuchot:
>> # ping6 -vc 4 heise.de
>> PING6(56=40+8+8 bytes) 2a03:4000:6:f0::47:e --> 2a02:2e0:3fe:1001:302::
>> 32 bytes from 2a03:4000:6::1: Neighbor Advertisement
>
> Could you tcpdump ICMP6 packets on vio0 at this moment?  I wonder if a
> wrong target address can be used to craft NS messages for your gateway.

ping and tcpdump worked in parallel of course:

# ping6 -vc 4 heise.de
PING6(56=40+8+8 bytes) 2a03:4000:6:f0::47:e --> 2a02:2e0:3fe:1001:302::
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
64 bytes from 2a03:4000:6:f0::47:e: Destination Host Unreachable
Vr TC  Flow Plen Nxt Hlim
  6 00 00000 0010  3a   40
2a03:4000:6:f0::47:e->2a02:2e0:3fe:1001:302::
ICMP6: type = 128, code = 0

32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
32 bytes from 2a03:4000:6::1: Neighbor Advertisement
64 bytes from 2a03:4000:6:f0::47:e: Destination Host Unreachable
Vr TC  Flow Plen Nxt Hlim
  6 00 00000 0010  3a   40
2a03:4000:6:f0::47:e->2a02:2e0:3fe:1001:302::
ICMP6: type = 128, code = 0


--- heise.de ping6 statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss

# tcpdump -ni vio0 icmp6
tcpdump: listening on vio0, link-type EN10MB
23:37:43.456378 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:43.477928 2a03:4000:6:f0::47:e > ff02::1:ff00:1: icmp6: neighbor
sol: who has fe80::1
23:37:43.479515 2a03:4000:6::1 > 2a03:4000:6:f0::47:e: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:37:43.676146 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:44.456499 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:44.473219 2a03:4000:6:f0::47:e > ff02::1:ff00:1: icmp6: neighbor
sol: who has fe80::1
23:37:44.474543 2a03:4000:6::1 > 2a03:4000:6:f0::47:e: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:37:45.456340 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:45.473148 2a03:4000:6:f0::47:e > ff02::1:ff00:1: icmp6: neighbor
sol: who has fe80::1
23:37:45.474440 2a03:4000:6::1 > 2a03:4000:6:f0::47:e: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:37:45.675803 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:46.483229 2a03:4000:6:f0::47:e > ff02::1:ff00:1: icmp6: neighbor
sol: who has fe80::1
23:37:46.484412 2a03:4000:6::1 > 2a03:4000:6:f0::47:e: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:37:46.675358 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:46.941973 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:47.456517 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:47.483163 2a03:4000:6:f0::47:e > ff02::1:ff00:1: icmp6: neighbor
sol: who has fe80::1
23:37:47.484248 2a03:4000:6::1 > 2a03:4000:6:f0::47:e: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:37:47.566706 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:47.675297 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:47.972090 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
23:37:48.457538 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:48.457560 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:48.483112 2a03:4000:6:f0::47:e > ff02::1:ff00:1: icmp6: neighbor
sol: who has fe80::1
23:37:48.512246 2a03:4000:6::1 > 2a03:4000:6:f0::47:e: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:37:48.974181 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
23:37:49.456515 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:49.975695 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
23:37:50.456432 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:50.879005 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:51.504199 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:51.875435 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:52.144556 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:52.456443 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:52.875438 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:52.956538 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:53.456635 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:53.956680 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:37:53.983636 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
23:37:54.985777 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
23:37:55.396175 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:55.956345 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:55.987476 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
23:37:56.035341 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:56.956318 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:57.031336 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:37:57.301098 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
^C
298 packets received by filter
0 packets dropped by kernel



# ping6 -vc 4 fe80::1%vio0
PING6(56=40+8+8 bytes) fe80::5054:cfff:fe85:a9c9%vio0 --> fe80::1%vio0
32 bytes from fe80::1%vio0: Neighbor Advertisement
16 bytes from fe80::1%vio0, icmp_seq=0 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=2.586 ms
16 bytes from fe80::1%vio0, icmp_seq=1 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.864 ms
16 bytes from fe80::1%vio0, icmp_seq=2 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.740 ms
32 bytes from fe80::b881:f46a:7c6a:f7eb%vio0: Neighbor Solicitation
32 bytes from fe80::2ae:7bff:fe00:ae7b%vio0: Neighbor Solicitation
16 bytes from fe80::1%vio0, icmp_seq=3 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=4.660 ms

--- fe80::1%vio0 ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.740/2.212/4.660/1.590 ms

# tcpdump -ni vio0 icmp6
tcpdump: listening on vio0, link-type EN10MB
23:41:15.384871 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
23:41:15.385641 fe80::5054:cfff:fe85:a9c9 > ff02::1:ff00:1: icmp6:
neighbor sol: who has fe80::1
23:41:15.386885 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: neighbor
adv: tgt is fe80::1 [class 0xc0]
23:41:15.386992 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:41:15.388105 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:41:15.456514 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:41:15.457068 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:41:15.558096 fe80::5054:61ff:fe60:174 > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:41:16.386950 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:41:16.387242 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
23:41:16.387673 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:41:16.942200 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:41:16.943672 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:41:17.386917 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:41:17.387513 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:41:17.389141 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
23:41:17.456597 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:41:17.503525 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff60:174: icmp6:
neighbor sol: who has fe80::5054:61ff:fe60:174
23:41:17.939445 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:41:18.067153 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff85:a9c9: icmp6:
neighbor sol: who has fe80::5054:cfff:fe85:a9c9
23:41:18.067267 fe80::5054:cfff:fe85:a9c9 > fe80::b881:f46a:7c6a:f7eb:
icmp6: neighbor adv: tgt is fe80::5054:cfff:fe85:a9c9
23:41:18.068122 fe80::2ae:7bff:fe00:ae7b > fe80::5054:cfff:fe85:a9c9:
icmp6: neighbor sol: who has fe80::5054:cfff:fe85:a9c9
23:41:18.386894 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:41:18.391411 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:41:18.456591 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
^C
153 packets received by filter
0 packets dropped by kernel



# ping6 -vc 4 fe80::1%vio0
PING6(56=40+8+8 bytes) fe80::5054:cfff:fe85:a9c9%vio0 --> fe80::1%vio0
16 bytes from fe80::1%vio0, icmp_seq=0 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.876 ms
16 bytes from fe80::1%vio0, icmp_seq=1 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.939 ms
16 bytes from fe80::1%vio0, icmp_seq=2 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.890 ms
16 bytes from fe80::1%vio0, icmp_seq=3 hlim=64
dst=fe80::5054:cfff:fe85:a9c9%vio0 time=0.742 ms

--- fe80::1%vio0 ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.742/0.862/0.939/0.073 ms

# tcpdump -ni vio0 icmp6
tcpdump: listening on vio0, link-type EN10MB
23:42:15.484472 2a03:4000:6:52::2 > ff02::1:ff2f:5f: icmp6: neighbor
sol: who has fe80::5054:e2ff:fe2f:5f
23:42:15.504518 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
23:42:15.938615 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:42:15.939343 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:42:16.223427 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:42:16.347403 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:42:16.480986 2a03:4000:6:52::2 > ff02::1:ff2f:5f: icmp6: neighbor
sol: who has fe80::5054:e2ff:fe2f:5f
23:42:16.506402 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
23:42:16.693471 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:42:16.945284 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:42:16.946004 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:42:16.956585 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:42:17.456570 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:42:17.481073 2a03:4000:6:52::2 > ff02::1:ff2f:5f: icmp6: neighbor
sol: who has fe80::5054:e2ff:fe2f:5f
23:42:17.508472 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
23:42:17.935108 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:42:17.935844 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
23:42:17.956372 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
23:42:18.456610 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
23:42:18.935094 fe80::5054:cfff:fe85:a9c9 > fe80::1: icmp6: echo request
23:42:18.935696 fe80::1 > fe80::5054:cfff:fe85:a9c9: icmp6: echo reply
^C
214 packets received by filter
0 packets dropped by kernel

hth

Reply | Threaded
Open this post in threaded view
|

Re: IPv6 gateway fe80::1 needs a ping to work

Thomas Bohl
...

# ping6 -vc 4 heise.de
PING6(56=40+8+8 bytes) 2a03:4000:6:f0::47:e --> 2a02:2e0:3fe:1001:302::
32 bytes from fe80::5e5e:ab00:6603:66c0%vio0: Neighbor Solicitation
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=0 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=369.406 ms
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=1 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=4.321 ms
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=2 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=4.455 ms
16 bytes from 2a02:2e0:3fe:1001:302::, icmp_seq=3 hlim=60
dst=2a03:4000:6:f0::47:e%1 time=4.319 ms

--- heise.de ping6 statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 4.319/95.625/369.406/158.067 ms

# tcpdump -ni vio0 icmp6
tcpdump: listening on vio0, link-type EN10MB
00:00:36.694713 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff1d:dfba: icmp6:
neighbor sol: who has 2a03:4000:6:5:5054:beff:fe1d:dfba [class 0xc0]
00:00:36.694734 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
00:00:36.799447 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:36.899742 2a03:4000:6:5:5054:68ff:feb6:4061 > ff02::1:ff2f:5f:
icmp6: neighbor sol: who has fe80::5054:e2ff:fe2f:5f
00:00:37.067329 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:37.067806 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
00:00:37.333587 2a03:4000:6:f0::47:e > 2a02:2e0:3fe:1001:302::: icmp6:
echo request
00:00:37.694905 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff00:1: icmp6:
neighbor sol: who has 2a03:4000:6:28::1 [class 0xc0]
00:00:37.695671 fe80::5e5e:ab00:6603:66c0 > ff02::1:ff47:e: icmp6:
neighbor sol: who has 2a03:4000:6:f0::47:e [class 0xc0]
00:00:37.695745 fe80::5054:cfff:fe85:a9c9 > fe80::5e5e:ab00:6603:66c0:
icmp6: neighbor adv: tgt is 2a03:4000:6:f0::47:e
00:00:37.702868 2a02:2e0:3fe:1001:302:: > 2a03:4000:6:f0::47:e: icmp6:
echo reply
00:00:37.800302 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:37.956826 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:37.957192 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
00:00:38.342186 2a03:4000:6:f0::47:e > 2a02:2e0:3fe:1001:302::: icmp6:
echo request
00:00:38.346271 2a02:2e0:3fe:1001:302:: > 2a03:4000:6:f0::47:e: icmp6:
echo reply
00:00:38.956633 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:38.957097 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff2f:5f: icmp6:
neighbor sol: who has fe80::5054:e2ff:fe2f:5f
00:00:39.331944 2a03:4000:6:f0::47:e > 2a02:2e0:3fe:1001:302::: icmp6:
echo request
00:00:39.336217 2a02:2e0:3fe:1001:302:: > 2a03:4000:6:f0::47:e: icmp6:
echo reply
00:00:40.331943 2a03:4000:6:f0::47:e > 2a02:2e0:3fe:1001:302::: icmp6:
echo request
00:00:40.332243 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:40.336105 2a02:2e0:3fe:1001:302:: > 2a03:4000:6:f0::47:e: icmp6:
echo reply
00:00:40.956649 fe80::b881:f46a:7c6a:f7eb > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
00:00:40.973093 fe80::5054:9ff:fecd:f337 > ff02::1:ff00:ae7b: icmp6:
neighbor sol: who has fe80::2ae:7bff:fe00:ae7b
^C
120 packets received by filter
0 packets dropped by kernel