연결 활성화

Oracle Cloud Infrastructure(OCI)에서 Oracle Cloud Infrastructure(OCI)용 Partner Cross-Cloud Interconnect 연결을 위한 VLAN 연결을 구성한 후 VLAN 연결에서 트래픽을 전달하려면 먼저 이 연결을 활성화해야 합니다. VLAN 연결을 활성화하면 이 연결에서 트래픽 전달을 시작하기 전에 먼저 OCI와 성공적으로 연결되는지 확인할 수 있습니다. 또한 이 연결에서 트래픽을 전달하기 시작하는 시기를 제어할 수 있습니다.

VLAN 연결을 사전 활성화하면 VLAN 연결이 구성된 후 자동으로 활성화됩니다.

이 페이지에 사용된 용어 정의는 Cloud Interconnect 주요 용어를 참조하세요.

Oracle Cloud Infrastructure(OCI)용 Partner Cross-Cloud Interconnect를 사용할 때 발생할 수 있는 일반적인 문제를 해결하려면 문제 해결을 참조하세요.

VLAN 연결을 활성화하려면 다음 단계를 수행합니다.

콘솔

  1. Google Cloud 콘솔에서 VLAN 연결 탭으로 이동합니다.

    VLAN 연결로 이동

  2. 세부정보 페이지를 보려는 VLAN 연결을 선택합니다.

  3. 연결 상태가 Waiting for service provider이면 연결 페어링 키를 사용하여 FastConnect 가상 회선을 만들었는지 확인합니다.

  4. 상호 연결 정보를 검토하여 OCI가 VLAN 연결을 구성했는지 확인합니다.

    원하지 않는 타사에서 VLAN 연결과 페어링한 경우에는 연결을 삭제한 후 새로 만들어 새 페어링 키를 생성합니다. 새 페어링 키를 사용하여 OCI에서 또 다른 연결을 요청합니다.

  5. 활성화를 클릭합니다.

gcloud

  1. 세부정보를 보려는 VLAN 연결을 기술합니다. 활성화하려면 연결 상태가 PENDING_CUSTOMER여야 합니다.

    gcloud compute interconnects attachments describe ATTACHMENT_NAME \
        --region=REGION
    

    다음을 바꿉니다.

    • ATTACHMENT_NAME: VLAN 연결의 이름

    • REGION: VLAN 연결이 있는 리전

    출력은 IPv4 VLAN 연결의 경우 다음과 비슷합니다.

    adminEnabled: false
    edgeAvailabilityDomain: AVAILABILITY_DOMAIN_1
    bandwidth: BPS_1G
    cloudRouterIpAddress: 169.254.67.201/29
    creationTimestamp: '2017-12-01T08:29:09.886-08:00'
    customerRouterIpAddress: 169.254.67.202/29
    id: '7976913826166357434'
    kind: compute#interconnectAttachment
    labelFingerprint: 42WmSpB8rSM=
    name: ATTACHMENT_NAME
    pairingKey: 7e51371e-72a3-40b5-b844-2e3efefaee59/REGION/2
    partnerMetadata:
      interconnectName: New York (2)
      partnerName: My Service Provider Inc
      portalUrl: https://service-provider-portal.com
    region: https://www.googleapis.com/compute/v1/projects/customer-project/regions/REGION
    router: https://www.googleapis.com/compute/v1/projects/customer-project/regions/REGION/routers/my-router
    selfLink: https://www.googleapis.com/compute/v1/projects/customer-project/regions/REGION/interconnectAttachments/my-attachment
    stackType: IPV4_ONLY
    state: PENDING_CUSTOMER
    type: PARTNER
    vlanTag8021q: 1000
    

    출력은 IPv4 및 IPv6(이중 스택) VLAN 연결의 경우 다음과 비슷합니다.

    adminEnabled: false
    edgeAvailabilityDomain: AVAILABILITY_DOMAIN_1
    bandwidth: BPS_1G
    cloudRouterIpAddress: 169.254.67.201/29
    cloudRouterIpv6Address: 2600:2d00:0:1::1/125
    creationTimestamp: '2017-12-01T08:31:11.580-08:00'
    customerRouterIpAddress: 169.254.67.202/29
    customerRouterIpv6Address: 2600:2d00:0:1::2/125
    description: Interconnect for Customer 1
    id: '7193021941765913888'
    interconnect: https://www.googleapis.com/compute/alpha/projects/partner-project/global/interconnects/lga-2
    kind: compute#interconnectAttachment
    labelFingerprint: 42WmSpB8rSM=
    name: ATTACHMENT_NAME
    partnerMetadata:
      interconnectName: New York (2)
      partnerName: Partner Inc
      portalUrl: https://partner-portal.com
    region: https://www.googleapis.com/compute/alpha/projects/partner-project/regions/REGION
    selfLink: https://www.googleapis.com/compute/alpha/projects/partner-project/regions/REGION/interconnectAttachments/customer-attachment
    stackType: IPV4_IPV6
    state: PENDING_CUSTOMER
    type: PARTNER
    vlanTag8021q: 1000
    

    OCI가 VLAN 연결을 구성하면 연결 상태가 PENDING_PARTNER에서 PENDING_CUSTOMER로 변경됩니다. 상태가 아직 PENDING_PARTNER이면 OCI가 VLAN 구성을 완료할 때까지 기다립니다.

  2. partnerMetadata 필드를 확인하여 OCI가 표시되는지 확인합니다.

    원하지 않는 타사에서 VLAN 연결과 페어링한 경우에는 연결을 삭제한 후 새로 만들어 새 페어링 키를 생성합니다. 새 페어링 키를 사용하여 OCI에서 또 다른 연결을 요청합니다.

  3. --adminEnabled 플래그를 사용하여 연결을 활성화합니다.

    gcloud compute interconnects attachments partner update ATTACHMENT_NAME \
        --region=REGION \
        --admin-enabled
    

