> For the complete documentation index, see [llms.txt](https://tmediadocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tmediadocs.telcobridges.com/configuration/web-portal-3-3/hardware/ip-network/creating-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://tmediadocs.telcobridges.com/telecom-references/parameter-reference/m3ua#n)
* [Type](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/tdm#t)
* [Username](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/snmp#u)
* [Password](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/sip#p)
* [Virtual port](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/m3ua#v)

**Advanced Parameters**

* [LCP polling interval](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/rtp-media#l)
* [LCP maximum polling failure](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/rtp-media#l)
* [Overwrite global default gateway](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/other#o)
* [MTU](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/ip-network#m)
* [MSS clamping](https://tmediadocs.telcobridges.com/telecom-references/parameter-reference/ip-network#m)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://tmediadocs.telcobridges.com/configuration/web-portal-3-3/hardware/ip-network/creating-an-ip-tunnel.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
