> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/configuring-an-ip-tunnel.md).

# Configuring an IP tunnel

> **Applies to:** Tmedia 3.0, 3.2, 3.3

One or more IP tunnels can be defined to manage the IP traffic betweeen two networks.

### To configure an IP tunnel (PPPoE)

1. Select **IP Interfaces** from the navigation panel:

![Create Voip Interface 0](https://docs.telcobridges.com/w/images/7/7d/Create_Voip_Interface_0.png)

2. Click the **Tunnels** tab:

* Click **Create New Tunnel**

![CreateIP Tunnel 0](https://docs.telcobridges.com/w/images/8/80/CreateIP_Tunnel_0.png)

3. Configure the range of ports:

* Enter a name for the IP tunnel
* Select a protocol for the IP tunnel
* Provide a user name and password
* Select a virtual port
* Click **Create**

![CreateIP Tunnel 1](https://docs.telcobridges.com/w/images/1/1d/CreateIP_Tunnel_1.png)

4. Verify that the **Tunnel was successfully created** message is displayed.

![CreateIP Tunnel 2](https://docs.telcobridges.com/w/images/6/64/CreateIP_Tunnel_2.png)

**Path**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/tunnels/@[tunnel_name]
```

**Parameters (text)**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/tunnels/@[tunnel_name]
name                = "@[tunnel_name]"
password            = "@[password]"
type                = "PPPoE"
unique_name         = ".31"
username            = "@[user_name]"
virtual_port        = ""

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/tunnels/@[tunnel_name]/advanced_parameters
lcp_interval              = "4 seconds"
lcp_max_failure           = 5
mss_clamping              = 1452
mtu                       = 1492
overwrite_default_gateway = false
```

**Parameters (json)**

```
{
  "advanced_parameters" : {
    "lcp_interval" : "4 seconds",
    "lcp_max_failure" : 5,
    "mss_clamping" : 1452,
    "mtu" : 1492,
    "overwrite_default_gateway" : false
  },
  "name" : "@[tunnel_name]",
  "password" : "@[password]",
  "type" : "PPPoE",
  "unique_name" : ".31",
  "username" : "@[user_name]",
  "virtual_port" : ""
}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Type](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/type/README.md)
* [Username](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/username/README.md)
* [Password](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/password/README.md)
* [Virtual port](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/virtual-port/README.md)

**Advanced Parameters**

* [LCP polling interval](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/lcp-polling-interval/README.md)
* [LCP maximum polling failure](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/lcp-maximum-polling-failure/README.md)
* [Overwrite global default gateway](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/overwrite-global-default-gateway/README.md)
* [MTU](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/mtu/README.md)
* [MSS clamping](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/mss-clamping/README.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/configuring-an-ip-tunnel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
