[Starlingx-discuss] How flat provision network access external network
Legacy, Allain
Allain.Legacy at windriver.com
Mon Oct 29 15:22:35 UTC 2018
Your question is not clear enough for us to determine what you were trying to do, what you expected to happen and what exactly didn't work.
1. You start by stating that you wanted to use an "external network", but the network create command you used lacks the "--external" option which means you only created a regular tenant network.
2. You did not add a "subnet" to the network so the VM will not be assigned an IP address
3. The server create command listed in your email has a syntax error which would cause it to not run at all (extra space after the net-id=).
Regards,
Allain
Allain Legacy, Software Developer, Wind River
direct 613.270.2279 fax 613.492.7870 skype allain.legacy
350 Terry Fox Drive, Suite 200, Ottawa, Ontario, K2K 2W5
[WIND]<http://www.windriver.com/>
From: Sun, Austin [mailto:austin.sun at intel.com]
Sent: Monday, October 29, 2018 10:20 AM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] How flat provision network access external network
Hi All:
In my set up , compute-0 eno1 is connected external network as data network. Is it possible VM on compute-0 can access external network directly ?
I tried below commands , but it did not work. :(
openstack providernet create providernet.a --type flat
openstack network create ext_net --provider-network-type flat --provider-physical-network providernet.a
system host-if-modify -p providernet.a -c data compute-0 eno1
openstack server create --flavor vm1.flavor --image cirros --nic net-id= ext_net vm1.tiny
Thanks.
BR
Austin Sun.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181029/d6abe679/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1807 bytes
Desc: image001.png
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181029/d6abe679/attachment-0001.png>
More information about the Starlingx-discuss
mailing list