> Source: [sk95249](https://support.checkpoint.com/results/sk/sk95249)

# sk95249 - How to configure multiple routes to the same network host in Gaia OS? 

| Property | Value |
|----------|-------|
| Solution ID | sk95249 |
| Date Created | 2013-10-05 |
| Last Modified | 2017-09-04 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Symptoms

- * Output of '`route -n`' command in Expert mode does not show the multiple routes to the same network host (e.g., second default gateway with different metric) that was added in Gaia Portal.  

* Output of '`show route`' command in Clish shows correctly the multiple routes to the same network host (e.g., second default gateway with different metric) that was added in Gaia Portal.

## Cause

Additional routes to the same network host were not published to the Linux OS kernel.

## Solution

Configure desired multiple routes using the "[`ip route`](http://linux.die.net/man/8/ip)" command in Expert mode.

For example, to configure the *second default route with different metric*:

* To configure *on-the-fly* :   

  **`[Expert@HostName]# ip route add default via `*IP_ADDRESS*` metric `*N***   

* To configure *during each boot* :   

  Add the above command to `/etc/rc.d/rc.local` start-up script.   

  **`[Expert@HostName]# echo 'ip route add default via `*IP_ADDRESS*` metric `*N*`' >> /etc/rc.d/rc.local`**   
  **`[Expert@HostName]# cat /etc/rc.d/rc.local`**

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
