13.07.2015 Views

Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support

Administration of the Avaya G350 Media Gateway - Avaya Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring GRE tunnelingGRE tunnel application exampleThis section provides an example <strong>of</strong> a GRE tunnel application and its configuration.Figure 13: Simple GRE tunneling application example10.0.0.110.0.0.210.0.0.310.0.0.4Host 1RouterInterfaceRouter 111.0.0.10TunnelInterface11.0.0.1 12.0.0.1InternetGRE TunnelTunnelInterfaceRouter 211.0.0.20RouterInterfaceHost 28.0.0.18.0.0.28.0.0.38.0.0.410.0.0.18.0.0.2DataMAC HeaderSource IP AddressDestination IP Address11.0.0.1011.0.0.2010.0.0.18.0.0.2DataMAC HeaderSource IP AddressDestination IP AddressGRE HeaderSource IP AddressDestination IP Address10.0.0.18.0.0.2DataMAC HeaderSource IP AddressDestination IP AddressIn <strong>the</strong> example shown in Figure 13, Host 1 and Host 2 are private networks using a GRE tunnelto connect <strong>the</strong>m via <strong>the</strong> Internet. 11.0.0.10 are public IP addresses used by <strong>the</strong> GRE tunnel for<strong>the</strong> tunnel encapsulation.A packet originating from 10.0.0.1 on Host 1 is sent to <strong>the</strong> destination 8.0.0.2 on Host 2. Since<strong>the</strong> destination IP address is a private IP address, <strong>the</strong> packet cannot be routed as is over <strong>the</strong>Internet. Instead, Router 1 receives <strong>the</strong> packet from host 1, looks up <strong>the</strong> packet’s destinationaddress in its routing table, and determines that <strong>the</strong> next hop to <strong>the</strong> destination address is <strong>the</strong>remote end <strong>of</strong> <strong>the</strong> GRE tunnel.Router 1 encapsulates <strong>the</strong> packet with a GRE header and a new IP header that assigns <strong>the</strong> IPaddress <strong>of</strong> Router 2 (12.0.0.20) as <strong>the</strong> destination IP address and <strong>the</strong> IP address <strong>of</strong> Router 1(11.0.0.10) as <strong>the</strong> source IP address. When <strong>the</strong> packet arrives at Router 2, which is <strong>the</strong> endpoint <strong>of</strong> <strong>the</strong> GRE tunnel, Router 2 removes <strong>the</strong> outer IP header and <strong>the</strong> GRE header and sends<strong>the</strong> packet to its original destination at IP address (8.0.0.2).Issue 3 January 2005 175

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!