Microsoft Azure Express Route (專線直連)到雲端數據中心(2)

有關客戶側的BGP路由器的配置參考:

有關VLANID: VLANID是客戶自定義的internalVLAN,不同的客戶可以使用相同的VLANID,對於IXP來說,會有一個唯一的S-tag進行標記,不需要客戶配置網絡底層的S-tag。詳見下文配置示例(僅供參考):

Specify C-tags (VLAN ID)

Customerneed tospecify 2 C-tags to identify the P2P subinterface traffics. C-tag isgenerally aVLAN ID, you can specify it from 1 to4094. Any number is ok. Differentcustomers can use same C-tags, allowoverlap. C-tag is inner VLAN,when packetspassed to IXP, IXP will add an S-tagto the packets, as outer VLANID. S-taguniquely identified a customer’s trafficthrough IXP network.

 

Terminology

Circuit:     Alogical representation of connection between the customer and Azure

MSEEMicrosoftServiceEnterprise Edge

VNETVirtualNetwork

APPSAzurePublicPeering Services e.g. Storage, SQL,…

IXP    InternetExchange Point

VRF  Virtualrouting and forwarding

Servicekey     An ID(typically a GUID) used to uniquely identify acustomer circuit

BGP  BorderGateway Protocol

S-tag  A VLANtagunique identify a customer’s traffic on a physical port

C-tag1      Uniquelyidentify public peering traffic

C-tag2      Uniquelyidentify private peering traffic

 

2.       有關路由器的配置參考:https://azure.microsoft.com/en-us/documentation/articles/expre***oute-config-samples-routing/

該鏈接提供Cisco IOS-XE 和JuniperMX系列路由器的接口和路由配置示例。這些示例僅供參考,請不要完全按其配置。請聯繫您路由器方的技術支持爲您的網絡設備提供適合的配置。

請注意:本郵件下文及文檔中的配置示例僅用於參考,您需要聯繫您的路由器技術支持團隊和您的網絡團隊,來進行滿足您需求的配置。本郵件及鏈接文檔中涉及的路由器配置條目,Windows Azure不提供技術支持。請聯繫您的設備廠商獲取類似問題的技術支持。

 

1.       P2Pinterface configuration

StandardTemplate(cisco):

interfaceEthernet<Interface_Number>.<Number> //createsub-interface,sub number use  C-tag

description<Followstandarddescription>  //configure interface description

ipaddress<IPv4_Address> <Mask>  //configure interface IP,use thefirst IP

encapsulationdot1Q<C-tag>   //configure dot1q encapsulation, addc-tag.

 

  

2.       BGPconfiguration

StandardTemplate(cisco device):

routerbgp<Private_AS_Number> //configure BGP

bgp router-id<loopback>  //configureBGP router-id, use loopback IP

bgplog-neighbor-changes  //configurelog neighbor changes

neighbor<MSEE_Interface_IP>  //configurebgp neighbor

 remote-as12076                         //specifyneighbor’sas number

 descriptionPrimary_line_public_peer //describe neighbor

 ebgp-multihop2                           //configureebgpmultihop

 address-familyipv4unicast  

neighbor <MSEE_Interface_IP>

  remote-as 12076

 descriptionPrimary_line_private_peer

  ebgp-multihop 2

  address-family ipv4 unicast

 

address-family ipv4 unicast

 network<Customer_server_subnet>mask <Subnet_Mask>  //announcesubnetsthat need to talk to Azure 

 

A customer setup acircuit:

IP subnets andVLAN IDs:

Router     IPPrefix      PeeringVLANID(C-tag)

Primary    192.168.1.0/30  Public   500

Secondary     192.168.2.0/30  Public   500

Primary    192.168.1.4/30  Private  510

Secondary     192.168.2.4/30  Private  510

 

IPaddressassignment:

    Customerrouter      MicrosoftMSEE

Primary    192.168.1.1       192.168.1.2

Secondary     192.168.2.1       192.168.2.2

Primary    192.168.1.5       192.168.1.6

Secondary     192.168.2.5       192.168.2.6

AS number:65001

 

P2P interface configuration:

interface Ethernet1/1

descriptionCT_B17547793_10M_primary_link

  no switchport

  speed 1000

  no negotiate auto

interface Ethernet1/1.500

  descriptionCT_primary_public_peer

  encapsulation dot1q 500

  ip address 192.168.1.1/30

interface Ethernet1/1.510

 descriptionCT_primary_private_peer

  encapsulation dot1q 510

  ip address 192.168.1.5/30

interface Ethernet1/2

DescriptionCT_B17547794_10M_secondary_link

  no switchport

  speed 1000

  no negotiate auto

 

interface Ethernet1/2.500

 descriptioncustomer1_secondary_public_peer

  encapsulation dot1q 500

  ip address 192.168.2.1/30

 

interface Ethernet1/2.510

 descriptioncustomer1_secondary_private_peer

  encapsulation dot1q 510

  ip address 192.168.2.5/30

BGP configuration:

router bgp 65001

  router-id 192.168.3.1

  bgp log-neighbor-changes

  address-family ipv4 unicast

   network192.168.4.0/24

  neighbor 192.168.1.2

remote-as 12076

    descriptionCT_primary_public_peer

    ebgp-multihop 2

    address-familyipv4unicast

  neighbor 192.168.1.6

    remote-as 12076

   descriptionCT_primary_private_peer

    ebgp-multihop 2

    address-familyipv4unicast

  neighbor 192.168.2.2

    remote-as 12076

   descriptionCT_secondary_public_peer

    address-familyipv4unicast

  neighbor 192.168.2.6

    remote-as 12076

   descriptionCT_secondary_private_peer

    address-familyipv4unicast

 

 

 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章