Modify VLAN attachments

This document describes how to modify Dedicated Interconnect VLAN attachments and their Border Gateway Protocol (BGP) sessions.

For more information about the terms used on this page and their definitions, see Cloud Interconnect key terms.

The following table lists VLAN attachment and BGP session properties. It also provides information about how to modify them.

Property How to modify

Description

Capacity

MTU

For details, see the next section Modify description, capacity, and MTU.

Modifications are immediate and in rare cases, can cause traffic disruption. If traffic is disrupted, the disruption lasts less than a minute.

Stack type

You can change the stack type of an existing VLAN attachment to IPv4 only (single stack) or IPv4 and IPv6 (dual stack).

If you change the stack type of your VLAN attachment, your existing traffic might be rerouted or dropped. For more details, see Modify stack type.

Whether a VLAN attachment is enabled or disabled To disable or re-enable a VLAN attachment, see Disable VLAN attachments.

VLAN ID

BGP IP addresses (Cloud Router IP address, on-premises router IP address)

You can't modify these properties for existing attachments. Instead, you must recreate the VLAN attachment.

To create VLAN attachments for Dedicated Interconnect, see Create VLAN attachments.

Custom learned routes Follow the steps in Update an existing session to use custom learned routes.
MD5 authentication Follow the steps in Add authentication to an existing session.

The peer ASN is not a property of the VLAN attachment—it is part of the BGP configuration of the Cloud Router. To modify the peer ASN, update the Cloud Router's BGP session for the VLAN attachment.

For more information, see the following resources:

Modify description, capacity, and MTU

The section provides instructions for updating the description, capacity, and maximum transmission unit (MTU) of a VLAN attachment. Changing the attributes of a VLAN attachment, in rare cases, can cause traffic disruption. If traffic is disrupted, the disruption lasts less than a minute.

To make use of a 1460-, 1500-, or 8896-byte MTU, the VPC network that uses the attachment must have the same MTU value. In addition, the on-premises virtual machine (VM) instances and routers must also have the same MTU value. If your network has the default MTU of 1460, then select an MTU of 1460 for your VLAN attachment.

You cannot modify the MTU (1440) of an encrypted VLAN attachment that is used in an HA VPN over Cloud Interconnect deployment.

Console

  1. In the Google Cloud console, go to the Cloud Interconnect VLAN attachments tab.

    Go to VLAN attachments

  2. Select the VLAN attachment to modify.

  3. On the attachment's detail page, click Edit.

  4. Modify your VLAN attachment:

    • Description: Information about the VLAN attachment.
    • Capacity: The maximum bandwidth of the attachment. If you modify the capacity of an encrypted VLAN attachment, you might need to add HA VPN tunnels to accommodate increased traffic. For more information, see Configure HA VPN over Cloud Interconnect.
    • Maximum transmission unit (MTU): The MTU of the attachment.
  5. Click Save.

gcloud

Modify an interconnectAttachment by specifying the name of the existing VLAN attachment and the attributes to modify:

gcloud compute interconnects attachments dedicated update NAME \
    --region=REGION \
    --description=DESCRIPTION \
    --bandwidth=BANDWIDTH \
    --mtu=MTU

Replace the following:

  • NAME: the name of the existing VLAN attachment
  • REGION: the region of the attachment
  • DESCRIPTION: a description of the attachment
  • BANDWIDTH: the provisioned capacity of the attachment. If you modify the capacity of an encrypted VLAN attachment, you might need to add HA VPN tunnels to accommodate the increased traffic. For more information, see Configure HA VPN over Cloud Interconnect.
  • MTU: the MTU of the attachment

For more information, see the gcloud compute interconnects attachments dedicated update reference.

Modify stack type

You can change the stack type of an existing VLAN attachment to IPv4 only (single stack) or IPv4 and IPv6 (dual stack). However, a VLAN attachment with both an IPv4 and an IPv6 BGP session can't be converted to the IPv4-only stack type without deleting its IPv6 BGP session.

To support IPv6 traffic over a Dedicated Interconnect connection, you must use a dual-stack VLAN attachment. With a dual-stack VLAN attachment, you can configure an IPv6 BGP session, or you can enable IPv6 route exchange in an IPv4 BGP session.

You can't modify the stack type of VLAN attachments that you create for HA VPN over Cloud Interconnect. Encrypted VLAN attachments only support the IPv4 only (single stack) stack type.

With a dual-stack VLAN attachment, you can also configure an IPv4 BGP session and an IPv6 BGP session that run in parallel. For more information, see Parallel IPv4 and IPv6 BGP sessions.

Modification impact on IPv4 and IPv6 traffic

The following table describes how the stack type configuration of the VLAN attachment combined with the BGP session configuration affects IPv4 and IPv6 traffic.

