LinuxCommandLibrary

openstack-subnet

manages IP subnets within OpenStack networks

TLDR

List subnets

$ openstack subnet list
copy
Create subnet
$ openstack subnet create --network [network] --subnet-range [192.168.1.0/24] [subnet_name]
copy
Show subnet details
$ openstack subnet show [subnet_name]
copy
Delete subnet
$ openstack subnet delete [subnet_name]
copy

SYNOPSIS

openstack subnet command [options]

DESCRIPTION

openstack subnet manages IP subnets within OpenStack networks. Configure IP ranges, DHCP, DNS, and routing for virtual networks. Part of OpenStack unified CLI.

PARAMETERS

list

List subnets.
create name
Create subnet.
delete name
Delete subnet.
show name
Show subnet details.
--network network
Parent network.
--subnet-range cidr
IP address range in CIDR.
--gateway ip
Gateway IP address.
--dhcp
Enable DHCP.
--dns-nameserver ip
DNS server address.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community