[Starlingx-discuss] Openstack: Correct configuration with 1 interface available for data network
bnovickovs at weecodelab.com
bnovickovs at weecodelab.com
Mon Sep 21 18:49:24 UTC 2020
Hello,
I have 3 bare-metal servers therefore, I went for 2+2 aio-duplex setup.
Simple non-manageable switch. (No vlans)
controller-0 - 3 NIC, 1 for mngmt/cluster, 1 for OAM, 1 for data
network.
controller-1 - 3 NIC, 1 for mngmt/cluster, 1 for OAM, 1 for data
network.
worker-0 - 2 NIC, 1 for mngmt/cluster, 1 for data network.
Thus, I am wondering what would be the right process of adding data
network to openstack setup?
What I ve already tried:
1. Added flat data network on each node: system datanetwork-add physnet0
flat
2. Created external network in openstack:
ENABLE_EXT_NET=${ENABLE_EXT_NET:-1}
EXT_NET_CIDR=${EXT_NET_CIDR:-'10.0.2.0/24'}
EXT_NET_RANGE=${EXT_NET_RANGE:-'start=10.0.2.150,end=10.0.2.199'}
EXT_NET_GATEWAY=${EXT_NET_GATEWAY:-'10.0.2.1'}
openstack network create --external --provider-physical-network
physnet0 \
--provider-network-type flat public1
openstack subnet create --no-dhcp \
--allocation-pool ${EXT_NET_RANGE} --network public1 \
--subnet-range ${EXT_NET_CIDR} --gateway ${EXT_NET_GATEWAY}
public1-subnet
openstack router set --external-gateway public1 demo-router
Using this setup, I cant have any virtual network in openstack using
vxlan? If I have dhcp enabled for public1 network, I can create vm
assigned with public1 network and ping/ssh machine directly. However,
what I can do if I want to have private network and use public1 for my
floating ip's? Do I need to have 1 more NIC card and assign
data-network(vxlan) to that?
Thank you
More information about the Starlingx-discuss
mailing list