执行下面操作
[mw_shl_code=bash,true]source admin-openrc.sh[/mw_shl_code]
[mw_shl_code=bash,true]neutron net-create public --shared --provider:physical_network public \
--provider:network_type flat[/mw_shl_code]
[mw_shl_code=bash,true]neutron subnet-create public 192.168.100.0/24 --name public \
--allocation-pool start=192.168.100.50,end=192.168.100.99\
--dns-nameserver 211.162.66.66 --gateway 192.168.100.2[/mw_shl_code]
然后在执行[mw_shl_code=bash,true]neutron net-list[/mw_shl_code]
openstack本身刚入门是比较复杂的,楼主要保持清晰的思路
|