[Starlingx-discuss] Flat Network not working on STX R2.0
Ezpeer Chen
ezpeerchen at gmail.com
Tue Sep 17 07:45:11 UTC 2019
Dear all,
Please help check if this is my misunderstanding.
Issue:
Flat Network not working on STX R2.0 but it's working on STX R1.0. VM
instance can't ping to public network with static IP configuration.
Create Flat network on STX R1.0:
=============================================================
#ADMINID=`openstack project list | grep admin | awk '{print $2}'`
#openstack network create --project ${ADMINID} --provider-network-type=flat
--provider-physical-network=phy-flat netflat
#openstack subnet create --project ${ADMINID} netflat-subnet --network
netflat --subnet-range 192.168.100.0/24
#openstack server create --image cirros --flavor m1.tiny --network netflat
vm1
=============================================================
Interface setting on STXR2.0:
[sysadmin at controller-0 ~(keystone_admin)]$ system host-if-list controller-0
+--------------------------------------+-----------+-----------+----------+------+----------------+------+---------+---------------------------+
| uuid | name | class | type |
vlan | ports | uses | used by | attributes |
| | | | |
id | | i/f | i/f | |
+--------------------------------------+-----------+-----------+----------+------+----------------+------+---------+---------------------------+
| e0b545f0-dc0d-4c6c-9327-0008191cf3e6 | enp3s0 | data | ethernet |
None | [u'enp3s0'] | [] | [] | MTU=1500,accelerated=True |
[sysadmin at controller-0 ~(keystone_admin)]$ system datanetwork-list
+--------------------------------------+----------+--------------+------+
| uuid | name | network_type | mtu |
+--------------------------------------+----------+--------------+------+
| b42f45d1-a474-47cc-b603-8c3b4e50189b | phy-flat | flat | 1500 |
[sysadmin at controller-0 ~(keystone_admin)]$ system
interface-datanetwork-list controller-0
+--------------+--------------------------------------+-----------+------------------+
| hostname | uuid | ifname |
datanetwork_name |
+--------------+--------------------------------------+-----------+------------------+
| controller-0 | 88dd6d9c-fd66-4034-98d5-c6a2155a5085 | enp3s0 |
phy-flat |
+--------------+--------------------------------------+-----------+------------------+
Create Flat network on STX R2.0:
=============================================================
#export OS_CLOUD=openstack_helm
#ADMINID=`openstack project list | grep admin | awk '{print $2}'`
#openstack network create --project ${ADMINID} --provider-network-type=flat
--provider-physical-network=phy-flat netflat
#openstack subnet create --project ${ADMINID} netflat-subnet --network
netflat --subnet-range 192.168.100.0/24
#openstack server create --project ${ADMINID} --image cirros --flavor
m1.tiny --network netflat vm1
=============================================================
The same procedure to create flat network on STX R1.0 and R2.0.
But the vm instance can't get ip and can't ping to public network with
static IP configuration on STX R2.0.
Please help check this issue.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190917/a47a77e2/attachment.html>
More information about the Starlingx-discuss
mailing list