[Openstack] Need help with network config on a basic setup

Daniel Ellison daniel at syrinx.net
Thu Dec 19 18:11:09 UTC 2013


It may be simpler than that. Did you set up firewall rules to allow ICMP and SSH access to your instance? "Access & Security" then "Security Groups".

+Dan

On Dec 19, 2013 12:42 PM, nishant kumar <nishant80 at yahoo.com> wrote:
>
> Hi All,
>
> I need some help on bringing up my openstack setup. I am using the havana release.
>
> Note: Please excuse me writing a very long email. The intention is to provide as much detail as possible so that its easier for the community members to suggest a solution.
>
> I was able to create and bring up a guest instance on compute node. But,
>
> The issue is:
> I am not able to SSH (from either controller on compute1) to the guest and I am not able to ping to guest IP (192.168.0.2). What am I missing or doing wrong?
>
>
> Setup details are:
>
> - I am using two servers each having 2 NIC ports:
>         1) controller (SL6.3)               - em1(10.192.206.247); em2(192.168.0.10)
>         2) compute1 (RHEL 6.4 x64)  - eth0(10.192.207.152); eth1(192.168.0.11)
>
> - em1 and eth0 are connected via a switch. This is the management network (hosts file has these IPs against controller/compute1 hostnames)
>
> - em2 and eth1 are connected directly by a cable. For my experimental setup, I want this to be the data network (I guess its also called the public interface)
>
>
> Config Details are:
>
> 'nova list' output on controller node:
>
> +--------------------------------------+--------+--------+------------+-------------+-------------------+
> | ID                                   | Name   | Status | Task State | Power State | Networks          |
> +--------------------------------------+--------+--------+------------+-------------+-------------------+
> | fffd4391-968a-41ff-b292-f2f56ce87abd | cirrOS | ACTIVE | None       | Running     | vmnet=192.168.0.2 |
> +--------------------------------------+--------+--------+------------+-------------+-------------------+
>
> ifcfg-eth0:
> DEVICE=eth0
> HWADDR=2C:44:FD:7F:04:B0
> TYPE=Ethernet
> UUID=9739295d-d4f7-4a1d-abd7-11397af8818a
> ONBOOT=yes
> NM_CONTROLLED="no"
> BOOTPROTO=dhcp
>
> ifcfg-eth1:
> DEVICE=eth1
> HWADDR=2C:44:FD:7F:04:B1
> TYPE=Ethernet
> UUID=4d11464b-1304-43e6-abcc-e28f6c56894f
> IPADDR=192.168.0.11
> NETMASK=255.255.255.0
> DEFROUTE=yes
> ONBOOT=yes
> NM_CONTROLLED="no"
> BOOTPROTO=static
>
> nova.conf on compute1:
> -- truncated --
> flat_interface = eth1
> flat_network_bridge = br100
> public_interface = eth1
> -- truncated --
>
> network-create command used:
> nova network-create vmnet --fixed-range-v4=192.168.0.0/24 --bridge-interface=br100 --multi-host=T
>
> ifcfg -a output on compute1:
> br100     Link encap:Ethernet  HWaddr 2C:44:FD:7F:04:B1
>           inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
>           inet6 addr: fe80::542d:5dff:fe0c:f3d4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> -- truncated --
>
> eth0      Link encap:Ethernet  HWaddr 2C:44:FD:7F:04:B0
>           inet addr:10.192.207.152  Bcast:10.192.207.255  Mask:255.255.240.0
>           inet6 addr: fe80::2e44:fdff:fe7f:4b0/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> -- truncated --
>
> eth1      Link encap:Ethernet  HWaddr 2C:44:FD:7F:04:B1
>           inet6 addr: fe80::2e44:fdff:fe7f:4b1/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> -- truncated --
>  
>  
> Thanks,
> Nishant


More information about the Openstack mailing list