Re: network address in vm by kvm - default gw

2016-11-30 Thread Aaron Mason
man hostname.if

On Sun, Nov 27, 2016 at 5:22 PM, Max Power  wrote:
> Hi guys,
> Forgive me, but I am not very expert of OpenBSD.
> Guide, about Virtual Host, show examples for all
> Operating System but not for OpenBSD. Stupid OVH!
> This is the FreeBSD 8.0 way:
>
> Contents of the file : /etc/rc.conf
> ifconfig_em0="inet IP.FAIL.OVER netmask 255.255.255.255 broadcast
> IP.FAIL.OVER"
> static_routes="net1 net2"
> route_net1="-net GATEWAY_VM/32 IP.FAIL.OVER"
> route_net2="default GATEWAY_VM"
>
> I can not understand how/where to set the last 2 line 'route_netX'
> Please, can someone show me how to do in OpenBSD 6.0 adm64...?
>
> Thanks very much for reply.
>



-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



Re: network address in vm by kvm - default gw

2016-11-28 Thread Chris Cappuccio
Max Power [open...@cpnetserver.net] wrote:
> Hi guys,
> Forgive me, but I am not very expert of OpenBSD.
> Guide, about Virtual Host, show examples for all
> Operating System but not for OpenBSD. Stupid OVH!
> This is the FreeBSD 8.0 way:
> 
> Contents of the file : /etc/rc.conf
> ifconfig_em0="inet IP.FAIL.OVER netmask 255.255.255.255 broadcast
> IP.FAIL.OVER"
> static_routes="net1 net2"
> route_net1="-net GATEWAY_VM/32 IP.FAIL.OVER"
> route_net2="default GATEWAY_VM"
> 
> I can not understand how/where to set the last 2 line 'route_netX'
> Please, can someone show me how to do in OpenBSD 6.0 adm64...?
> 

route add -net GATEWAY_VM/32 IP.FAIL.OVER
route add default GATEWAY_VM



network address in vm by kvm - default gw

2016-11-26 Thread Max Power
Hi guys,
Forgive me, but I am not very expert of OpenBSD.
Guide, about Virtual Host, show examples for all
Operating System but not for OpenBSD. Stupid OVH!
This is the FreeBSD 8.0 way:

Contents of the file : /etc/rc.conf
ifconfig_em0="inet IP.FAIL.OVER netmask 255.255.255.255 broadcast
IP.FAIL.OVER"
static_routes="net1 net2"
route_net1="-net GATEWAY_VM/32 IP.FAIL.OVER"
route_net2="default GATEWAY_VM"

I can not understand how/where to set the last 2 line 'route_netX'
Please, can someone show me how to do in OpenBSD 6.0 adm64...?

Thanks very much for reply.