/24 203.0.113.0 Size /16–/24 ROA · AS396982 PTR Verified
Automation

Is Your IP Range Ready for BYOIP? Three Checks You Can Automate

BYOIP.info Editorial25 November 2026 5 min read Last technically reviewed 25 November 2026

Key takeaways

  • For Google Cloud regional v2 Premium Tier, verify /16 through /24 import size, ROA validity for ASN 396982, and the provider-issued PTR record.
  • An absent covering ROA (NotFound) is a different validation state from a conflicting covering ROA (Invalid), and both route to the prefix holder.
  • Run the PTR check only after Google Cloud supplies the verification name, and route mismatches to the authoritative reverse-zone operator.
  • Passing preflight makes the prefix ready for provider review; quotas, rights to use the block, provisioning, and cutover remain separate gates.

A Bring Your Own IP (BYOIP) onboarding submission fails far less often when you automate three deterministic preflight checks before asking the cloud provider to validate your prefix. Using a public IPv4 /24 targeting Google Cloud regional v2 Premium Tier as a concrete walkthrough, you can verify prefix size, route origin authorization, and reverse Domain Name System (DNS) readiness - and map every failure straight to the role that can fix it.

In manual workflows, a prefix sits in validation for days because a certificate, Route Origin Authorization (ROA), or reverse-DNS record was published with the wrong parameter. As described in Automating BYOIP: From Registry Proof to Cloud Advertisement, preflight checks turn those slow feedback loops into repeatable machine-readable reports.

Three checks for Google Cloud regional v2 Premium Tier

Consider a team preparing the documentation range 203.0.113.0/24 (reserved for documentation under RFC 5737) as a Public Advertised Prefix (PAP) on Google Cloud regional v2 Premium Tier. Three checks cover the core pre-validation gates described in the Google Cloud BYOIP overview and PAP creation procedure:

  1. Prefix size and alignment: For an external IPv4 PAP in Google Cloud regional v2 Premium Tier, the imported prefix must be between /16 and /24 inclusive and aligned on its Classless Inter-Domain Routing (CIDR) boundary. A /24 passes this import check; a /25 or /28 does not qualify as a standalone PAP.
  2. Route Origin Authorization (ROA) check: Resource Public Key Infrastructure (RPKI) validation confirms whether published ROAs authorize Google’s origin Autonomous System Number (ASN) to originate the prefix. For Google Cloud regional v2 Premium Tier, the documented Google origin ASN is AS396982 (see What Is RPKI? ROAs, Origin Validation and Your BYOIP Prefix for how ROAs work). An automated preflight script can query the RIPEstat RPKI validation endpoint with the prefix and intended origin ASN 396982.
  3. Reverse-DNS (PTR) verification record: Introduce the Pointer (PTR) check only after Google Cloud has generated the DNS verification name during PAP creation. Query the authoritative reverse-DNS servers for the first address in the block (for example, 0.113.0.203.in-addr.arpa) and compare the observed PTR value against Google’s expected verification string.

Why an absent ROA differs from a conflicting ROA

When automating the second check, treat NotFound (often surfaced as unknown) and Invalid as distinct outcomes:

  • Absent covering ROA (NotFound / unknown): No published ROA covers 203.0.113.0/24 yet. The prefix holder still needs to create a ROA authorizing AS396982 before Google Cloud will complete validation, but no other ROA actively contradicts it.
  • Conflicting covering ROA (Invalid): A covering ROA already exists, yet it authorizes a different ASN (or sets a shorter maximum prefix length than /24). For example, if a covering ROA authorizes only an example ASN such as AS64512, validating 203.0.113.0/24 for AS396982 returns Invalid. The prefix holder must publish an additional ROA authorizing AS396982 (while keeping the current provider’s ROA during migration if traffic is still live elsewhere).

Read a preflight report and route each failure

A useful preflight report prints the exact expected value, the observed value, the verdict, and the owner who holds authority to change that system. All prefixes, ASNs, and PTR strings in the table below are illustrative fixtures for 203.0.113.0/24:

Illustrative scenarioFailed or passing checkObserved vs. expectedWho can resolve it
Wrong originROA validation fails (Invalid)Covering ROA authorizes AS64512; expected AS396982Registered prefix holder / Regional Internet Registry (RIR) portal operator
Wrong PTRReverse-DNS verification failsObserved legacy-gw.example.net; expected Google-issued gcp-verify-203-0-113-0.exampleAuthoritative reverse-zone operator (prefix holder or delegated DNS administrator)
All checks passSize, ROA, and PTR all pass/24 valid, ROA valid for AS396982, PTR matches provider stringCloud operator can proceed - Ready for provider review

Switch between the three fixture scenarios below to inspect how the report values, verdicts, and owner routing change:

Illustrative Preflight Report · 203.0.113.0/24

Target: Google Cloud regional v2 Premium Tier (expected origin AS396982). All records are local example fixtures.

Blocked: ROA origin mismatch

Ask the registered prefix holder (RIR portal operator) to publish a ROA authorizing AS396982 for 203.0.113.0/24.

1. Import prefix sizePass
Expected
IPv4 /16 through /24 (aligned)
Observed
203.0.113.0/24
Responsible role
Cloud operator

Meets Google Cloud regional v2 Premium Tier PAP size requirements.

2. RPKI ROA validationFail
Expected
Valid for origin AS396982 (maxLength /24)
Observed
Invalid — covering ROA authorizes only example ASN AS64512
Responsible role
Registered prefix holder / RIR portal operator

A covering ROA exists for a different origin ASN, so intended origin AS396982 validates as Invalid.

3. Reverse DNS (PTR)Pass
Expected
gcp-verify-203-0-113-0.example
Observed
gcp-verify-203-0-113-0.example
Responsible role
Authoritative reverse-zone operator

Authoritative PTR matches Google Cloud’s issued verification value.

What a passing preflight report does not prove

When all three checks pass, the prefix is ready for provider review - nothing more and nothing less. A green preflight report does not mean the prefix is already provisioned, advertised, or carrying customer traffic. Several controls remain outside these three automated checks:

  • Right to use the block: Contractual lease permissions, Letter of Authorization (LOA) terms, and clean registry stewardship must be verified separately.
  • Cloud quotas and service eligibility: Project-level BYOIP quotas, selected tier constraints, and target Compute Engine or load-balancer compatibility sit in the cloud control plane.
  • Provisioning and routing cutover: Google Cloud regional v2 PAP provisioning takes roughly two weeks, and BGP advertisement, traffic cutover, and external reachability monitoring still require deliberate operational gates.

FAQ

Automating BYOIP: From Registry Proof to Cloud Advertisement
What Is RPKI? ROAs, Origin Validation and Your BYOIP Prefix
What Is Reverse DNS? PTR Records Explained
Your Cloud Says “Advertised.” Can Users Reach Your IP?
Google Cloud - Create a public advertised prefix
Google Cloud - Bring your own IP addresses
RIPEstat - RPKI Validation Data API

Ready to see where BYOIP is supported?

Continue the series