<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Make your external network flat. If you do so there wont be any vlan tag on packets reaching your external network.
<br>
<br>
in you plugin.ini you put something like this<br>
network_vlan_ranges = Intnet1:100:200,Extnet<br>
bridge_mappings = Intnet1:br-eth1,Extnet:br-ex<br>
<br>
This means you would use vlan id 100 to 200 on openstack networks created on top of Intnet1.<br>
<br>
On Extnet you would not use any vlan.<br>
<br>
Then you say that to all traffic on network created on Intnet1 should be bridged to br-eth1. Then you would add eth1 to br-eth1.<br>
<br>
Then you say all traffic for Extnet should be bridged to br-ex. Then you have to add a physical interface say eth2 to br-ex.
<br>
<br>
Finally you can create an external network in openstack with physical_network=Extnet.<br>
<br>
You just said that all internal network shall be created and Intnet1 and allocated vlan from 100 to 200.<br>
External network shall be overlaid on top of Extnet and no vlans. <br>
<br>
Hope it makes sense.<br>
<br>
Ageeleshwar K<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF9517"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Alex Yang [alex890714@gmail.com]<br>
<b>Sent:</b> Wednesday, April 02, 2014 7:09 AM<br>
<b>To:</b> Erich Weiler<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] Neutron network node setup<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Erich,
<div><br>
</div>
<div>I think this following articles may helpful for you.</div>
<div><br>
</div>
<div><a href="http://developer.rackspace.com/blog/categories/networking/" target="_blank">http://developer.rackspace.com/blog/categories/networking/</a><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-04-02 5:59 GMT+08:00 Erich Weiler <span dir="ltr"><<a href="mailto:weiler@soe.ucsc.edu" target="_blank">weiler@soe.ucsc.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Hey Y'all,<br>
<br>
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.<br>
<br>
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).<br>
<br>
I ran this command to set up ext-net:<br>
<br>
neutron net-create ext-net --router:external=True<br>
<br>
Created a new network:<br>
+---------------------------+-<u></u>------------------------------<u></u>-------+<br>
| Field | Value |<br>
+---------------------------+-<u></u>------------------------------<u></u>-------+<br>
| admin_state_up | True |<br>
| id | a5599b54-dbfc-42fa-b5b9-<u></u>e8ebd574ded0 |<br>
| name | ext-net |<br>
| provider:network_type | vlan |<br>
| provider:physical_network | physnet1 |<br>
| provider:segmentation_id | 200 |<br>
| router:external | True |<br>
| shared | False |<br>
| status | ACTIVE |<br>
| subnets | |<br>
| tenant_id | 36687b1d611740bd9e7309432b22db<u></u>cd |<br>
+---------------------------+-<u></u>------------------------------<u></u>-------+<br>
<br>
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?<br>
<br>
I would understand type=vlan and seg_id and such for a tenant network, but for ext-net?<br>
<br>
Any hints would be greatly appreciated...!<br>
<br>
-erich<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"> ÑîÓê
<div> Email: <a href="mailto:alex890714@gmail.com" target="_blank">alex890714@gmail.com</a>
<div>GitHub: <a href="https://github.com/AlexYangYu" target="_blank">https://github.com/AlexYangYu</a></div>
<div> Weibo: <a href="http://www.weibo.com/alexyangyu" target="_blank">http://www.weibo.com/alexyangyu</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
http://www.csscorp.com/common/email-disclaimer.php
</body>
</html>