Ask Your Question

Blacksun's profile - activity

2017-05-28 03:28:13 -0600 received badge  Nice Question (source)
2014-05-07 22:53:28 -0600 received badge  Student (source)
2014-04-01 05:22:43 -0600 received badge  Famous Question (source)
2014-03-12 04:26:57 -0600 received badge  Notable Question (source)
2014-03-05 19:56:29 -0600 received badge  Popular Question (source)
2014-03-02 12:32:20 -0600 asked a question beginners question packstack answers file

Hi I just installed packstack and everything is a little new for me. I generated a answer file and I need a little help understanding the (networking) concepts. (My first attempts failed: the VM instances didn't get IP addresses)

I have 2 physical nics on server1.example.local with Fedora 20. ( I disabled the firewall,selinux and NetworkManager. I enabled ntpd, network )

[root@server1 network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0

    # Internal Network
    DEVICE=eth0
    TYPE=Ethernet
    BOOTPROTO=static
    IPADDR=192.168.1.10
    NETMASK=255.255.255.0
    GATEWAY=192.168.1.1
    DEFROUTE=yes
    ONBOOT=yes

[root@server1 network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# External Network
DEVICE=eth1
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.0.1.10
NETMASK=255.255.255.0
DEFROUTE=yes
ONBOOT=yes
  • DNS server 192.168.1.3
  • I have 192.168.1.100-200 to assign to my virtual machines.

What should I fill in in the below values?

For example: em1 should be eth0, em2 should be eth1 I think. Should I give each virtual machine a floating IP in the dashboard to give it internet access? (I also have server2.example.local ready as extra compute host. But that's the next step.)

# Auto generated answer file.
# Private interface for Flat DHCP on the Nova compute servers
CONFIG_NOVA_COMPUTE_PRIVIF=em2

# The list of IP addresses of the server on which to install the Nova
# Network service
CONFIG_NOVA_NETWORK_HOSTS=192.168.1.10

# Nova network manager
CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager

# Public interface on the Nova network server
CONFIG_NOVA_NETWORK_PUBIF=em1

# Private interface for network manager on the Nova network server
CONFIG_NOVA_NETWORK_PRIVIF=em2

# IP Range for network manager
CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22

# IP Range for Floating IP's
CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22

# Name of the default floating pool to which the specified floating
# ranges are added to
CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=nova

# Automatically assign a floating IP to new instances
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n

# Number of addresses in each private subnet
CONFIG_NOVA_NETWORK_SIZE=255

# A comma separated list of IP addresses on which to install Neutron
# L3 agent
CONFIG_NEUTRON_L3_HOSTS=192.168.1.10

# The name of the bridge that the Neutron L3 agent will use for
# external traffic, or 'provider' if using provider networks
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex

# A comma separated list of IP addresses on which to install Neutron
# DHCP agent
CONFIG_NEUTRON_DHCP_HOSTS=192.168.1.10

# Whether to provision for demo usage and testing
CONFIG_PROVISION_DEMO=n

# The CIDR network address for the floating IP subnet
CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28