Skip to main content

Direct Connect problems

Find the symptom below. Most problems with a Direct Connect come from the addressing, from a missing static route or firewall rule, or from the configuration on your side of the link.

The Direct Connect does not show up​

  • The page says No Direct Connects found.: your provider has not created the Direct Connect yet, or has not made it visible to your account. Ask them.
  • Direct Connect is missing from the Customer Connect menu: you lack the view permission. See Permissions.
  • The buttons that change something (Bind VNet, Create Route, the switch and pause options) are missing: you have only the view permission. Ask for customer-connect:direct_connect:manage.

The platform refuses to bind the VNet​

The message on the screen says what is wrong. The most common ones:

MessageWhat to do
"The Remote IP (172.16.1.5) must be within the subnet defined by the Local IP (172.16.1.1/30)."Use a Remote IP inside the network of the Local IP, or a larger mask.
"The Local IP (172.16.1.0/30) is a Network or Broadcast address and cannot be used as a Host IP."Use another address of the network, such as 172.16.1.1/30.
"The Remote IP (172.16.1.3) matches the Network or Broadcast address of the subnet."Use another address of the network.
"Local IP and Remote IP cannot be the same address."Give the router and your firewall different addresses.
"The CIDR mask for Connection IP must allow at least 2 addresses (/30 or /31)."Do not use /32 on the Local IP.
"The provided CIDR is not in the RFC1918 space."Use a private range: 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16.
A message that starts with "Overlap:"The VNet or the connection network collides with another connection of the same Direct Connect. Choose another range. The message names both networks.
"VNet already bound to this LanToLan."The VNet is already in Active Connections. A VNet is bound only once to each Direct Connect.
"Operation in progress for VNet" followed by the VNet nameAnother operation on that connection is still running. Wait for the status to settle and try again.

The rules are explained in Plan the addressing.

The connection is in ERROR​

The router could not be configured. Unbind the VNet (how) and bind it again. If it goes back to ERROR, contact support and tell them the Direct Connect, the VNet and the time of the attempt.

The Health Check shows Destination Unreachable​

The router gets no reply from your firewall on the link. Check, in this order:

  1. Your firewall has the Remote IP, with the same mask as the Local IP, on the interface of the VLAN of the link.
  2. Your firewall answers ping coming from the Local IP.
  3. The ARP table of your firewall has the Local IP with the MAC address shown in the MAC Address column. If it does not, frames are not crossing the link: check the VLAN, the cabling and the interface on your side, and then talk to your provider.
  4. With a Monitor IP, the test pings that address through the peer: check that the monitored host is up and answers ping.

See How to check the health of a Direct Connect connection.

The Health Check is fine, but the VMs do not reach my network​

The link works; what is missing is on the way:

  • Static route: the network on your side must be in Static Routes of the connection. See How to manage the static routes.
  • VNet firewall: a rule must allow the traffic in each direction. See How to allow Direct Connect traffic in the firewall.
  • Return route: your firewall needs a route to the VNet network through the Local IP.
  • Rules on your side: your own firewall must allow the traffic between your networks and the VNet.

The platform refuses a static route​

MessageWhat to do
"A static route for 10.50.0.0/24 already exists in this VNet context."That destination already exists in the VNet, maybe on another Direct Connect. Delete the old route first.
"The default route (0.0.0.0/0) is reserved and cannot be added as a static route."The default route cannot go through a Direct Connect. Create routes to your networks instead.
"Must be a valid CIDR format (e.g. 192.168.1.0/24)."Write the destination with the mask.

Failover​

The options are disabled and a notice talks about the virtual router​

The router of the VNet needs an update. The backup peer needs one release and the IPsec a newer one, so the notice may show only in the IPsec failover section. Ask support to update the router. The same applies when saving shows "Peer failover needs the virtual router of this VNet on release 1.0.5 or newer. Ask support to update it."

The platform refuses the backup peer​

MessageWhat to do
"The backup network (172.16.1.1/29) overlaps the primary network (172.16.1.1/30). Choose "Same network as primary" or use another range."Pick a separate network that does not touch the primary's, or use Same network as primary.
"172.16.1.1/30 only fits one peer. Use a /29 or larger, or put the backup on a separate network."A /30 cannot hold two firewalls. Use Separate network.
A message saying the backup network overlaps a VNetChoose a backup network outside the VNet network.
"The backup Remote IP must be different from the primary Remote IP."Each firewall needs its own address.
"Traffic is running on the backup peer. Switch to the primary before changing the backup addressing."Switch to another path, then change the backup addresses.
"Traffic is running on the backup peer. Switch to the primary before removing it."Switch to another path, then remove the backup.

The rules are in Choose the backup network.

I added the backup when binding, and the Failover column shows Not configured​

The connection came up, but the backup could not be started with it. Add the backup again on the page of the connection. If it fails again, the message on the screen says why.

The traffic stayed on the backup (or on the IPsec) after the primary came back​

This is expected: the platform never goes back to a preferred path just because it recovered. When the peer is stable, the state shows Primary recovered (or Backup recovered); click Switch to primary (or Switch to backup) when you are ready.

The primary went down and nothing switched​

Check the state in the Failover column or on the page of the connection:

  • Paused or Off: automatic failover is not acting. Resume it, or turn it on in the Failover tab.
  • Both peers down or All paths down: there is no healthy path to switch to.
  • Protected with the other paths Degraded or Down in the standby lines: the traffic only moves to a path that is up and not degraded, and to the IPsec only when every Direct Connect peer is down.
  • A switch caused by degradation waits at least 1 minute after the previous switch.

The detection also takes the time of the profile (about 5, 15 or 45 seconds), and the portal shows the switch within about half a minute. The History tab of the page of the connection shows what the platform saw and when.

