Created
August 16, 2023 14:30
-
-
Save aryulianto/e31424d5f8c41de85a5b7bc8de9b72b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openstack network create \ | |
--external \ | |
--provider-network-type flat \ | |
--provider-physical-network physnet1 \ | |
extnet | |
openstack subnet create \ | |
--subnet-range 192.168.0.0/24 \ | |
--allocation-pool start=192.168.0.123,end=192.168.0.250 \ | |
--network extnet \ | |
extnet-subnet | |
openstack router create inet-router | |
openstack router set --external-gateway extnet inet-router |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment