"Create a network" form miss one item: "Admin State", and the 'Subnet Detail' tab should be 'Subnet Details' tab. Change-Id: I2868585a045d14ce7adf680dfd78a15add295936 Closes-bug: #1504453
3.7 KiB
Create and manage networks
The OpenStack Networking service provides a scalable system for managing the network connectivity within an OpenStack cloud deployment. It can easily and quickly react to changing network needs (for example, creating and assigning new IP addresses).
Networking in OpenStack is complex. This section provides the basic instructions for creating a network and a router. For detailed information about managing networks, refer to the OpenStack Cloud Administrator Guide.
Create a network
Log in to the dashboard.
From the CURRENT PROJECT on the
Project
tab, select the appropriate project.On the
Project
tab, open theNetwork
tab and clickNetworks
category.Click
Create Network
.In the
Create Network
dialog box, specify the following values.Network
tabNetwork Name
: Specify a name to identify the network.Admin State
: The state to start the network in.Subnet
tabCreate Subnet
: Select this check box to create a subnetYou do not have to specify a subnet when you create a network, but if you do not specify a subnet, any attached instance receives an Error status.
Subnet Name
: Specify a name for the subnet.Network Address
: Specify the IP address for the subnet.IP Version
: Select IPv4 or IPv6.Gateway IP
: Specify an IP address for a specific gateway. This parameter is optional.Disable Gateway
: Select this check box to disable a gateway IP address.Subnet Details
tabEnable DHCP
: Select this check box to enable DHCP.Allocation Pools
: Specify IP address pools.DNS Name Servers
: Specify a name for the DNS server.Host Routes
: Specify the IP address of host routes.Click
Create
.The dashboard shows the network on the
Networks
tab.
Create a router
Log in to the dashboard.
From the CURRENT PROJECT on the
Project
tab, select the appropriate project.On the
Project
tab, open theNetwork
tab and clickRouters
category.Click
Create Router
.In the
Create Router
dialog box, specify a name for the router and clickCreate Router
.The new router is now displayed in the
Routers
tab.Click the new router's
Set Gateway
button.In the
External Network
field, specify the network to which the router will connect, and then clickSet Gateway
.To connect a private network to the newly created router, perform the following steps:
On the
Routers
tab, click the name of the router.On the
Router Details
page, click theInterfaces
tab, then clickAdd Interface
.In the
Add Interface
dialog box, select aSubnet
.Optionally, in the
Add Interface
dialog box, set anIP Address
for the router interface for the selected subnet.If you choose not to set the
IP Address
value, then by default OpenStack Networking uses the first host IP address in the subnet.The
Router Name
andRouter ID
fields are automatically updated.
Click
Add Interface
.
You have successfully created the router. You can view the new
topology from the Network Topology
tab.