jedipunkz / openstack_havana_deploy

Deployment Tool for OpenStack Havana Release with Ubuntu Cloud Archive
6 stars 6 forks source link

Query on All in one Setup with neutron #8

Open yashjit opened 10 years ago

yashjit commented 10 years ago

Hi punkz,

Sorry for bothering you again. As countering some problem in nova-network setup. I moved to neutron based setup as you adviced. Here I am having two queries based on my network.

How to use on All in One Node with neutron

Architecture

+------------------- Public/API Network
|
+------------+
|vm|vm|...   |
+------------+
| all in one |
+------------+
|     |      
+-----)------------- Management/API Network
      |             
      +------------- Data Network

    all of compornetns are on same node.

Setup network interfaces

Please setup network interfaces just like this.

% sudo ${EDITOR} /etc/network/interfaces
auto lo
iface lo inet loopback

# this NIC will be used for VM traffic to the internet
auto eth0
iface eth0 inet static
    up ifconfig $IFACE 0.0.0.0 up
    up ip link set $IFACE promisc on
    down ip link set $IFACE promisc off
    down ifconfig $IFACE down
    address 10.200.9.10
    netmask 255.255.255.0
    dns-nameservers 8.8.8.8 8.8.4.4
    dns-search example.com

auto eth1
iface eth1 inet static
    address 172.16.0.10
    netmask 255.255.255.0

# this NIC must be on management network
auto eth2
iface eth2 inet static
    address 10.200.10.10
    netmask 255.255.255.0
    gateway 10.200.10.1
    dns-nameservers 8.8.8.8 8.8.4.4

login and use this script via eth1 on management network. eth0 will be lost connectivity when you run this script. and make sure hostname resolv at /etc/hosts. in this sample, your host need resolv self fqdn in 10.200.10.10


My network is connected to internet via 10.1.1.245 on eth1 ( i.e public ip and equivalent to your eth0).

my eth0 (your eth1) is local ip (192.168.80.100) connected to switch (192.168.80.1) and it does not having internet connectivity.

my eth2 is free. does it need to be attached to switch and assign a ip based from switch (192.168.80.1 series) ?

Query - As per your guide my eth0 (your eth1) need to be connected to internet or not. as you mention your eth0 (my eth1) will lost the connectivity when we run the script then how script will download package during installation in the network i have.

I am very bit knowledge about network setup though your grizzly guide help me lot and that works in grizzly installation. Can you give your advice here in little layman term to setup my NIC for neutron based havana setup.

Regards