Original stack type of VLAN attachment Modified stack type of VLAN attachment BGP session MP-BGP configuration Impact on traffic
IPv4 and IPv6 (dual stack) IPv4 only IPv4 BGP IPv6 disabled No IPv6 traffic supported; only IPv4 traffic. This is the default state for Dedicated Interconnect and Cloud Router.
IPv4 and IPv6 (dual stack) IPv4 only IPv4 BGP IPv6 enabled

No IPv6 traffic supported. Because the VLAN attachment is configured as IPv4 only, Cloud Router automatically disables IPv6 route exchange for the BGP session.

However, if the VLAN attachment previously had IPv6 route exchange enabled for the IPv4 BGP session, then Google Cloud might retain IPv6 BGP addresses for the VLAN attachment. Google Cloud can reuse these addresses if IPv6 route exchange is later re-enabled for the VLAN attachment.

IPv4 only IPv4 and IPv6 (dual stack) IPv4 BGP IPv6 enabled

Both IPv4 and IPv6 traffic are supported.

This is the supported configuration for an IPv4 BGP session that uses MP-BGP and exchanges IPv6 routes in Dedicated Interconnect.

IPv4 and IPv6 (dual stack) IPv4 only IPv6 BGP IPv4 enabled or disabled

Dual-stack VLAN attachments with an IPv6 BGP session can't be changed to an IPv4 only stack type. To change the stack type to IPv4 only, first delete the IPv6 BGP session.

IPv4 and IPv6 (dual stack) IPv4 only Both IPv4 BGP and IPv6 BGP Not applicable

Dual-stack VLAN attachments with an IPv6 BGP session can't be changed to an IPv4 only stack type. To change the stack type to IPv4 only, first delete the IPv6 BGP session.

Disable IPv6 traffic

You can temporarily disable IPv6 traffic in your Dedicated Interconnect VLAN attachment for troubleshooting.

Disabling your IPv6 BGP session or disabling IPv6 route exchange in the IPv4 BGP session is less disruptive to your Cloud Interconnect configuration than changing the stack type of your VLAN attachment.

If you are using an IPv6 BGP session, you can disable your entire BGP session instead of switching the stack type of the VLAN attachment. For information about how to disable a BGP session, see Disable or remove BGP sessions.

To disable IPv6 traffic temporarily in an IPv4 BGP session, you can disable IPv6 route exchange in the IPv4 BGP session. For information about how to disable IPv6 route exchange in an IPv4 BGP session, see Configure multiprotocol BGP for IPv4 or IPv6 BGP sessions.

Change VLAN attachment stack type

Console

  1. In the Google Cloud console, go to the Cloud Interconnect VLAN attachments tab.

    Go to VLAN attachments

  2. Select the VLAN attachment to modify.

  3. On the attachment's detail page, click Edit.

  4. Modify the stack type of the VLAN attachment by selecting IPv4 (single stack) or IPv4 and IPv6 (dual stack).

    If you are modifying an IPv4-only VLAN attachment to use IPv4 and IPv6 (dual stack), you can complete the configuration by choosing one of the following configurations:

  1. Click Save and continue.

gcloud

Change VLAN attachment stack type from IPv4 (single stack) to IPv4 and IPv6 (dual stack)

  1. Modify a VLAN attachment by specifying the name of the existing attachment and the attributes to modify:

    gcloud compute interconnects attachments dedicated update ATTACHMENT_NAME \
        --stack-type=IPV4_IPV6
    

    Replace ATTACHMENT_NAME with the name of your VLAN attachment.

  2. Complete the configuration by choosing one of the following configurations:

Change VLAN attachment stack type to IPv4 (single stack)

If the VLAN attachment has an IPv6 BGP session, do the following:

  1. Delete the IPv6 BGP peer from Cloud Router:

    gcloud compute routers remove-bgp-peer ROUTER_NAME \
        --peer-name=BGP_PEER_NAME \
        --region=REGION
    

    Replace the following:

    • ROUTER_NAME: the name of the Cloud Router
    • BGP_PEER_NAME: the name of the IPv6 BGP peer
    • REGION: the region in which your Cloud Router is located
  2. Delete the IPv6 interface from Cloud Router:

    gcloud compute routers remove-interface ROUTER_NAME \
        --interface-name=INTERFACE_NAME \
        --region=REGION
    

    Replace INTERFACE_NAME with the name of the IPv6 Cloud Router interface.

  3. Update the Cloud Interconnect VLAN attachment:

    gcloud compute interconnects attachments dedicated update ATTACHMENT_NAME \
        --stack-type=IPV4_ONLY \
        --region=REGION
    

    Replace ATTACHMENT_NAME with the name of your Cloud Interconnect VLAN attachment.

What's next