--- title: "Configuring a Default Gateway" slug: "configuring-a-default-gateway-47" tags: ["8.2", "Portal"] updated: 2024-02-20T11:25:58Z published: 2024-02-20T11:25:58Z canonical: "kb.ctera.com/configuring-a-default-gateway-47" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.ctera.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring a Default Gateway **To set a default gateway for the CTERA Portal server:** 1. Log in as root over SSH or through the console to the CTERA Portal. 2. Run the following command: `echo "GATEWAY={$default_gateway_ip_address}" > /etc/sysconfig/network` where {*$default_gateway_ip_address*} is your default gateway IP address. For example: `echo "GATEWAY=192.168.90.1" > /etc/sysconfig/network` 3. Restart the network service, by running the following command: `service network restart` Your changes take effect.