We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

vRack 1.5 IP Block Configuration - Debian

06-12-2013, 17:03
Ok got it working with some information from the vRack ML.

How to route a block in your vrack ?

1) go to the ovh api url and login :

2) use the url below to get blocks that can be routed in your vrack (they'll appear in the 'ip' part) :
GET /vrack/{serviceName}/allowedService/

3) use th url below to put a block in your vrack. This will unroute the block from it's current location :
POST /vrack/{serviceName}/ip/

4) now that your block is in your vrack, announce on the area you want :
POST /vrack/{serviceName}/ip/{ip}/announceInZone

5) Once the task is done, you can check your block's gateway (basically it's the last ip of your block - 1) :
GET /vrack/{serviceName}/ip/{ip}

6) Now that your block is announced, affect one of it's ip to a pcc VM or a dedicated server on it's vrack interface :
For example, I want to use ip from block on a server whose vrack interface is eth1 :

ifconfig eth1 netmask

At this point, you should be able to ping your gateway which is, then

ip route add default via dev eth1 table 120

ip rule add from table 120

06-12-2013, 12:18
Was I meant to have received a vRack email upon order containing more details?
Because I didn't receive anything at all.

06-12-2013, 11:22

Your server should have two network cards and the eth1 is the vLan connection.

05-12-2013, 19:46

Just wondering if anyone else has been setting up vRack 1.5 and the IP blocks.
I'm just looking for some info on how to do this?

Trying to follow the vRack 1.0 information but there is a lack in certain info such as the vlan id?