Re: VPS default gateway in a different subnet than host

2017-01-06 Thread Jyri Hovila [iki.fi]
A brief follow-up. >From Zion VPS: "We have already started giving access to OpenBSD CDROM image to all clients in VPS control panel. We will prepare a template (click and ready) in the upcoming weeks." Thanks, Matthew, Martin and everyone! Yours, Jyri

Re: VPS default gateway in a different subnet than host

2017-01-04 Thread Jyri Hovila [iki.fi]
Hi! A brief, positive update. > Here is mpi's proposed fix: > http://marc.info/?l=openbsd-tech&m=148162020419474&w=2 The fixed was included in CURRENT on December the 17th, and I can report that OpenBSD now happily runs under the "default gateway in a different subnet" scenario used at OVH Hosti

Re: VPS default gateway in a different subnet than host

2016-12-14 Thread Ax0n
I'm guessing the default route a.k.a. gateway already exists, and you're trying to add another, duplicate route. What's the output of the following command before and after you do the route add? netstat -rn -finet On Tue, Dec 13, 2016 at 2:51 PM, Jyri Hovila [iki.fi] wrote: > Hi, > > a brief fo

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Dag, I'm well familiar with the typical configuration, in which the gateway is in the same sub net. However, this particular setup is actually quite common in the VPS world. At OVH Hosting this configuration is de facto standard. It works by adding a static route to the gateway over the host's IP

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Matthew Dempsky
Do you have console access to the VM? You may be able to use: route delete 5.166.16.254/32 route add 5.166.16.252/30 -gateway -iface 193.34.119.15 as a workaround so you can download the kernel sources. On Tue, Dec 13, 2016 at 3:10 PM, Jyri Hovila [iki.fi] wrote: > Hi! > > The thing is,

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Hi! The thing is, I can't recompile the kernel on the VPS I'm working on since I have no means to transfer the sources to the host. Chicken / egg... > Here is mpi's proposed fix: > http://marc.info/?l=openbsd-tech&m=148162020419474&w=2 I'll be happy to test this if it makes it's way to CURRENT.

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Dag Richards
With tcp, the default is pretty much always in the same subnet as at least one interface of any given host. One can do things with VPN, and gif's and gre's etc which can work around some oddball situations. however. if there is a local router that you use to get to your 'default' gateway, I w

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Hi! > This is a known issue. Local /32 routes don't work with the new > ART-based routing table. Thank you so much for this info! You just saved me from a *lot* of headaches! > mpi@ is working on a fix. In the mean time, you may be able to > recompile your kernel without "option ART". Yeah, I'm

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Matthew Dempsky
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 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,

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Matthew Dempsky
[+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] wrote: > Dear everyone, > > I'm

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Hi, a brief follow-up. With Linux, default gateway that resides in different subnet than the host, all that has to be done is 1) adding a static route to the default gateway and then 2) adding the default gateway to routing table. With my OpenBSD test case, I already have a static route to the d

VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
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 m