Here is mpi's proposed fix:
http://marc.info/?l=openbsd-tech&m=148162020419474&w=2

On Tue, Dec 13, 2016 at 1:36 PM, Matthew Dempsky <matt...@dempsky.org> wrote:
> [+mpi, jsing]
>
> This is a known issue. Local /32 routes don't work with the new
> ART-based routing table.
>
> mpi@ is working on a fix. In the mean time, you may be able to
> recompile your kernel without "option ART".
>
> On Tue, Dec 13, 2016 at 9:09 AM, Jyri Hovila [iki.fi]
> <jyri.hov...@iki.fi> wrote:
>> Dear everyone,
>>
>> I'm working with an interesting little pilot that involves running an
>> OpenBSD virtual host in KVM environment. The VPS provider in question
>> has no (serious) prior experience with OpenBSD and so there are some
>> rather basic level issues that need solving.
>>
>> I've been able to work out most of the mysteries, but there's one
>> routing related issue I haven't been able to figure out myself.
>>
>> Basically, the problem is that the default gateway (5.166.16.254) is in
>> a different subnet than the host IP address (193.34.119.15), making it
>> unreachable.
>>
>> Here's the routing table as it exists after reboot. The address comes
>> from DHCP server, and as you can see, there's an entry that should make
>> the default gateway reachable (but it's not):
>>
>> Destination      Gateway           Flags   Prio ... Iface
>> 224/4            127.0.0.1         URS     8        lo0
>> 5.166.16.254/32  193.34.119.15     UCS     8        em0
>> 127/8            128.0.0.1         UGRS    8        lo0
>> 127.0.0.1        127.0.0.1         UHhl    1        lo0
>> 193.34.119.15    02:00:00:2c:80:a9 UHLl    1        em0
>> 193.34.119.15/32 193.34.119.15     UCn     4        em0
>>
>> When I try to ping the gateway:
>>
>> ping: sendmsg: Invalid argument
>>
>> I'm rather sure this is basic stuff that I should actually already
>> know, but I humbly admit I'm at loss here. Been doing extensive
>> googling and still haven't been able to figure this one out.
>>
>> All assistance is much appreciated!
>>
>> Yours,
>>
>> Jyri

Reply via email to