[Openstack-operators] Multinic feature in openstack

Vivek Singh Raghuwanshi vivekraghuwanshi at gmail.com
Thu Aug 30 14:06:53 UTC 2012


Thanks Nirbhay

I already read this document but no luck.
There is something i am missing in network config area.




On Thu, Aug 30, 2012 at 7:03 PM, Nirbhay Tomar
<nirbhaysinghtomar at gmail.com>wrote:

> Hi Vivek,
>
> You should read this link, I hope this will help you.
>
>
> http://docs.openstack.org/essex/openstack-compute/admin/content/using-multi-nics.html#using-multiple-nics-usage
>
> //Nirbhay
>
> On Thu, Aug 30, 2012 at 6:03 PM, Vivek Singh Raghuwanshi
> <vivekraghuwanshi at gmail.com> wrote:
> > Hi All,
> >
> > Please help me in configuring multinic feature in openstack.
> >
> > I am able to run my cloud setup with single lan interface for instances
> and
> > ping and ssh them.
> >
> > but when i am adding second network  the instances are up and getting ip
> but
> > they are not accessable.
> >
> >
> > oot at 1:~# nova-manage network create --fixed_range_v4=192.168.0.64/26
> > --num_networks=1 --network_size=64 --label=first-net --project=admin
> > root at 1:~# nova-manage network create --fixed_range_v4=192.168.0.128/26
> > --num_networks=1 --network_size=64 --label=second-net --project=admin
> > root at 1:~# nova-manage network list
> > id      IPv4                    IPv6            start address   DNS1
> > DNS2            VlanID          project         uuid
> > 1       192.168.0.64/26         None            192.168.0.66    8.8.4.4
> > None            None            admin
> > 47658740-399e-4bd5-8441-6f11d7f96344
> > 2       192.168.0.128/26        None            192.168.0.130   8.8.4.4
> > None            None            admin
> > 7965a202-b326-41ec-8702-640af2bc2a8d
> > root at 1:~#
> >
> >
> >
> > Nova.conf
> > --dhcpbridge_flagfile=/etc/nova/nova.conf
> > --dhcpbridge=/usr/bin/nova-dhcpbridge
> > --logdir=/var/log/nova
> > --state_path=/data/lib/nova
> > --lock_path=/run/lock/nova
> > --allow_admin_api=true
> > --use_deprecated_auth=false
> > --auth_strategy=keystone
> > --scheduler_driver=nova.scheduler.simple.SimpleScheduler
> > --s3_host=10.83.18.208
> > --ec2_host=10.83.18.208
> > --rabbit_host=10.83.18.208
> > --cc_host=10.83.18.208
> > --nova_url=http://10.83.18.208:8774/v1.1/
> > --routing_source_ip=10.83.18.208
> > --glance_api_servers=10.83.18.208:9292
> > --image_service=nova.image.glance.GlanceImageService
> > #--iscsi_ip_prefix=192.168.4
> > --iscsi_ip_prefix=192.168.0
> > #--iscsi_ip_prefix=172.24.31
> > --sql_connection=mysql://novadbadmin:novasecret@10.83.18.208/nova
> > --ec2_url=http://10.83.18.208:8773/services/Cloud
> > --keystone_ec2_url=http://10.83.18.208:5000/v2.0/ec2tokens
> > --api_paste_config=/etc/nova/api-paste.ini
> > --libvirt_type=kvm
> > --libvirt_use_virtio_for_bridges=true
> > --start_guests_on_host_boot=true
> > --resume_guests_state_on_host_boot=true
> > # vnc specific configuration
> > #--novnc_enabled=true
> > #--novncproxy_base_url=http://10.10.10.2:6080/vnc_auto.html
> > #--vncserver_proxyclient_address=10.10.10.2
> > #--vncserver_listen=10.10.10.2
> > # network specific settings
> > --network_manager=nova.network.manager.FlatDHCPManager
> > --public_interface=eth0
> > --flat_interface=eth3
> > --flat_network_bridge=br100
> > --fixed_range=192.168.0.1/26
> > #--fixed_range=192.168.4.1/27
> > --floating_range=10.83.18.128/25
> > --network_size=64
> > --flat_network_dhcp_start=192.168.0.66
> > --flat_injected=False
> > --force_dhcp_release
> > --iscsi_helper=tgtadm
> > --connection_type=libvirt
> > --root_helper=sudo nova-rootwrap
> > --verbose=False
> > #--vlan_interface=eth0
> > #--firewall_driver=nova.virt.firewall.NoopFirewallDriver
> > --multi_host=True
> > #enabled_apis=ec2,osapi_compute,osapi_volume,metadata
> >
> >
> >
> >
> > security group rules
> > nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
> > nova secgroup-create ssh "SSH server"
> > nova secgroup-add-rule ssh tcp 22 22 0.0.0.0/0
> > nova secgroup-create http "HTTP web server"
> > nova secgroup-add-rule http tcp 80 80 0.0.0.0/0
> > nova secgroup-create https "HTTPS secure web server"
> > nova secgroup-add-rule https tcp 443 443 0.0.0.0/0
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > ViVek Raghuwanshi
> > Mobile -+91-09595950504
> >
> > Skype - vivek_raghuwanshi
> >
> >
> >
> > _______________________________________________
> > OpenStack-operators mailing list
> > OpenStack-operators at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
> >
>



-- 
ViVek Raghuwanshi
Mobile -+91-09595950504

Skype - vivek_raghuwanshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20120830/3879876b/attachment-0001.html>


More information about the OpenStack-operators mailing list