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

nishant kumar nishant80 at yahoo.com
Sun Dec 22 17:58:03 UTC 2013


The eth1 IP on compute node (192.168.0.11) seems to have disappeared but
 I can still ping this IP from controller. Is this behavior normal?
 
Thanks,
Nishant



On Friday, December 20, 2013 6:01 AM, nishant kumar <nishant80 at yahoo.com> wrote:
 
Hi Dan,
Just before launching the instance using 'nova boot', I had run these commands on controller (ran only on controller):
# nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
# nova secgroup-add-rule default icmp -1 -1 0.0.0.0/
I assumed that they will configure firewall correctly. Please let me know if I missed something.
Thanks,
Nishant
Sent from Yahoo! Mail on Android 



________________________________
 From:  Daniel Ellison <daniel at syrinx.net>; 
To:  nishant kumar <nishant80 at yahoo.com>; 
Cc:  OpenStack List <openstack at lists.openstack.org>; 
Subject:  Re: [Openstack] Need help with network config on a basic setup 
Sent:  Thu, Dec 19, 2013 6:11:09 PM 


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131222/452970ce/attachment.html>


More information about the Openstack mailing list