09. FastConnect to ExpressRoute - CloudDarsh/OracleCloud GitHub Wiki

Here we will work on to create a network between OCI using Fast Connect service and Azure using Express Route.

Create a compartment

In OCI

image

In Azure

In azure we call it as ‘Resource Group’, Click on create and enter resource group name

image

Click on Review and Create and it will be created.

Create a Virtual Network

In OCI

YouTube Thumbnail (10)

In Azure

In Azure we call it as Virtual Network, Click on create and select resource group which we created above. and enter virtual network name and next.

image

Go into the IP address section and we have to create subnet in this.

Here we can see one subnet is created but in the above diagram we can see that we have to create a Virtual Network Gateway in Azure to setup the network, we require one more subnet. So we have to create one more dedicated subnet here

image

image

Now we can see both subnets are added, click on review and create.

YouTube Thumbnail (11)

Create a Instance

In OCI

image

In Azure

In Azure we call it as Virtual Machine, click on create

We have to select the resource group which we created above and select other details.

image

Now In the authentication type , we can select SSH or password, we will select password here and create username and password and click on next, select the disk as required.

image

Go to networking section, click on review and create.

image

Note : In the last we have to test the connection between OCI and Azure by pinging them , but in security list , ping is disabled by default so we have to enable it now ,

Go to the subnet on which the instance in hosted in OCI and go to its security list.

In the ingress rule, we have to add type as 8 , change the IP Protocol to ICMP and enter the CIDR of Virtual network of Azure, It will be created and show as echo which means ping is enabled.

image

Creating Dynamic Routing Gateway(DRG)

In OCI

Go inside VCN  Customer Connectivity  Dynamic Routing Gateway  Create DRG

YouTube Thumbnail (12)

The source to this Dynamic Routing Gateway(DRG) is the VCN so we have to attach the VCN from where we have to send the network.

Inside DRG  VCN Attachment  Create Virtual Cloud Network Attachment

image

image

Virtual Network Gateway

In Azure

Here, we have to create ‘Virtual Network Gateway’, Click on create.

image

Click on review and create, it will take 45 mins to complete.

Now we have to go into OCI VCN’s Subnet  Route table

Here we have to add DRG in the route rules.

image

image

Creating ExpressRoute

In Azure

Go to ExpressRoute  Create ExpressRoute

YouTube Thumbnail (13)

Click on Next and fill below details,

image

Click on Review and Create.

After the ExpressRoute is created, we have to go inside and there we will get a service key, we have to copy it and save in notepad.

image

Creating FastConnect

In OCI

The destination of this DRG is FastConnect, so we have to go Inside DRG  VCN Attachment  Virtual circuit attachments. Click on Go to FastConnect.

YouTube Thumbnail (14)

Create FastConnect, select connection type as FastConnect Partner and Partner as Ms Azure Express Route.

image

Click on next, Here in the Configuration we require partner service key.

YouTube Thumbnail (15)

We have to paste the Partner Service Key which we copied from Azure above and click on create.

image

Now after that we have to go inside the DRG  Virtual Circuit Attachment

Here we can see that FastConnect is attached.

image

So the DRG will send the network from source(OCI VCN) to FastConnect  FastConnect will send the network to ExpressRoute  ExpressRoute will send the network to azure Virtual Network  Virtual Network gateway will send the network to its subnet  Subnet will send the network to the azure server.

Now we will check in Azure ExpressRoute Details , we can see the primary and secondary IP will also be created,

image

Verifying the Connection

Now the configuration is completed, we have to verify the connection between both the servers(OCI and Azure) by pinging them, Go to Compute  Instance  Copy the public IP and login into the server

Also for Azure(ToOCIVM)  Copy the public IP and login into the server

In OCI

We have to ping the private IP of the Azure VM, here we can see it’s not pinging.

image

In Azure

We have to ping the private IP of the OCI Compute, here we can see it’s not pinging.

image

Both the servers are not pinging, we can also verify that the FastConnect is Up

image

Here we have to add the route in Azure also for the end to end flow of traffic.

Go to Connections in Azure  Create Connection.

image

Click on Next,

Here we have to select the virtual network gateway

image

We can see that the connection is created and status is succeeded.

YouTube Thumbnail (16)

Now again we have to ping and verify the connection between both the servers(OCI and Azure) by pinging them, In OCI –

image

In Azure –

image

We can see both the servers are pinging now, so the connection is created between both the servers(OCI and Azure).