활성화 후에 VLAN 연결에서 트래픽을 전달할 수 있습니다. OCI는 VLAN 연결을 구성할 때 자율 시스템 번호(ASN)를 제공하면 Google이 자동으로 해당 ASN을 Cloud Router의 경계 경로 프로토콜(BGP) 세션에 추가합니다.

Cloud Router를 구성하려면 다음 단계를 수행합니다.

Console

  1. Google Cloud 콘솔에서 VLAN 연결 탭으로 이동합니다.

    VLAN 연결로 이동

  2. 활성화한 VLAN 연결을 선택하여 세부정보 페이지를 봅니다.

  3. BGP 구성을 클릭합니다.

  4. 피어 ASN 필드에 온프레미스 라우터의 ASN을 추가합니다.

  5. 저장 후 계속을 클릭합니다.

gcloud

  1. VLAN 연결과 연결된 BGP 피어마다 VLAN 연결과 연결된 Cloud Router를 설명한 후 VLAN 연결과 연결되고 자동으로 생성된 BGP 피어의 이름을 찾습니다.

    다음 명령어를 실행합니다.

    gcloud compute routers describe ROUTER_NAME \
       --region=REGION
    

    다음을 바꿉니다.

    • ROUTER_NAME: Cloud Router의 이름
    • REGION: Cloud Router가 있는 리전

    출력은 IPv4 VLAN 연결의 경우 다음과 비슷합니다.

    bgp:
     advertiseMode: DEFAULT
     asn: 16550
    bgpPeers:
    - interfaceName: auto-ia-if-my-attachment-c2c53a710bd6c2e
     ipAddress: 169.254.67.201
     managementType: MANAGED_BY_ATTACHMENT
     name: auto-ia-bgp-my-attachment-c2c53a710bd6c2e
     peerIpAddress: 169.254.67.202
    creationTimestamp: '2018-01-25T07:14:43.068-08:00'
    description: 'test'
    id: '4370996577373014668'
    interfaces:
    - ipRange: 169.254.67.201/29
     linkedInterconnectAttachment: https://www.googleapis.com/compute/alpha/projects/customer-project/regions/REGION/interconnectAttachments/my-attachment-partner
     managementType: MANAGED_BY_ATTACHMENT
     name: auto-ia-if-my-attachment-c2c53a710bd6c2e
    kind: compute#router
    name: partner
    network: https://www.googleapis.com/compute/v1/projects/customer-project/global/networks/default
    region: https://www.googleapis.com/compute/v1/projects/customer-project/regions/REGION
    selfLink: https://www.googleapis.com/compute/v1/projects/customer-project/regions/REGION/routers/my-router
    

    출력은 IPv4 및 IPv6(이중 스택) VLAN 연결의 경우 다음과 비슷합니다.

    bgp:
     advertiseMode: DEFAULT
     asn: 16550
    bgpPeers:
    - enableIpv4: true
     enableIpv6: false
     ipAddress: 169.254.67.201
     interfaceName: auto-ia-if-my-attachment-0098154607ecb20
     managementType: MANAGED_BY_ATTACHMENT
     name: auto-ia-bgp4-my-attachment-0098154607ecb20
     peerIpAddress: 169.254.67.202
    - enableIpv4: false
     enableIpv6: true
     ipAddress: 2600:2d00:0:1::1
     interfaceName: auto-ia-if6-my-attachment-0098154607ecb20
     managementType: MANAGED_BY_ATTACHMENT
     name: auto-ia-bgp6-my-attachment-0098154607ecb20
     peerIpAddress: 2600:2d00:0:1::2
    creationTimestamp: '2018-03-29T09:58:25.476-07:00'
    description: ''
    id: '466013140766729694'
    interfaces:
    - ipRange: 169.254.67.201/29
     linkedInterconnectAttachment: https://www.googleapis.com/compute/alpha/projects/customer-project/regions/REGION/interconnectAttachments/customer-attachment
     managementType: MANAGED_BY_ATTACHMENT
     name: auto-ia-if-customer-attach-0098154607ecb20
    - ipRange: 2600:2d00:0:1::1/125
     linkedInterconnectAttachment: https://www.googleapis.com/compute/alpha/projects/customer-project/regions/REGION/interconnectAttachments/customer-attachment
     managementType: MANAGED_BY_ATTACHMENT
     name: auto-ia-if6-customer-attach-0098154607ecb20
    kind: compute#router
    name: customer-router
    network: https://www.googleapis.com/compute/alpha/projects/customer-project/global/networks/default
    region: https://www.googleapis.com/compute/alpha/projects/customer-project/regions/REGION
    selfLink: https://www.googleapis.com/compute/alpha/projects/customer-project/regions/REGION/routers/customer-router
    
  2. 온프레미스 라우터의 ASN으로 각 BGP 피어를 업데이트합니다.

    IPv4 BGP 피어의 경우 다음 명령어를 실행합니다.

    gcloud compute routers update-bgp-peer ROUTER_NAME \
       --peer-name=IPV4_PEER_NAME \
       --peer-asn=ON_PREM_ASN \
       --region=REGION
    

    다음을 바꿉니다.

    • IPV4_PEER_NAME: gcloud compute routers describe 명령어의 출력에서 enableIpv4: true가 포함된 bgpPeers 항목의 name
    • ON_PREM_ASN: 온프레미스 라우터의 ASN

    IPv6 BGP 피어의 경우 다음 명령어를 실행합니다.

    gcloud compute routers update-bgp-peer ROUTER_NAME \
       --peer-name=IPV6_PEER_NAME \
       --peer-asn=ON_PREM_ASN \
       --region=REGION
    

    IPV6_PEER_NAMEgcloud compute routers describe 명령어의 출력에서 enableIpv6: true가 포함된 bgpPeers 항목의 name으로 바꿉니다.

문제 해결

자세한 안내는 문제 해결을 참조하세요.