VRF-aware IPSEC configuration using IKEv2

Recently, I had to reconfigure all the IPSEC site-to-site tunnels with more secure encryption and authentication. So, the choice was to use IKEv2 along with a more secure IKEv2 proposal and a transform set. First of all, you will need to create both an IKEv2 proposal and a transform set. In this example, I have used the below parameters. 

IKEv2 proposal

Once you are done with the above configuration, you can proceed to tenant-specific configurations. 

  • TT – Denotes the Tenant
  • L – Denotes the local peer IP
  • P – Denotes the remote peer IP
  • KK – Denotes the pre-shared key
  • ACL– Denotes the ACL
  • G – Denotes the local gateway (has internet access)
  • N – Denotes the tenant/VRF number

Below is the configuration. 

crypto ikev2 policy TenantTT-policy
match address local L.L.L.L
proposal secure
exit
crypto ikev2 keyring TenantTT-key
peer P.P.P.P
address P.P.P.P
pre-shared-key KK
exit
exit
crypto ikev2 profile TenantTT-profile
ivrf TenantTT-vrf
match address local L.L.L.L
match identity remote address P.P.P.P 255.255.255.255
authentication remote pre-share
authentication local pre-share
keyring local TenantTT-key
lifetime 28800
dpd 10 5 on-demand
exit
crypto map Tenant-map N ipsec-isakmp
set peer P.P.P.P
set transform-set secure
set ikev2-profile TenantTT-profile
match address ACL
set security-association lifetime seconds 28800
reverse-route remote-peer G.G.G.G static
set pfs group14

“Extend Volume” greyed out

Recently, one of my friends got back to me saying that he could not extend the C drive. Upon checking, we figured out that the “Recovery” partition was sitting between the System partition and the Unallocated space.

Basically, the “Recovery” partition was blocking the feature. In order to fix this, we had to delete the “Recovery” partition. Will look at how we can fix the issue in a few simple steps. 

[Note: all the commands are in Bold Italic]

Step 01: Open an elevated command prompt and enter diskpart

Step 02: Select the relevant Disk and list the partitions 

select disk 0

list partitions

Step 03: Upon confirming, select the recovery partition (in my case, it is Partition 3)

Step 04: After selecting the correct partition, delete the partition. delete  partition  override

Step 05: Extend the volume using either the command extend or disk management in GUI.