Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStack on root server with only one NIC

Hello!

I'm using Ubuntu 12.04 plain install and tried manual install and devstack install.

I have two fixed public IPs (a.a.a.a and a.a.a.b) and a public 8-IP Subnet (c.c.c.x), and i want to host 4 virtual machines on the hardware (8-core, 32 GB RAM, 2TB HDD) - i need the single hardware machine as a single node OpenStack environment for cloud development purposes. I have already set up openstack environments in local virtualbox and i use OpenStack on an home server hardware with 2 NICs but i am not that fit in network configuration with virtual bridging that i can set up my root machine the right way.

So here is my Question: How do i configure network settings for an root server with only one Network Interface? I searched a lot but did not find any full description / howto. I would be thankful for every hint or link!

Here is my /etc/network/interfaces, it is pre-configured, hosted hardware - i added the eth0:2 interface. I know that i have to do something with a "br100" i have to add with libvirt(?)

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto  eth0
iface eth0 inet static
  address   a.a.a.a
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.225
  # default route to access subnet
  up route add -net a.a.a.224 netmask 255.255.255.224 gw a.a.a.225 eth0

auto eth0:2
iface eth0:2 inet static
  address   a.a.a.b
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.252

iface eth0 inet6 static
  address xxx
  netmask 64
  gateway xxx
click to hide/show revision 2
more infos - localrc

OpenStack on root server with only one NIC

Hello!

I'm using Ubuntu 12.04 plain install and tried manual install and devstack install.

I have two fixed public IPs (a.a.a.a and a.a.a.b) and a public 8-IP Subnet (c.c.c.x), and i want to host 4 some virtual machines on the hardware (8-core, 32 GB RAM, 2TB HDD) - i need the single hardware machine as a single node OpenStack environment for cloud development purposes. I have already set up openstack environments in local virtualbox on my laptop and i use OpenStack on an home server hardware with 2 NICs but i am not that fit in network configuration with virtual bridging that i can set up my root machine the right way.

So here is my Question: How do i configure network settings for an root server with only one Network Interface? I searched a lot but did not find any full description / howto. I would be thankful for every hint or link!

Here is my /etc/network/interfaces, it is pre-configured, hosted hardware - i added the eth0:2 interface. I know that i have to do something with a "br100" i have to add with libvirt(?)

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto  eth0
iface eth0 inet static
  address   a.a.a.a
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.225
  # default route to access subnet
  up route add -net a.a.a.224 netmask 255.255.255.224 gw a.a.a.225 eth0

auto eth0:2
iface eth0:2 inet static
  address   a.a.a.b
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.252

iface eth0 inet6 static
  address xxx
  netmask 64
  gateway xxx

In my devstack localrc file i configured this:

#first subnet - 2 IPs
FLOATING_RANGE=c.c.c.x/30

#second subnet - 2 IPs
FIXED_RANGE=c.c.c.x/30

FIXED_NETWORK_SIZE=2
FLAT_INTERFACE=br100
PUBLIC_INTERFACE=br100

OpenStack on root server with only one NIC

Hello!

I'm using Ubuntu 12.04 plain install and tried manual install and devstack install.

I have two fixed public IPs (a.a.a.a and a.a.a.b) and a public 8-IP Subnet (c.c.c.x), (c.c.c.x, as soon as the server is running i will get some more subnet ips), and i want to host some virtual machines on the hardware (8-core, 32 GB RAM, 2TB HDD) - i need the single hardware machine as a single node OpenStack environment for cloud development purposes. I have already set up openstack environments in local virtualbox on my laptop and i use OpenStack on an home server hardware with 2 NICs but i am not that fit in network configuration with virtual bridging that i can set up my root machine the right way.

So here is my Question: How do i configure network settings for an root server with only one Network Interface? I searched a lot but did not find any full description / howto. I would be thankful for every hint or link!

Here is my /etc/network/interfaces, it is pre-configured, hosted hardware - i added the eth0:2 interface. I know that i have to do something with a "br100" i have to add with libvirt(?)

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto  eth0
iface eth0 inet static
  address   a.a.a.a
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.225
  # default route to access subnet
  up route add -net a.a.a.224 netmask 255.255.255.224 gw a.a.a.225 eth0

auto eth0:2
iface eth0:2 inet static
  address   a.a.a.b
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.252

iface eth0 inet6 static
  address xxx
  netmask 64
  gateway xxx

In my devstack localrc file i configured this:

#first subnet - 2 IPs
FLOATING_RANGE=c.c.c.x/30

#second subnet - 2 IPs
FIXED_RANGE=c.c.c.x/30

FIXED_NETWORK_SIZE=2
FLAT_INTERFACE=br100
PUBLIC_INTERFACE=br100

OpenStack on root server with only one NIC

Hello!

I'm using Ubuntu 12.04 plain install and tried manual install and devstack install.

