63.10. 서브넷 세트


서브넷 속성 설정

사용법:

openstack subnet set [-h] [--name <name>] [--dhcp | --no-dhcp]
                            [--gateway <gateway>]
                            [--description <description>] [--tag <tag>]
                            [--no-tag]
                            [--allocation-pool start=<ip-address>,end=<ip-address>]
                            [--no-allocation-pool]
                            [--dns-nameserver <dns-nameserver>]
                            [--no-dns-nameservers]
                            [--host-route destination=<subnet>,gateway=<ip-address>]
                            [--no-host-route] [--service-type <service-type>]
                            <subnet>

Expand
표 63.37. 위치 관련 자료
요약

<subnet>

서브넷을 수정하여 이름 또는 ID를 수정합니다.

Expand
표 63.38. 선택적 인수
요약

--no-allocation-pool

서브넷에서 연결된 할당 풀을 지웁니다. 현재 할당 풀 정보를 덮어쓰려면 --allocation-pool 및 --no-allocation- pool을 모두 지정합니다.

--no-dhcp

dhcp 비활성화

--dhcp

dhcp 활성화

--allocation-pool start=<ip-address>,end=<ip-address>

이 서브넷의 할당 풀 ip 주소(예: start=192.168.199.2,end=192.168.199.254)

--no-tag

서브넷과 연결된 태그를 지웁니다. 현재 태그를 덮어쓰려면 --tag와 --no-tag를 모두 지정합니다.

--name <name>

서브넷의 업데이트된 이름

--no-host-route

서브넷에서 연결된 host-routes를 지웁니다. 현재 호스트 경로 정보를 덮어쓰려면 --host-route 및 --no-host-route를 둘 다 지정합니다.

--host-route destination=<subnet>,gateway=<ip-address>

이 서브넷에 대한 추가 경로(예: destination=10.10.0.0/16,gateway=192.168.71.254 대상: 대상 서브넷(CIDR 표기법) 게이트웨이: nexthop IP address (repeat option to add multiple routes)

--dns-nameserver <dns-nameserver>

이 서브넷의 DNS 서버 (여러 DNS 서버 설정 옵션)

--gateway <gateway>

서브넷의 게이트웨이를 지정합니다. 옵션은 <ip-address>: 게이트웨이로 사용할 특정 IP 주소입니다. none: 이 서브넷은 게이트웨이를 사용하지 않습니다(예: --gateway 192.168.9.1, --gateway none).

--no-dns-nameservers

dns nameservers의 기존 정보를 지웁니다. --dns-nameserver 및 --no-dns-nameserver를 모두 지정하여 현재 DNS Nameserver 정보를 덮어씁니다.

-h, --help

이 도움말 메시지를 표시하고 종료합니다.

--description <description>

서브넷 설명 설정

--service-type <service-type>

이 서브넷의 서비스 유형(예: network:floatingip_agent_gateway). 네트워크 포트의 유효한 장치 소유자 값이어야 합니다(여러 서비스 유형을 설정하려면 peat 옵션)

--tag <tag>

서브넷에 추가할 태그(여러 태그를 설정하려면peat 옵션)

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동