Hi all,

When I add an ip address to an interface in OpenBSD 5.6 it will create
two routes:

172.16/16 link#15 UC 0 0 - 4 vether99 172.16.25.1 fe:e1:ba:d1:50:44 UHLl 0 0 - 1 lo0

before it would only create:
172.16/16          link#15            UC 0        0     -     4 vether99

New behaviour since 5.6? Oke

My problem:

`ping6 fe80::200:24ff:fecd:7df8%pppoe0` with pf disabled is no problem.
ping6, with pf enabled and 'set skip on lo0' does not work very well:

--- fe80::200:24ff:fecd:7df8%pppoe0 ping6 statistics ---
58 packets transmitted, 3 packets received, 94.8% packet loss
round-trip min/avg/max/std-dev = 0.320/0.393/0.491/0.072 ms

pf enabled and 'set skip on lo0' NOT set; works perfectly fine.

A situation:

'set skip on lo0' is set. ping6 is running.
I remove 'set skip on lo0' and enable the change with pfctl:

16 bytes from fe80::200:24ff:fecd:7df8%pppoe0, icmp_seq=69 hlim=64 time=0.333 ms 16 bytes from fe80::200:24ff:fecd:7df8%pppoe0, icmp_seq=92 hlim=64 time=0.310 ms
ping6: sendmsg: No route to host
ping6: wrote fe80::200:24ff:fecd:7df8%pppoe0 16 chars, ret=-1
ping6: sendmsg: No route to host
ping6: wrote fe80::200:24ff:fecd:7df8%pppoe0 16 chars, ret=-1
ping6: sendmsg: No route to host
ping6: wrote fe80::200:24ff:fecd:7df8%pppoe0 16 chars, ret=-1
ping6: sendmsg: No route to host
ping6: wrote fe80::200:24ff:fecd:7df8%pppoe0 16 chars, ret=-1
16 bytes from fe80::200:24ff:fecd:7df8%pppoe0, icmp_seq=116 hlim=64 time=0.332 ms 16 bytes from fe80::200:24ff:fecd:7df8%pppoe0, icmp_seq=117 hlim=64 time=0.270 ms

The first two ping replies are the 3,2% that were working. After the
'No route to host' messages, ping starts responding normally.

I have seen no trouble with IPv4.

 Greets, Pieter

$ ifconfig pppoe0
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
        priority: 0
        dev: vlan6 state: session
        sid: 0x159 PADI retries: 0 PADR retries: 0 time: 00:11:49
        sppp: phase network authproto pap
        groups: pppoe egress
        status: active
inet6 fe80::200:24ff:fecd:7df8%pppoe0 -> prefixlen 64 scopeid 0xb
        inet 80.100.141.131 --> 194.109.5.175 netmask 0xffffffff
$
$ netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface default 194.109.5.175 UGS 3 3547 - 8 pppoe0 10.0/16 link#8 UC 0 0 - 4 vether0 10.0.0.1 fe:e1:ba:d0:81:54 UHLl 0 0 - 1 lo0 80.100.141.131 127.0.0.1 UHl 0 0 - 1 lo0 127/8 127.0.0.1 UGRS 0 0 32768 8 lo0 127.0.0.1 127.0.0.1 UH 1 0 32768 4 lo0 194.109.5.175 80.100.141.131 UH 0 0 - 4 pppoe0 224/4 127.0.0.1 URS 0 0 32768 8 lo0

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 ::1 ::1 UH 14 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 fe80::/10 ::1 UGRS 0 0 32768 8 lo0 fe80::%lo0/64 fe80::1%lo0 U 0 0 - 4 lo0 fe80::1%lo0 fe80::1%lo0 UHLl 0 0 - 1 lo0 fe80::%pppoe0/64 fe80::200:24ff:fecd:7df8%pppoe0 U 0 0 - 4 pppoe0 fe80::200:24ff:fecd:7df8%pppoe0 ::1 Hl 0 889 - 1 lo0 fec0::/10 ::1 UGRS 0 0 32768 8 lo0 ff01::/16 ::1 UGRS 0 0 32768 8 lo0 ff01::%lo0/32 fe80::1%lo0 UC 0 0 - 4 lo0 ff01::%pppoe0/32 fe80::200:24ff:fecd:7df8%pppoe0 UC 0 0 - 4 pppoe0 ff02::/16 ::1 UGRS 0 0 32768 8 lo0 ff02::%lo0/32 fe80::1%lo0 UC 0 0 - 4 lo0 ff02::%pppoe0/32 fe80::200:24ff:fecd:7df8%pppoe0 UC 0 0 - 4 pppoe0

Reply via email to