This section provides several GRE configuration examples.
This section provides networking requirements, configuration notes,
and configuration roadmap in configurations examples.
This section provides an example for configuring GRE static routes. The configuration allows traffic between users to be transmitted over GRE tunnels. Static routes are required between a device and its connected clients.
This section provides an example for configuring a CE to access a VPN through a GRE tunnel on the public network. In this networking scheme, the PE is indirectly connected to the CE; no physical interface can be bound to the VPN instance on the PE. Then, a GRE tunnel over the public network is required between the CE and PE and the GRE tunnel needs to be bound to the VPN instance on the PE. This allows the CE to access the VPN through the GRE tunnel.
This section provides an example for configuring a CE to access a VPN through a GRE tunnel traversing another VPN. In this networking scheme, the PE is indirectly connected to the CE; no physical interface can be bound to the VPN instance on the PE. Then, a GRE tunnel traversing a VPN is required between the CE and PE and the GRE tunnel needs to be bound to the VPN instance on the PE. This allows the CE to access the VPN through the GRE tunnel.
This section provides an example for configuring the Keepalive function of the GRE tunnel. In this manner, the VPN does not select the GRE tunnel that cannot reach the remote end, and data loss can be avoided.
This section provides an example for configuring a dynamic route for GRE. In this networking scheme, traffic between users is transmitted through a GRE tunnel; a dynamic route is configured between the device and its connected user.
This section provides an example for configuring GRE dynamic routes, so that IPv6 traffic between users can be transmitted over IPv4 GRE tunnels. Static routes are required between a device and its connected clients.