cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Duffy <>
Subject Re: [DEVCLOUD2] Internet access on VMs
Date Mon, 03 Mar 2014 10:49:12 GMT
Ended up solving this with IP forwarding and iptables.

Modified the devcloud.cfg to use as the gateway.

Enabled IPv4 Forwarding:
sed -i -e 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/g'

Setup appropriate iptables:
-A FORWARD -i eth0 -o xenbr0 -m state --state NEW,RELATED,ESTABLISHED -j
-A FORWARD -i xenbr0 -o eth0 -j ACCEPT


On 2 March 2014 23:33, Ian Duffy <> wrote:

> Hi All,
> I'm trying to setup devcloud using the documentation at
> and the puppet manifests at
> I have basebox of debian wheezy running xcp-xapi on virtualbox. I have
> xenbr0 bridged to the host only adapter so my management server(running on
> the host machine) can access the xcp-xapi. I have xenbr1 bridged to a NAT
> interface so the hypervisor has internet.
> Going off the marvin configuration devcloud.cfg my setup is as follows:
> management server:
> hypervisor:
> gateway:
> internal dns:
> My two system vms come up without issue and get a 192.168.56.X IP
> addresses for private/public, however neither of them have internet access.
> Their gateways are pointing to which is my host machine.
> Is there some trick I'm missing out on? Should my host machine be acting
> as a router for the VMs? Is there some way I can forward their traffic over
> the xenbr1 interface?
> In the past I was running on VMWare Fusion and I just enabled their NAT
> functionality on the private adapter which works wonderfully. However I
> want to try getting this working with vagrant.
> Thanks,
> Ian

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message