SimplyStack
APIAPIMetaMeta
(opens in a new tab)
    • Introduction
    • Responses
    • Get DNS Attributes
    • Get DNS Nameservers
    • Get Floating Ipv4 Address
    • Get Floating Ipv4 Attributes
    • Get Floating Ipv4 Index
    • Get Floating Ipv4 State
    • Get Anchor Interface Ipv4 Address
    • Get Anchor Interface Ipv4 Attributes
    • Get Anchor Interface Ipv4 Gateway
    • Get Anchor Interface Ipv4 Netmask
    • Get Network Interface Index
    • Get Public Interface Attributes
    • Get Public Interface Index
    • Get Public Interface Ipv4 Address
    • Get Public Interface Ipv4 Attributes
    • Get Public Interface Ipv4 Gateway
    • Get Public Interface Ipv4 Netmask
    • Get Public Interface Ipv6 Address
    • Get Public Interface Ipv6 Attributes
    • Get Public Interface Ipv6 Cidr
    • Get Public Interface Ipv6 Gateway
    • Get Public Interface Mac Address
    • Get Public Interface Type
    • Get Hostname
    • Get Metadata Index
    • Get Metadata Json
    • Get Public Keys
    • Get Region
    • Get Stacklet Id
    • Get User Data
    • Get Vendor Data

On This Page

  • Endpoint
  • Response
  • Example
Question? Give us feedback → (opens in a new tab)Edit this page
Meta
Network Interfaces
Get Anchor Interface Ipv4 Netmask

Get Anchor Interface IPv4 Netmask

Returns the netmask of the specified network interface.

Endpoint

http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4_anchor/netmask

Response

—200

Anchor interface netmask in plan text.

Example

text
255.255.0.0
Get Anchor Interface Ipv4 GatewayGet Network Interface Index

© 2023 SimplyStack. All rights reserved.