I have two fixed public IPs (a.a.a.a and a.a.a.b) and a public 8-IP Subnet (c.c.c.x, as soon as the server is running i will get some more subnet ips), and i want to host some virtual machines on the hardware (8-core, 32 GB RAM, 2TB HDD) - i need the single hardware machine as a single node OpenStack environment for cloud development purposes. I have already set up openstack environments in local virtualbox on my laptop and i use OpenStack on an home server hardware with 2 NICs but i am not that fit in network configuration with virtual bridging that i can set up my root machine the right way.

So here is my Question: How do i configure network settings for an root server with only one Network Interface? I searched a lot but did not find any full description / howto. I would be thankful for every hint or link!

Here is my /etc/network/interfaces, it is pre-configured, hosted hardware and i have an predefined gateway. i have not added the extra subnet in my devices here - but i added the eth0:2 interface. I know that i have to do something with a "br100" i have to add with libvirt(?)bridge br100.

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto  eth0
iface eth0 inet manual

iface br100 inet static
  address   a.a.a.a
a.a.a.232
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.225
  # default route to access subnet
  up route add -net a.a.a.224 netmask 255.255.255.224 gw a.a.a.225 eth0

auto eth0:2
iface eth0:2 inet static
  address   a.a.a.b
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.252
br100

iface eth0 inet6 static
  address xxx
  netmask 64
  gateway xxx

In my devstack localrc file i configured this:

#first subnet - 2 IPs
FLOATING_RANGE=c.c.c.x/30

#second subnet - 2 IPs
FIXED_RANGE=c.c.c.x/30

FIXED_NETWORK_SIZE=2
FLAT_INTERFACE=br100
PUBLIC_INTERFACE=br100

Please tell me where i'm wrong and why and give me a hint to get this thing running!

OpenStack on root server with only one NIC

Hello!

I'm using Ubuntu 12.04 plain install and tried manual install and devstack install.

I have two fixed public IPs (a.a.a.a and a.a.a.b) and a public 8-IP Subnet (c.c.c.x, as soon as the server is running i will get some more subnet ips), and i want to host some virtual machines on the hardware (8-core, 32 GB RAM, 2TB HDD) - i need the single hardware machine as a single node OpenStack environment for cloud development purposes. I have already set up openstack environments in local virtualbox on my laptop and i use OpenStack on an home server hardware with 2 NICs but i am not that fit in network configuration with virtual bridging that i can set up my root machine the right way.

So here is my Question: How do i configure network settings for an root server with only one Network Interface? I searched a lot but did not find any full description / howto. I would be thankful for every hint or link!

Here is my /etc/network/interfaces, it is pre-configured, hosted hardware and i have an predefined gateway. i have not added the extra subnet in my devices here - but i added the bridge br100.

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto  eth0
iface eth0 inet manual

iface br100 inet static
  address   a.a.a.232
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.225
  # default route to access subnet
  up route add -net a.a.a.224 netmask 255.255.255.224 gw a.a.a.225 br100

iface eth0 inet6 static
  address xxx
  netmask 64
  gateway xxx

In my devstack localrc file i configured this:

#first subnet - 2 IPs
FLOATING_RANGE=c.c.c.x/30

#second subnet - 2 IPs
FIXED_RANGE=c.c.c.x/30

FIXED_NETWORK_SIZE=2
FLAT_INTERFACE=br100
PUBLIC_INTERFACE=br100

Please tell me where i'm wrong and why and give me a hint to get this thing running!

OpenStack on root server with only one NIC

Hello!

I'm using Ubuntu 12.04 plain install and tried manual install and devstack install.

I have two fixed public IPs (a.a.a.a and a.a.a.b) and a public 8-IP Subnet (c.c.c.x, as soon as the server is running i will get some more subnet ips), and i want to host some virtual machines on the hardware (8-core, 32 GB RAM, 2TB HDD) - i need the single hardware machine as a single node OpenStack environment for cloud development purposes. I have already set up openstack environments in local virtualbox on my laptop and i use OpenStack on an home server hardware with 2 NICs but i am not that fit in network configuration with virtual bridging that i can set up my root machine the right way.

So here is my Question: How do i configure network settings for an root server with only one Network Interface? I searched a lot but did not find any full description / howto. I would be thankful for every hint or link!

Here is my /etc/network/interfaces, it is pre-configured, hosted hardware and i have an predefined gateway. i have not added the extra subnet in my devices here - but i added the bridge br100.

# Loopback device:
auto lo
iface lo inet loopback

# device: eth0
auto  eth0
iface eth0 inet manual

iface br100 inet static
  address   a.a.a.232
  broadcast a.a.a.255
  netmask   255.255.255.224
  gateway   a.a.a.225
  # default route to access subnet
  up route add -net a.a.a.224 netmask 255.255.255.224 gw a.a.a.225 br100

iface eth0 inet6 static
  address xxx
  netmask 64
  gateway xxx

In my devstack localrc file i configured this:

#first subnet - 2 IPs
FLOATING_RANGE=c.c.c.x/30

#second subnet - 2 IPs
FIXED_RANGE=c.c.c.x/30

FIXED_NETWORK_SIZE=2
FLAT_INTERFACE=br100
PUBLIC_INTERFACE=br100

Please tell me where i'm wrong and why and give me a hint to get this thing running!