User Tools

Site Tools


technical:ipsec:iproute2-gre

This is an old revision of the document!


# Description A tunnel can be use to encapsulate packets in an IP header for transmitting over IP infrastructure. GRE [RFC2784] is a particular tunnelling protocol supported by Cisco routers which is capable to carry different protocols over IPv4.

# Iproute2 Commands These commands will create an GRE tunnel with iproute2. ``` ip tunnel add <tunnel_name> mode gre local <local_ip_addr> remote <remote_ip_addr> ttl <0-255> ip link set <tunnel_name> up ip address add <tunnel_ip>/<subnet_mask> dev <tunnel_name> ```

technical/ipsec/iproute2-gre.1679944867.txt.gz · Last modified: 2023/03/27 15:21 by jc