Public allocations use public IPv4 addresses from public pools in Virtual Networks. The available public IPv4 range depends on the project region. This page explains how to get the public IPv4 CIDR blocks that are available for allocations in a project.
Prerequisites
You do not need to complete any prerequisites if you use the web console.
In the web console, go to Networking → Virtual networks.
If you have access to multiple projects, expand the list of projects and select the required project.
Click Actions → View public CIDR blocks.The Public CIDR blocks window shows the public IPv4 CIDR blocks that are available for allocations in the selected project and region.
Get the ID of the default network in the required project.
Get the ID of the default network’s public pool:
nebius vpc network get --id <network_ID>
The pool ID is specified in the spec.ipv4_public_pools.pools.id parameter of the output.If the default network contains several public pools, a public address can be allocated from any of these pools.
spec.source_pool_id: ID of the source pool for this public pool.
spec.version: IP version of the pool.
spec.visibility: Pool visibility.
status.state: Current state of the public pool.
status.cidrs: Public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.
status.scope_id: ID of the scope associated with the public pool.
status.assignment.networks: IDs of the networks that use this public pool.
Get the ID of the default network in the required project.
Set Id to the network ID. The pool ID is specified in Spec.Ipv4PublicPools.Pools[].Id of the response.If the default network contains several public pools, a public address can be allocated from any of these pools.
Set Id to the pool ID. The Status.Cidrs field of the response contains the public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.
Get the ID of the default network in the required project.
Set id to the network ID. The pool ID is specified in spec.ipv4_public_pools.pools[].id of the response.If the default network contains several public pools, a public address can be allocated from any of these pools.
Set id to the pool ID. The status.cidrs field of the response contains the public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.
Get the ID of the default network in the required project.
Set id to the network ID. The pool ID is specified in spec.ipv4PublicPools.pools[].id of the response.If the default network contains several public pools, a public address can be allocated from any of these pools.
Get the CIDR blocks of the public pool:
const poolService = new PoolService(sdk);const pool = await poolService.get( GetPoolRequest.create({ id: "<pool_ID>", }),);console.log(pool);
Set id to the pool ID. The status.cidrs field of the response contains the public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nebius AI Cloud","colors":{"primary":"#6057f7","light":"#6057f7","dark":"#6057f7"},"logo":{"light":"https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/logo/logo.svg?fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=8dd637468a6b53f6c1af6387d11e76c7","dark":"https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/logo/logo.svg?fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=8dd637468a6b53f6c1af6387d11e76c7"},"favicon":"https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/favicon.ico?fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=8a5c39792808860e8902cbf209ba4843","appearance":{"default":"system"},"background":{"color":{"dark":"#26262A"}},"navbar":{"links":[{"href":"https://nebius.com/#ai-contact-form","label":"Contact us"}],"primary":{"type":"button","label":"Open web console","href":"https://console.nebius.com/"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@nebiusofficial","facebook":"https://www.facebook.com/nebiusofficial","linkedin":"https://www.linkedin.com/company/nebius","x":"https://x.com/nebiusai"}},"seo":{"metatags":{"google-site-verification":"p7dnMrsuoFlnyF9Oo0Ys0xPbeRCpQ9MedGsgi7nBOaI"}},"integrations":{"ga4":{"measurementId":"G-DHKV2ZED15"}},"contextual":{"options":["mcp","copy","view","vscode","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nebius-ai-cloud","hasAudioNarration":false,"actualSubdomain":"nebius-ai-cloud","customDomains":["docs.nebius.com"],"gitSource":{"type":"github","owner":"nebius","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED","enabled":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b05011620d83e4a6efcb33f","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Developer tools","count":1769},{"language":"default","tag":"Reference","count":1723},{"language":"default","tag":"CLI","count":1008},{"language":"default","tag":"REST API","count":614},{"language":"default","tag":"v1","count":472},{"language":"default","tag":"iam","count":371},{"language":"default","tag":"vpc","count":263},{"language":"default","tag":"v1alpha1","count":259},{"language":"default","tag":"operation","count":252},{"language":"default","tag":"Infrastructure","count":217}],"searchSettings":{"isFiltersEnabled":false}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"_assets/css/styles.css","content":".inline_svg svg{display:inline}.custom-card-icon{width:fit-content!important}.custom-card-icon>div{padding:32px;height:100%}.getting_started_wrapper .custom-card-icon:hover{border:1px solid rgba(27, 45, 79, 0.15)!important}.dark .getting_started_wrapper .custom-card-icon,.dark .getting_started_wrapper .custom-card-icon:hover{border:1px solid rgba(255, 255, 255, 0.15)!important}.getting_started_wrapper .custom-card-icon>div:hover{background:rgba(0, 0, 0, 0.03)}.dark .getting_started_wrapper .custom-card-icon>div:hover{background:rgba(255, 255, 255, 0.03)}.platform_services_wrapper .custom-card-icon{border:none;border-radius:24px;box-shadow:1px 3px 13px 0px rgba(0, 0, 0, 0.05), 0px 1px 6px 0px rgba(0, 0, 0, 0.05)}.platform_services_wrapper .custom-card-icon:hover{box-shadow:0px 3px 10px 0px rgba(0, 0, 0, 0.15)}.dark .platform_services_wrapper .custom-card-icon{background:rgba(48, 48, 53, 1)}.dark .platform_services_wrapper .custom-card-icon>div:hover{background:rgba(255, 255, 255, 0.03)}.custom-card-icon a{background-color:#fff!important}.dark .custom-card-icon a{background-color:#303035!important;border-color:#303035!important}nav ul .navbar-link a,nav ul #topbar-cta-button a span{border-radius:50px!important;color:#fff}nav ul .navbar-link a:hover{color:#fff}#navbar>div.relative{width:100%;max-width:100%}#navbar>div.max-w-8xl.mx-auto.relative>div>div.relative>div>div,#navbar>div.max-w-8xl.mx-auto.relative>div>div.hidden.lg\\:flex.px-12.h-12{max-width:92rem!important;margin:auto;padding-left:3rem;padding-right:3rem}#navbar>div.relative>div>div.relative,#navbar>div.max-w-8xl.mx-auto.relative>div>div.relative>div>div>div.relative.hidden.lg\\:flex.items-center.flex-1.z-20.justify-center button{background-color:#31343c;width:100%;color:#ffffffcc!important;--tw-ring-color: #ffffffcc !important}.dark #navbar>div.relative>div>div.relative,.dark #navbar>div.max-w-8xl.mx-auto.relative>div>div.relative>div>div>div.relative.hidden.lg\\:flex.items-center.flex-1.z-20.justify-center button{background-color:#26262a}#navbar>div.max-w-8xl.mx-auto.relative>div>div.relative>button div{color:#fff!important}#navbar,#navbar>div,#navbar>div>div{overflow:visible!important}.hidden.lg\\:flex.px-12.h-12{position:relative!important;padding-left:1rem!important;padding-right:1rem!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100vw!important;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(96, 87, 247, 0.6) transparent}.hidden.lg\\:flex.px-12.h-12::-webkit-scrollbar{height:6px}.hidden.lg\\:flex.px-12.h-12::-webkit-scrollbar-track{background:transparent;margin:0 1rem}.hidden.lg\\:flex.px-12.h-12::-webkit-scrollbar-thumb{background:rgba(96, 87, 247, 0.6);border-radius:3px}.hidden.lg\\:flex.px-12.h-12::-webkit-scrollbar-thumb:hover{background:rgba(96, 87, 247, 0.9)}html[data-current-path^=\"/legal\"]:not([data-current-path=\"/legal/agreement\"]):not([data-current-path=\"/legal/dpa\"]):not([data-current-path=\"/legal/dpa-inc\"]):not([data-current-path=\"/legal/dpa-il\"]) #content-area>#header>div>div>:not(h1){display:none!important}.nav-tabs{gap:1rem!important;flex-wrap:nowrap!important;width:max-content!important;min-width:100%!important;padding-left:2rem!important}.nav-tabs::after{content:\"\";min-width:1rem!important;flex-shrink:0!important;display:block!important}.nav-tabs-item{white-space:nowrap!important;flex-shrink:0!important}.nav-scroll-caret-left{background:linear-gradient(\n to right,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 1) 50%,\n rgba(255, 255, 255, 0) 100%\n )!important;color:#666!important}.nav-scroll-caret-right{background:linear-gradient(\n to left,\n rgba(255, 255, 255, 1) 0%,\n rgba(255, 255, 255, 1) 50%,\n rgba(255, 255, 255, 0) 100%\n )!important;color:#666!important}.dark .nav-scroll-caret-left{background:linear-gradient(to right, #26262a 0%, #26262a 50%, rgba(38, 38, 42, 0) 100%)!important;color:#999!important}.dark .nav-scroll-caret-right{background:linear-gradient(to left, #26262a 0%, #26262a 50%, rgba(38, 38, 42, 0) 100%)!important;color:#999!important}#content blockquote{border-color:#5282ff!important}@media screen and (max-width: 1486px){#navbar>div.max-w-8xl.mx-auto.relative>div>div.relative>div{padding-left:0!important;padding-right:0!important}.homepage_wrapper>div{padding-left:2rem!important;padding-right:2rem!important}}@media screen and (max-width: 1024px){.homepage_wrapper>div{padding-left:0.5rem!important;padding-right:0.5rem!important}}.getting_started_wrapper .card{border-radius:24px;border-width:1px}img.inline{margin:0}img.icon[src*=\"/_assets/\"]{filter:invert(0.1)}.dark img.icon[src*=\"/_assets/\"]{filter:invert(0.96)}img.icon.keep-colors,.dark img.icon.keep-colors{filter:none}img.icon[src*=\"/_assets/sidebar/\"]{filter:brightness(0) invert(0.1)}.dark img.icon[src*=\"/_assets/sidebar/\"]{filter:none}img[src*=\"/_assets/icons/\"]{filter:brightness(0) invert(6%) sepia(58%) saturate(1475%) hue-rotate(195deg) brightness(103%) contrast(91%)}.dark img[src*=\"/_assets/icons/\"]{filter:none}.frame{width:fit-content;margin:auto}@media print{#navbar,#sidebar,#content-side-layout,#footer,#pagination,.feedback-toolbar,.media-print-none{display:none}#content-area{width:100%;margin-left:0;padding-left:.25rem}}.chat-assistant-floating-input{display:none!important}.sticky-table [data-table-wrapper]{--page-padding: 0px}.sticky-table table :is(th,td):first-child{position:sticky;left:0;z-index:1;background:rgb(var(--background-light))}.sticky-table table :is(th,td):first-child,.sticky-table table :is(th,td):first-child *{overflow-wrap:anywhere}html.dark .sticky-table table :is(th,td):first-child{background:rgb(var(--background-dark))}.compact-matrix table{width:max-content;min-width:0}.compact-matrix table :is(th,td){min-width:0;padding:8px;vertical-align:middle}.compact-matrix table :is(th,td):not(:first-child){width:auto;text-align:center;white-space:nowrap}.compact-matrix table :is(th,td):first-child{width:150px;white-space:normal}.compact-matrix table th code{padding-inline:2px}.merged-first-column table tbody tr{border-bottom-width:0}.merged-first-column table tbody td{border-bottom:1px solid rgb(var(--gray-100))}html.dark .merged-first-column table tbody td{border-bottom-color:#94a3b81a}.merged-first-column table tbody tr:has(+tr>td:first-child:empty)>td:first-child{border-bottom-color:transparent}.merged-first-column table :is(th,td):first-child{width:260px}.first-expanded-column table :is(th,td):first-child{width:24%;white-space:normal}"}]}
{"page":{"pagePath":"vpc/addressing/public-address-ranges","slug":"/vpc/addressing/public-address-ranges","pageMetadata":{"title":"Getting public IPv4 ranges","sidebarTitle":"Getting public IPv4 ranges","description":null,"href":"/vpc/addressing/public-address-ranges"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Icon,Tab,Tabs,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Icon)_missingMdxReference(`Icon`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Public `,_jsx(_components.a,{href:`/vpc/overview#allocation`,children:`allocations`}),` use public IPv4 addresses from public pools in `,_jsx(_components.a,{href:`/vpc/overview#default-virtual-networks-resources`,children:`Virtual Networks`}),`. The available public IPv4 range depends on the project `,_jsx(_components.a,{href:`/overview/regions`,children:`region`}),`. This page explains how to get the public IPv4 `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_blocks`,children:`CIDR blocks`}),` that are available for allocations in a project.`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`You do not need to complete any prerequisites if you use the web console.`})}),`\n`,_jsxs(Tabs,{group:`interfaces`,children:[_jsx(Tab,{title:`CLI`,id:`cli`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/cli/install`,children:`Install and configure`}),` the Nebius AI Cloud CLI.`]}),`\n`,_jsxs(_components.li,{children:[`Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ~/.nebius/config.yaml`})]}),`\n`]})})}),`\n`]}),`\n`]})}),_jsx(Tab,{title:`Go SDK`,id:`go-sdk`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/sdk/go/install-auth`,children:`Install and initialize the Nebius SDK for Go`}),`.`]})}),_jsx(Tab,{title:`Python SDK`,id:`python-sdk`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/sdk/python/install-auth`,children:`Install and initialize the Nebius SDK for Python`}),`.`]})}),_jsx(Tab,{title:`JavaScript SDK`,id:`javascript-sdk`,children:_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/sdk/javascript/install-auth`,children:`Install and initialize the Nebius SDK for JavaScript`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-get-public-ipv4-ranges`,children:`How to get public IPv4 ranges`}),`\n`,_jsxs(Tabs,{group:`interfaces`,children:[_jsx(Tab,{title:`Web console`,id:`how-to-get-public-ipv4-ranges-web-console`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In the `,_jsx(_components.a,{href:`https://console.nebius.com`,children:`web console`}),`, go to `,_jsx(Icon,{icon:`https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=1f8c2c22cbb639b558c3a3662e8b5d2a`,\"data-og-width\":`16`,width:`16`,\"data-og-height\":`16`,height:`16`,\"data-path\":`_assets/sidebar/networking.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?w=280\u0026fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=da4bdb901291d8bfda1e8a507f9bf081 280w, https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?w=560\u0026fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=e82535296df66bb9a3c444ebdf11bbb4 560w, https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?w=840\u0026fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=cf603730f58cb35d4914402ffba92558 840w, https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=5d916710d08f24e9674cbee592f7995a 1100w, https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=251685d36ed7fd60d0e0bc3cad47638d 1650w, https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/sidebar/networking.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=09841b7ed9b01e13b8c5d7382ca9163b 2500w`}),` `,_jsx(_components.strong,{children:`Networking`}),` → `,_jsx(_components.strong,{children:`Virtual networks`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`If you have access to multiple projects, expand the list of projects and select the required project.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Actions`}),` → `,_jsx(_components.strong,{children:`View public CIDR blocks`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Public CIDR blocks`}),` window shows the public IPv4 CIDR blocks that are available for allocations in the selected project and region.`]}),`\n`]}),`\n`]})}),_jsx(Tab,{title:`CLI`,id:`how-to-get-public-ipv4-ranges-cli`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/vpc/networking/resources#how-to-get-a-network-id-cli`,children:`Get the ID`}),` of the default network in the required project.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the ID of the default network’s public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nebius`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vpc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` network`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`network_I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`D`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The pool ID is specified in the `,_jsx(_components.code,{children:`spec.ipv4_public_pools.pools.id`}),` parameter of the output.`]}),`\n`,_jsx(_components.p,{children:`If the default network contains several public pools, a public address can be allocated from any of these pools.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the CIDR blocks of the public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nebius`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vpc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pool`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`pool_I`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`D`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The output looks like this:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`metadata`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vpcpool-***`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` parent_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`project-***`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`default-public-pool`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` resource_version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` created_at`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-21T16:21:38.791627Z\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` updated_at`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-07-21T16:46:45.356295Z\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`spec`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` source_pool_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vpcpool-e00***`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`IPV4`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` visibility`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`PUBLIC`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`READY`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` cidrs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`89.169.96.0/22`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`89.169.102.0/23`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`89.169.108.0/22`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` scope_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vpcscope-e00***`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` assignment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` networks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vpcnetwork-e00***`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The output contains the following parameters:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`metadata.id`}),`: ID of the `,_jsx(_components.a,{href:`/vpc/overview#pool`,children:`public pool`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`metadata.parent_id`}),`: Project ID.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`metadata.name`}),`: Name of the public pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.source_pool_id`}),`: ID of the source pool for this public pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.version`}),`: IP version of the pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`spec.visibility`}),`: Pool visibility.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status.state`}),`: Current state of the public pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status.cidrs`}),`: Public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status.scope_id`}),`: ID of the scope associated with the public pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status.assignment.networks`}),`: IDs of the networks that use this public pool.`]}),`\n`]}),`\n`]}),`\n`]})}),_jsx(Tab,{title:`Go SDK`,id:`how-to-get-public-ipv4-ranges-go-sdk`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/vpc/networking/resources#how-to-get-a-network-id-go-sdk`,children:`Get the ID`}),` of the default network in the required project.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the ID of the default network’s public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sdk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Services`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`VPC`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`V1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ctx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`vpc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`GetNetworkRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cnetwork_ID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`Id`}),` to the network ID. The pool ID is specified in `,_jsx(_components.code,{children:`Spec.Ipv4PublicPools.Pools[].Id`}),` of the response.`]}),`\n`,_jsx(_components.p,{children:`If the default network contains several public pools, a public address can be allocated from any of these pools.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the CIDR blocks of the public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sdk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Services`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`VPC`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`V1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Pool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ctx`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`vpc`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`GetPoolRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cpool_ID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` nil`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` err`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`Id`}),` to the pool ID. The `,_jsx(_components.code,{children:`Status.Cidrs`}),` field of the response contains the public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.`]}),`\n`]}),`\n`]})}),_jsx(Tab,{title:`Python SDK`,id:`how-to-get-public-ipv4-ranges-python-sdk`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/vpc/networking/resources#how-to-get-a-network-id-python-sdk`,children:`Get the ID`}),` of the default network in the required project.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the ID of the default network’s public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`network_service `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` NetworkServiceClient(sdk)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`network `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` network_service.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` GetNetworkRequest(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cnetwork_ID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(network)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`id`}),` to the network ID. The pool ID is specified in `,_jsx(_components.code,{children:`spec.ipv4_public_pools.pools[].id`}),` of the response.`]}),`\n`,_jsx(_components.p,{children:`If the default network contains several public pools, a public address can be allocated from any of these pools.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the CIDR blocks of the public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`pool_service `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` PoolServiceClient(sdk)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`pool `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pool_service.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` GetPoolRequest(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cpool_ID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(pool)`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`id`}),` to the pool ID. The `,_jsx(_components.code,{children:`status.cidrs`}),` field of the response contains the public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.`]}),`\n`]}),`\n`]})}),_jsx(Tab,{title:`JavaScript SDK`,id:`how-to-get-public-ipv4-ranges-javascript-sdk`,children:_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/vpc/networking/resources#how-to-get-a-network-id-javascript-sdk`,children:`Get the ID`}),` of the default network in the required project.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the ID of the default network’s public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` networkService`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` NetworkService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sdk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` network`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` networkService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GetNetworkRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cnetwork_ID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`network`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`id`}),` to the network ID. The pool ID is specified in `,_jsx(_components.code,{children:`spec.ipv4PublicPools.pools[].id`}),` of the response.`]}),`\n`,_jsx(_components.p,{children:`If the default network contains several public pools, a public address can be allocated from any of these pools.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Get the CIDR blocks of the public pool:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` poolService`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` PoolService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`sdk`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` pool`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` poolService`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` GetPoolRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cpool_ID>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Set `,_jsx(_components.code,{children:`id`}),` to the pool ID. The `,_jsx(_components.code,{children:`status.cidrs`}),` field of the response contains the public IPv4 CIDR blocks that are available for allocations in the project. These addresses form the public IPv4 range from which Virtual Networks allocates public addresses.`]}),`\n`]}),`\n`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Getting public IPv4 ranges","sidebarTitle":"Getting public IPv4 ranges","description":null,"href":"/vpc/addressing/public-address-ranges"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"How to get public IPv4 ranges","slug":"how-to-get-public-ipv4-ranges","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/nebius-ai-cloud/15a5fe135c50f620/_assets/js/fix_index.js","/_mintlify/custom/nebius-ai-cloud/3370e3d5d76d525a/_assets/js/nav-tabs-scroll.js","/_mintlify/custom/nebius-ai-cloud/0d2783b7f04d92f8/_assets/js/onetrust.js","/_mintlify/custom/nebius-ai-cloud/d7115c46a3daa627/_assets/js/reo-dev.js"],"subdomain":"nebius-ai-cloud","siteName":"Nebius AI Cloud","title":"Getting public IPv4 ranges - Nebius AI Cloud","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T09:44:39.829Z","originalFileLocation":"vpc/addressing/public-address-ranges.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Nebius AI Cloud\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Getting public IPv4 ranges - Nebius AI Cloud\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nebius AI Cloud\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nebius.com/vpc/addressing/public-address-ranges\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nebius-ai-cloud.mintlify.site/_mintlify/api/og/v2?division=Addressing\u0026amp;title=Getting+public+IPv4+ranges\u0026amp;theme=387b6c74eb6a08dbde74605f\u0026amp;signature=66196cfff7907d0c90dd5d1ca210c6efd52bf6829af4b148d8ef824b1c9724c1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Getting public IPv4 ranges - Nebius AI Cloud\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nebius-ai-cloud.mintlify.site/_mintlify/api/og/v2?division=Addressing\u0026amp;title=Getting+public+IPv4+ranges\u0026amp;theme=387b6c74eb6a08dbde74605f\u0026amp;signature=66196cfff7907d0c90dd5d1ca210c6efd52bf6829af4b148d8ef824b1c9724c1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nebius-ai-cloud/0Ek9sP7Ja4is5z8_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nebius AI Cloud\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6057f7\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"p7dnMrsuoFlnyF9Oo0Ys0xPbeRCpQ9MedGsgi7nBOaI\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nebius.com/vpc/addressing/public-address-ranges\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/vpc/addressing/public-address-ranges.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nebius.com/#organization\",\"name\":\"Nebius AI Cloud\",\"url\":\"https://docs.nebius.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nebius-ai-cloud/Ig0U9IUMcvPL0NXJ/_assets/logo/logo.svg?fit=max\u0026auto=format\u0026n=Ig0U9IUMcvPL0NXJ\u0026q=85\u0026s=8dd637468a6b53f6c1af6387d11e76c7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nebius.com#website\",\"name\":\"Nebius AI Cloud\",\"url\":\"https://docs.nebius.com\",\"publisher\":{\"@id\":\"https://docs.nebius.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges#webpage\",\"url\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges\",\"name\":\"Getting public IPv4 ranges\",\"dateModified\":\"2026-11-16T09:44:39.829Z\",\"isPartOf\":{\"@id\":\"https://docs.nebius.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Virtual Networks\",\"item\":\"https://docs.nebius.com/vpc\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Addressing\",\"item\":\"https://docs.nebius.com/vpc/addressing/available-addresses\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Getting public IPv4 ranges\",\"item\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges#article\",\"headline\":\"Getting public IPv4 ranges\",\"name\":\"Getting public IPv4 ranges\",\"url\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nebius.com/vpc/addressing/public-address-ranges#webpage\"},\"dateModified\":\"2026-11-16T09:44:39.829Z\",\"publisher\":{\"@id\":\"https://docs.nebius.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nebius.com#website\"}}]}\u003c/script>","agentPointerHref":"/vpc/addressing/public-address-ranges.md","siteName":"Nebius AI Cloud","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Infrastructure","menu":[{"item":"Compute","pages":[{"title":"Compute","href":"/compute"}]},{"item":"Storage","pages":[{"title":"Storage","href":"/object-storage"}]},{"item":"Network","pages":[{"group":"Virtual Networks","pages":[{"title":"Virtual Networks","sidebarTitle":"Overview","href":"/vpc"},{"title":"About Virtual Networks","sidebarTitle":"About Virtual Networks","href":"/vpc/overview"},{"group":"Networking","pages":[{"title":"Getting network and subnet IDs for Nebius AI Cloud resources","sidebarTitle":"Getting network and subnet IDs","href":"/vpc/networking/resources"},{"title":"Isolating Nebius AI Cloud resources in separate networks","sidebarTitle":"Isolating resources via networks","href":"/vpc/networking/isolation"}]},{"group":"Addressing","pages":[{"title":"Ranges of private IP addresses per region for a default private pool","sidebarTitle":"CIDR blocks per region for a default private pool","mode":"wide","description":null,"href":"/vpc/addressing/available-addresses"},{"title":"Getting public IPv4 ranges","sidebarTitle":"Getting public IPv4 ranges","href":"/vpc/addressing/public-address-ranges"},{"title":"Allocating custom private addresses to resources","sidebarTitle":"Allocating custom private addresses","description":null,"href":"/vpc/addressing/custom-private-addresses"},{"title":"Disabling public addresses for a subnet","sidebarTitle":"Disabling public addresses for a subnet","href":"/vpc/addressing/disable-public-addresses"}]},{"group":"Routing","pages":[{"title":"Routing in Nebius AI Cloud","sidebarTitle":"How routing works","href":"/vpc/routing/overview"},{"title":"Managing routing tables and routes","sidebarTitle":"Managing routing tables and routes","href":"/vpc/routing/manage"},{"title":"Setting up a custom NAT gateway for subnets","sidebarTitle":"Setting up a custom NAT gateway","href":"/vpc/routing/custom-nat-gateway"}]},{"group":"DNS","pages":[{"title":"About DNS","sidebarTitle":"About DNS","href":"/vpc/dns/overview"},{"title":"Managing DNS zones","sidebarTitle":"Managing DNS zones","href":"/vpc/dns/manage-zones"},{"title":"Managing DNS records","sidebarTitle":"Managing DNS records","href":"/vpc/dns/manage-records"},{"title":"DNS quotas and constraints","sidebarTitle":"Quotas and constraints","href":"/vpc/dns/resources/quotas-limits"}]},{"group":"Security groups","pages":[{"title":"Security groups in Nebius AI Cloud","sidebarTitle":"How security groups work","href":"/vpc/security-groups/overview"},{"title":"Managing security groups and security rules","sidebarTitle":"Managing security groups and security rules","href":"/vpc/security-groups/manage"}]},{"group":"VPN","pages":[{"title":"Nebius VPN Gateway","sidebarTitle":"Nebius VPN Gateway","href":"/vpc/nebius-vpn-gateway"}]},{"group":"Resources","pages":[{"title":"Virtual Networks quotas and constraints","sidebarTitle":"Quotas and constraints","href":"/vpc/resources/quotas-limits"},{"title":"Pricing in Virtual Networks","sidebarTitle":"Pricing","href":"/vpc/resources/pricing"}]}]},{"group":"Nebius Tunnels","pages":[{"title":"Nebius Tunnels","sidebarTitle":"Overview","href":"/tunnels/index"},{"title":"About Nebius Tunnels","sidebarTitle":"About Nebius Tunnels","href":"/tunnels/overview"},{"title":"Getting started with Nebius Tunnels: Connect a VM service to the internet","sidebarTitle":"Getting started","href":"/tunnels/quickstart"},{"group":"Managing tunnels","pages":[{"title":"How to create a tunnel in Nebius Tunnels","sidebarTitle":"Creating a tunnel","href":"/tunnels/create"},{"title":"How to connect to a tunnel","sidebarTitle":"Connecting to a tunnel","href":"/tunnels/connect"},{"title":"How to delete a tunnel in Nebius Tunnels","sidebarTitle":"Deleting a tunnel","href":"/tunnels/delete"}]},{"group":"🧑🏫 Tutorials","pages":[{"title":"Connecting to a virtual machine without a public IP address by using Nebius Tunnels","sidebarTitle":"Connecting to a private VM","href":"/tunnels/tutorials/connect-vm"},{"title":"Deploying JupyterLab® on a virtual machine by using Nebius Tunnels","sidebarTitle":"Deploying JupyterLab®","href":"/tunnels/tutorials/jupyterlab"},{"title":"Deploying an LLM on a virtual machine by using Nebius Tunnels","sidebarTitle":"Deploying an LLM","href":"/tunnels/tutorials/llm"},{"title":"Receiving webhooks in a private service by using Nebius Tunnels","sidebarTitle":"Receiving webhooks","href":"/tunnels/tutorials/webhook"}]},{"group":"Resources","pages":[{"title":"Nebius Tunnels limits and constraints","sidebarTitle":"Limits and constraints","href":"/tunnels/resources/quotas-limits"},{"title":"Nebius Tunnels pricing","sidebarTitle":"Pricing","href":"/tunnels/resources/pricing"},{"title":"Nebius Tunnels Agent changelog","sidebarTitle":"Nebius Tunnels Agent changelog","href":"/tunnels/resources/tunnels-agent-changelog"}]}]}]}]},{"tab":"AI services","pages":[{"title":"AI services","href":"/ai-services"}]},{"tab":"Observability","pages":[{"title":"Observability","href":"/observability"}]},{"tab":"Management","pages":[{"title":"Management","href":"/signup-billing"}]},{"tab":"Security and cryptography","pages":[{"title":"Security and cryptography","href":"/security/encryption"}]},{"tab":"Developer tools","pages":[{"title":"Developer tools","href":"/developer-tools"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Managed Service for Apache Spark™","hidden":true,"pages":[{"title":"Managed Service for Apache Spark™","href":"/spark"}]},{"tab":"Legal","pages":[{"title":"Legal","href":"/legal"}]}]},"basePath":"","title":"Getting public IPv4 ranges - Nebius AI Cloud","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}