> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cgw/1.8/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/cgw/1.8/configuration/gre.md).

# GRE configuration

You can add a Generic Routing Encapsulation (GRE) or GRETAP interface for tunneling of IP or Ethernet traffic respectively.
See the configuration example:

```yaml
gre:
  enabled: true
  remoteip: <IP of a remote host>
  localip: <Local IP>
  # Use a name different than `gre0` as it may be aleady added by loading a kernel module
  name: <Name of the interface to create>
  # Use a GRETAP interface instead of GRE for Ethernet traffic tunnelling
  gretap: <true | false>
```
