Ask Your Question
0

OpenStack on root server with only one NIC

asked 2013-05-06 18:27:27 -0600

falcon gravatar image

updated 2013-06-12 06:21:17 -0600

fifieldt gravatar image

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!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-10 11:12:07 -0600

darragh-oreilly gravatar image

I don't think using the same ranges and interfaces like you are trying to do in your localrc is going to fly. You need to look into using vlans from the physical switch and linux virtual network interfaces that can use them from the single physical nic.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-05-06 18:27:27 -0600

Seen: 588 times

Last updated: May 08 '13