OVH Community, your new community space.

FreeBSD/proxmox routing


darkfyre
12-07-2010, 23:10
Quote Originally Posted by maksis
OVH's guide:

/etc/rc.conf

Code:
ifconfig_em0="inet IP.FAIL.OVER netmask 255.255.255.255 broadcast IP.FAIL.OVER"
static_routes="net1 net2"
route_net1="-net HOST.IP.ADDRESS.254/32 IP.FAIL.OVER"
route_net2="default HOST.IP.ADDRESS.254"
/etc/resolv.conf

Code:
nameserver 213.186.33.99
Thank you for this info - however within seconds of making this routing change - i got the dreaded email..

Hello,

We have detected that your server ns27558.ovh.net unnecessarily sending
a large number of requests over the network via its IP failover 87.98.254.193
This is due to a misconfiguration.

We ask you kindly to reconfigure the IP failover
87.98.254.193 as soon as possible.

You can use the following guide to help you with the reconfiguration:

maksis
12-07-2010, 20:45
OVH's guide:

/etc/rc.conf

Code:
ifconfig_em0="inet IP.FAIL.OVER netmask 255.255.255.255 broadcast IP.FAIL.OVER"
static_routes="net1 net2"
route_net1="-net HOST.IP.ADDRESS.254/32 IP.FAIL.OVER"
route_net2="default HOST.IP.ADDRESS.254"
/etc/resolv.conf

Code:
nameserver 213.186.33.99

darkfyre
12-07-2010, 19:33
Hi

The machine I do the ping from shows "request timed out" - the VM shows:

18:24:21.987781 IP 80.192.21.190 > hh.nullroutes.com: ICMP echo request, id 1, seq 5, length 40

One interesting thing,

When I tried the following setup on the VM all worked fine.. I could connect etc

IP - Failover
Gateway - Failover
Subnet - 255.255.255.0

Would it be safe to use this configuration ?

marks
12-07-2010, 11:04
could you run something to check if the configuration of your VM is correct?

From another machine that's not the host, ping your VM:

# ping ip_failover

From the VM, run the following:

# tcpdump host

Post back the results.

darkfyre
12-07-2010, 07:17
Hi all,

Im after a little guidance as I just cant get FreeBSD to work using proxmox.

Ive basically installed proxmox from the OVH manager and created a new VM with FreeBSD 8.0 installed.

On the VM, ive set the following:
IP - Failover
Gateway - DedicatedIP.254
Subnet - 255.255.255.255

Ive added a virtual mac under my failover and added it to the proxmox VM.

With this setup the VM is not able to ping out non can I ping it from the host or any external machine.

Does anyone know if there is anything special I need to do to get FreeBSD to work with proxmox ?

Perhaps I need to make some changes to the host machine it's self?

Any tips or pointers would be appreciated