Scaleway DocumentationNetworkVPCTroubleshooting
My gateway services are not working

Update content

I attached the public gateway to my private network, but the services provided by the gateway are not working (DHCP, NAT, DNS etc)

Reviewed on 26 May 2021Published on 26 May 2021

First, check whether the gateway is properly plugged into the private network. We currently have a known issue where the GatewayNetwork gets created successfully without the gateway actually getting plugged into the network. To check whether this is the issue you are experiencing, please do the following:

  1. In an Instance plugged into the private network, identify the private network’s network interface. We’ll use priv0 as an example.

  2. Set it as UP to be able to use it: ip link set priv0 up

  3. Identify the MAC address of the gateway in your private network using either the Scaleway Console or the API (mac_address field of the GatewayNetwork). We’ll use 02:00:b1:ac:ca:fe as an example.

  4. Go here, and paste the MAC address to get the IPv6 Link-Local Address of your gateway. In our example, using priv0, it is fe80::000:b1ff:feac:cafe

  5. From your Instance, ping the gateway on its IPv6 link-local address, taking care to specify the private network interface. In our example, using priv0, the command is ping fe80::000:b1ff:feac:cafe%priv0.

If the address does not ping, then you are indeed experiencing this known issue. The best way to fix it is either to delete and recreate the GatewayNetwork (you can keep the same DHCP configuration by specifying a dhcp_id upon creation), or attach a dummy private network to the gateway.

If the address does ping, then you may be either experiencing another issue, where the interface gets misconfigured, or just have an error in your configuration. To test for this, update any property of your GatewayNetwork or the associated DHCP configuration in order to trigger a reconfiguration. If this does not fix it, please check your configuration.

If the problem persists, please do not hesitate to contact us on the #vpc-public-gateway channel on the Scaleway Community Slack.