Trouble installing ubuntu enterprise cloud

Asked by James on 2010-07-18

I am having trouble installing the ubuntu enterprise cloud.

I have been following the install guide here: http://bit.ly/b2n9FY

I have three machines connected using the following topology: http://bit.ly/bZd4Gx.

the 1st server has two ethernet connections (eth0 and eth1). eth0 is connected to the public switch which has a connection to the internet. eth1 is connected to the private switch.

The 2nd server has one ethernet connection (eth0) which is connected to the private switch.

The client machine is connected to the public switch via its (eth0 connection)

I have managed to install the software onto the 1st server (Cloud controller) but I cannot get the second server to access the internet through the 1st server. The installation guide I have been using instructs me to assign a static Ip address with the IP of Server1 as the gateway. which they say should allow it to connect to the internet through server 1. Unfortunately this is not happening.

The network interface information for both servers is listed here.

Server 1:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.10.12
    netmask 255.255.255.0
    network 192.168.10.0
    broadcast 192.168.10.255
    gateway 192.168.10.1

auto eth1
iface eth1 inet static
    address 192.168.20.1
    netmask 255.255.255.0
    network 192.168.20.0
    broadcast 192.168.20.255

Server 2:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
    address 192.168.20.2
    netmask 255.255.255.0
    network 192.168.20.0
    broadcast 192.168.20.255
     gateway 192.168.20.1
# dns-* options are implemented by the resolvconf package, if installed
dns nameservers 192.168.10.20 192.168.10.30
dns-search example.com

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2010-07-18
Last reply:
2010-07-18
Cristi Nistor (cristi-nistor) said : #1

Maybe you should try not to use auto eth0 for the second server as long as you can configure your bridge with aliases and IPs, and use only the iface eth0 inet manual configuration setting. Also I think, you should use different IP class for the eth1/server1 (10.X.X.X) if possible. I did the same for a network to use a Ubuntu server as a gateway for other computers behind a router.

https://help.ubuntu.com/community/Internet/ConnectionSharing

You need to make the connection to the first public switch available to the eth1/server/1 NIC.

Good luck.

Can you help with this problem?

Provide an answer of your own, or ask James for more information if necessary.

To post a message you must log in.