make controller and network be one node

Asked by Cong Yue on 2014-11-22

Now I am trying to install juno from scratch into ubuntu 14.04 server.
I am referring to
http://docs.openstack.org/juno/install-guide/install/apt/content/ch_basic_environment.html#basics-prerequisites
About the network interface for each node, I have some questions.
1, Can I make controller and network be one node, because I want to use neutron as network component? Do I need have 2 physical NICs for controller or just 1 NIC?
2, I am considering configure my /etc/network/interfaces as follows. It this correct?
 #Controller + network node
 #1 physical NIC
 /etc/network/interfaces
        iface eth0 inet static
            address 10.0.0.11
            netmask 255.255.255.0
            gateway 10.0.0.1
       iface eth1 inet static
            address 10.0.1.11
            netmask 255.255.255.0
     iface eth2 inet manual
            up ip link set dev $IFACE up
            down ip link set dev $IFACE down

#compute node
#1 physical NIC
 /etc/network/interfaces
        iface eth0 inet static
            address 10.0.0.12
            netmask 255.255.255.0
            gateway 10.0.0.1
       iface eth1 inet static
            address 10.0.1.12
            netmask 255.255.255.0

thanks

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Core Infrastructure Edit question
Assignee:
No assignee Edit question
Last query:
2014-11-22
Last reply:
2016-06-13
Fabrizio Soppelsa (fsoppelsa) said : #1

Hello Cong Yue,

1) Yes. Yes you can setup as many NICs you want, from 1 to n
2) Yes. Fine. I guess 10.0.0.0/x will be your admin net and 10.0.1.0/y your management.

The only thing you need is lan card for different network, rest all are ok.

Can you help with this problem?

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

To post a message you must log in.