The failover notices did not arrive​

Only an automatic failover, a recovered peer (Primary peer recovered, Backup peer recovered) and all paths down send notices; manual switches and pauses do not. The notices go to the users of the VDC with customer-connect:direct_connect:view, customer-connect:view or network:view. Check those permissions and the spam folder.

Pause failover does not show​

It only shows with a backup peer or an IPsec, automatic failover on and not paused already, and for users with customer-connect:direct_connect:manage. It sits next to the state in Failover order, on the page of the connection. When paused, the same place shows Resume failover.

IPsec failover​

I cannot choose an IPsec​

  • This VNet has no IPsec yet.: create the IPsec in the same VNet first (Go to IPsec). An IPsec of another VNet cannot be used.
  • You need permission to view IPsec connections to choose one.: ask for customer-connect:ipsec:view, or a broader key such as customer-connect:view.
  • Add the static routes of this Direct Connect first: the IPsec takes over exactly those routes.: create the routes, then choose the IPsec.
  • An IPsec shows Can't be used: it covers none of the static routes of this Direct Connect.: its remote subnets do not include any route of the connection. Add those networks to the IPsec subnets, on both sides.

The health test does not start​

The message under the button says why:

MessageWhat to do
"10.60.0.10 is outside the static routes of this Direct Connect."Choose a Monitor IP inside one of the static routes.
"10.51.200.10 is outside the remote subnets of this IPsec, so the test would not go through the tunnel."Choose an address that the IPsec carries, or add its network to the IPsec.
"10.51.0.20 is outside route 10.50.0.0/24."Each test address must be inside its own route.
"The IPsec recife-vpn has no local subnet with a gateway on this VNet, so the router cannot test it."Include a subnet of this VNet in the local subnets of the IPsec.

The health test says Not ready​

Find the failed lines under Tests through the tunnel:

ResultWhat to do
VPN downConnect the IPsec or open its diagnostics.
Subnets not negotiatedMake the subnets of the IPsec match on both sides.
Nothing came backThe router on the other side needs a route back to this VNet through the IPsec, or a firewall there is blocking it.
Stopped on the wayOpen Path, hop by hop and check the firewall or the routes of the last device that answered.
Host not answeringCheck that the host is on and that its firewall allows ICMP.
BlockedAllow, on the firewall that refused the packet, the traffic coming from this VNet.

Fix it and click Run the test again. The meaning of each result is in Read the health test result.

The replies come back through the Direct Connect​

The test shows Came back through the Direct Connect and the Action needed on your router box, the Health Check through the IPsec warns that the Replies came back outside the tunnel, or the IPsec card says that Replies are coming back outside the tunnel, through the Direct Connect.

Your router sends the answers for this VNet through the Direct Connect. With a floating static route this is expected while the Direct Connect is up: the IPsec stays Up on its card, and the test gives Works, with risks, which you can save after accepting the risk. What matters is that your router switches to the IPsec when the Direct Connect goes down. This adjustment is on your side: on your router, send the traffic for the VNet through the IPsec when the Direct Connect is down, with a floating static route (higher administrative distance), IP SLA tracking or a routing policy. See Prepare your router.

To have the test give Ready and the monitoring prove the way back too, also route the address the tests leave from through the IPsec at all times, with a /32 route on your router. It is the first address of each test, and on the IPsec card the address after from. See Optional: prove the way back too.

The Direct Connect is degraded and the traffic did not go to the IPsec​

This is expected. The IPsec is the last resort: it only takes over when every Direct Connect peer configured (the primary and, if there is one, the backup) is down. Degradation (loss or latency above the thresholds) only switches the traffic between the Direct Connect peers. A degraded path still carries traffic, and leaving it for the IPsec would lose what your side still sends through the Direct Connect.

  • The primary is down and the backup is only degraded: the IPsec does not take over. The traffic goes to the backup when it is healthy again, or to the IPsec if the backup also goes down. With If the active path goes down, use a degraded one turned on, the traffic goes to the degraded backup at once.
  • The primary is degraded and there is no backup: the traffic stays on the primary.

The /32 route of the health test does not change this.

Save Changes is disabled​

The text above the button says what is missing:

TextWhat to do
Run the IPsec health test before saving.Run the test. It also shows when the last test is more than one hour old, used another Monitor IP, or something changed after it (static routes, subnets of the IPsec).
The IPsec health test failed. Fix what it pointed out and test again.The result is Not ready. See above.
Confirm that you continue at your own risk to save.Tick I understand what stays out of the IPsec and want to save it anyway, at my own risk.

If the platform still refuses, the message says why, such as "Run the health test of this IPsec again: there is no recent result for the current routes and subnets."

The traffic is on the IPsec, but part of it does not reach the other side​

  • What the last health test showed as Left out keeps going to the Direct Connect, which is down. Add those networks to the IPsec subnets, on both sides.
  • Your router must send the answers for the VNet through the IPsec. See the section above about the replies.

I cannot change, remove or delete the IPsec​

  • While the traffic is on the IPsec, the card shows Change or remove the IPsec · switch traffic to a Direct Connect peer first. Switch to a peer, then change or remove it.
  • An IPsec that is the failover of a connection cannot be deleted: "The IPsec recife-vpn is the failover of the Direct Connect dc-recife. Remove it from the Direct Connect failover before deleting it." Click Remove IPsec on the page of the connection first.

The platform refuses the new remote IP​

MessageWhat to do
"Remote IP can only be changed on a BOUND connection" followed by the current statusWait for the connection to be BOUND.
"The primary Remote IP must be different from the backup Remote IP."Choose another address, or change the backup first.

The other messages are the same as when binding the VNet.