← Back to team overview

openstack team mailing list archive

Re: How to let Flat Networking wok in Essex?

 

Hi Shake Chen,

Essex on Ubuntu .

 The following Configured using KVM, Flat, MySQL, and Glance, API is OpenStack (or EC2)


1. Edit your network interfaces configuration to look like the following example:

vi  /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback


auto eth0

auto br100
iface br100 inet static
        bridge_ports eth0
        bridge_stp off
        bridge_maxwait 0
        bridge_fd 0
        address 11.204.15.10
        netmask 255.255.255.0
        broadcast 11.204.15.255
        gateway 11.204.15.1


2. /etc/nova/nova.conf file will have the following :


--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--allow_admin_api=true
--use_deprecated_auth=false
--auth_strategy=keystone
--scheduler_driver=nova.scheduler.simple.SimpleScheduler
--s3_host=11.204.15.10
--ec2_host=11.204.15.10
--rabbit_host=11.204.15.10
--cc_host=11.204.15.10
--nova_url=http://11.204.15.10:8774/v1.1/
--routing_source_ip=11.204.15.10
--glance_api_servers=11.204.15.10:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=131.10.4
--sql_connection=mysql://root:password@11.204.15.10/nova
--ec2_url=http://11.204.15.10:8773/services/Cloud
--keystone_ec2_url=http://11.204.15.10: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_enabled=true
--vncproxy_url=http://11.204.15.10:6080
--vnc_console_proxy_url=http://11.204.15.10:6080
# network specific settings
--network_manager=nova.network.manager.FlatManager
--flat_interface=eth0
--flat_network_bridge=br100
--fixed_range=131.10.4.0/24
--network_size=256
--iscsi_helper=tgtadm
--connection_type=libvirt
--root_helper=sudo nova-rootwrap
--verbose

3. Create private network

nova-manage network create private --fixed_range_v4=131.10.4.0/24 --num_networks=1 --bridge=br100 --bridge_interface=eth0 --network_size=256



Meena Raja
Consultant
__________________________________________
WIPRO TECHNOLOGIES
No 53/1 Ganapa Towers ,Near Madivala Police Station , Hosur Main Road ,Bangalore-560068
Hand Phone : +91-9880549725 | Desk : +91-80-39912554 |Fax No: +91-80-25502160
Email : raja.meena@xxxxxxxxx | Website : www.wipro.com
________________________________
From: openstack-bounces+raja.meena=wipro.com@xxxxxxxxxxxxxxxxxxx [openstack-bounces+raja.meena=wipro.com@xxxxxxxxxxxxxxxxxxx] on behalf of Shake Chen [shake.chen@xxxxxxxxx]
Sent: Friday, April 27, 2012 10:43 AM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] How to let Flat Networking wok in Essex?

HI

Now I can config FlatHHCP mode and working.

but the Flat netwok  can not working .

who can share the the config

1: /etc/network/interface

2: /etc/nova/nova.conf

3: how to create private network fro vm









--
Shake Chen



Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

References