Gre Tunnel Application Example - Avaya G250 Administration

Media gateways
Hide thumbs Also See for G250:
Table of Contents

Advertisement

Configuring the router

GRE tunnel application example

This section provides an example of a GRE tunnel application and its configuration.
Figure 38: Simple GRE tunneling application example
Host 1
10.0.0.1
10.0.0.2
10.0.0.3
10.0.0.4
10.0.0.1
8.0.0.2
Data
In the example shown in
to connect them via the Internet. 11.0.0.10 are public IP addresses used by the GRE tunnel for
the tunnel encapsulation.
A packet originating from 10.0.0.1 on Host 1 is sent to the destination 8.0.0.2 on Host 2. Since
the destination IP address is a private IP address, the packet cannot be routed as is over the
Internet. Instead, Router 1 receives the packet from host 1, looks up the packet's destination
address in its routing table, and determines that the next hop to the destination address is the
remote end of the GRE tunnel.
Router 1 encapsulates the packet with a GRE header and a new IP header that assigns the IP
address of Router 2 (12.0.0.20) as the destination IP address and the IP address of Router 1
(11.0.0.10) as the source IP address. When the packet arrives at Router 2, which is the end
point of the GRE tunnel, Router 2 removes the outer IP header and the GRE header and sends
the packet to its original destination at IP address (8.0.0.2).
420 Administration for the Avaya G250 and Avaya G350 Media Gateways
11.0.0.1
Router 1
11.0.0.10
GRE Tunnel
Router
Tunnel
Interface
Interface
MAC Header
11.0.0.10
Source IP Address
11.0.0.20
Destination IP Address
10.0.0.1
8.0.0.2
Data
Figure
38, Host 1 and Host 2 are private networks using a GRE tunnel
12.0.0.1
Internet
Router 2
11.0.0.20
Tunnel
Interface
MAC Header
Source IP Address
Destination IP Address
GRE Header
Source IP Address
Destination IP Address
Host 2
8.0.0.1
8.0.0.2
8.0.0.3
Router
8.0.0.4
Interface
MAC Header
10.0.0.1
Source IP Address
8.0.0.2
Destination IP Address
Data

Advertisement

Table of Contents
loading

This manual is also suitable for:

G350

Table of Contents