Skip to content

Instance networking tab to support add/remove transit IPs #2381

Closed

Description

@askfongjojo

The use of transit IPs is a special use case of custom routes, illustrated in Example 4 of the Networking guide. The optional array attribute transit_ips defines which target IPs (of other instances in the same subnet) will have their packets re-routed to the instance linked to these IPs.

Activity

  1. added this to the 11 milestone on Aug 19, 2024
  2. david-crespo commented on Aug 19, 2024

    @david-crespo
    Collaborator

    Pretty straightforward, just a list on the NIC. We can add a column in the table and use ListPlusCell to display the list.

    export type InstanceNetworkInterfaceUpdate = {
    description?: string
    name?: Name
    /** Make a secondary interface the instance's primary interface.
    If applied to a secondary interface, that interface will become the primary on the next reboot of the instance. Note that this may have implications for routing between instances, as the new primary interface will be on a distinct subnet from the previous primary interface.
    Note that this can only be used to select a new primary interface for an instance. Requests to change the primary interface into a secondary will return an error. */
    primary?: boolean
    /** A set of additional networks that this interface may send and receive traffic on. */
    transitIps?: IpNet[]
    }

  3. self-assigned this
    on Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions