[Openstack] Neutron network node setup

Alex Yang alex890714 at gmail.com
Wed Apr 2 01:39:56 UTC 2014


Hi Erich,

I think this following articles may helpful for you.

http://developer.rackspace.com/blog/categories/networking/



2014-04-02 5:59 GMT+08:00 Erich Weiler <weiler at soe.ucsc.edu>:

> Hey Y'all,
>
> I'm setting up a dedicated neutron network node and I'm having a bit of
> trouble understanding the way the networks work.  On the network node I
> have one interface on the public net (eth0), one interface on the private
> net (eth1) and I'm following these guides to set it up.
>
> My plan is to have eth0 on the public network, no VLAN magic there or
> anything.  eth1 will be the data interface, and it will be connected to a
> trunk switchport so it can use VLANs for tenant isolation (OVS VLAN plugin).
>
> I ran this command to set up ext-net:
>
> neutron net-create ext-net --router:external=True
>
> Created a new network:
> +---------------------------+--------------------------------------+
> | Field                     | Value                                |
> +---------------------------+--------------------------------------+
> | admin_state_up            | True                                 |
> | id                        | a5599b54-dbfc-42fa-b5b9-e8ebd574ded0 |
> | name                      | ext-net                              |
> | provider:network_type     | vlan                                 |
> | provider:physical_network | physnet1                             |
> | provider:segmentation_id  | 200                                  |
> | router:external           | True                                 |
> | shared                    | False                                |
> | status                    | ACTIVE                               |
> | subnets                   |                                      |
> | tenant_id                 | 36687b1d611740bd9e7309432b22dbcd     |
> +---------------------------+--------------------------------------+
>
> But, I don't think network_type=vlan right?  As eth0 just sits right on a
> public network?  Should network_type=local instead?  Also, should
> physical_network equal null, and also segmentation_id equal null as well?
>
> I would understand type=vlan and seg_id and such for a tenant network, but
> for ext-net?
>
> Any hints would be greatly appreciated...!
>
> -erich
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
>



-- 
  杨雨
  Email:       alex890714 at gmail.com
GitHub:       https://github.com/AlexYangYu
 Weibo:       http://www.weibo.com/alexyangyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140402/5566d6f7/attachment.html>


More information about the Openstack mailing list