Gre VPN
Gre VPN
Gre VPN
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
G0/1 172.16.1.1 255.255.255.0 N/A
WEST S0/0/0 (DCE) 10.1.1.1 255.255.255.252 N/A
Tunnel0 172.16.12.1 255.255.255.252 N/A
S0/0/0 10.1.1.2 255.255.255.252 N/A
ISP
S0/0/1 (DCE) 10.2.2.2 255.255.255.252 N/A
G0/1 172.16.2.1 255.255.255.0 N/A
EAST S0/0/1 10.2.2.1 255.255.255.252 N/A
Tunnel0 172.16.12.2 255.255.255.252 N/A
PC-A NIC 172.16.1.3 255.255.255.0 172.16.1.1
PC-C NIC 172.16.2.3 255.255.255.0 172.16.2.1
Objectives
Background / Scenario
Generic Routing Encapsulation (GRE) is a tunneling protocol that can encapsulate a variety of
network layer protocols between two locations over a public network, such as the Internet.
In this lab, you will configure an unencrypted point-to-point GRE VPN tunnel and verify that
network traffic is using the tunnel. You will also configure the OSPF routing protocol inside
the GRE VPN tunnel. The GRE tunnel is between the WEST and EAST routers in OSPF area
0. The ISP has no knowledge of the GRE tunnel. Communication between the WEST and
EAST routers and the ISP is accomplished using default static routes.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers
(ISRs) with Cisco IOS Release 15.2(4)M3 (universalk9 image). The switches used are Cisco
Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other routers, switches,
and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the
commands available and output produced might vary from what is shown in the labs. Refer to
the Router Interface Summary Table at the end of this lab for the correct interface identifiers.
Note: Make sure that the routers and switches have been erased and have no startup
configurations. If you are unsure, contact your instructor.
Instructor Note: Refer to the Instructor Lab Manual for the procedures to initialize and
reload devices.
Required Resources
3 Routers (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or
comparable)
2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or
comparable)
2 PCs (Windows with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
Ethernet and serial cables as shown in the topology
In Part 1, you will set up the network topology and configure basic router settings, such as the
interface IP addresses, routing, device access, and passwords.
d. Create a message of the day (MOTD) banner warning users that unauthorized access is
prohibited.
f. Assign cisco as the console and vty password and enable login.
h. Apply IP addresses to Serial and Gigabit Ethernet interfaces according to the Addressing
Table and activate the physical interfaces. Do NOT configure the Tunnel0 interfaces at this
time.
At this point, the PCs are unable to ping each other. Each PC should be able to ping its default
gateway. The routers are able to ping the serial interfaces of the other routers in the topology.
If not, troubleshoot until you can verify connectivity.
In Part 2, you will configure a GRE tunnel between the WEST and EAST routers.
a. Configure the tunnel interface on the WEST router. Use S0/0/0 on WEST as the tunnel
source interface and 10.2.2.1 as the tunnel destination on the EAST router.
b. Configure the tunnel interface on the EAST router. Use S0/0/1 on EAST as the tunnel
source interface and 10.1.1.1 as the tunnel destination on the WEST router.
Note: For the tunnel source command, either the interface name or the IP address can be used
as the source.
a. Verify the status of the tunnel interface on the WEST and EAST routers.
b. Issue the show interfaces tunnel 0 command to verify the tunneling protocol, tunnel source,
and tunnel destination used in this tunnel.
What is the tunneling protocol used? What are the tunnel source and destination IP addresses
associated with GRE tunnel on each router?
_______________________________________________________
The tunneling protocol used is GRE. For the WEST router, the tunnel source is 10.1.1.1
(Serial0/0/0), and the destination is 10.2.2.1. For the EAST router, the tunnel source is
10.2.2.1 and the destination is 10.1.1.1.
c. Ping across the tunnel from the WEST router to the EAST router using the IP address of the
tunnel interface.
d. Use the traceroute command on the WEST to determine the path to the tunnel interface on
the EAST router. What is the path to the EAST router?
______________________
172.16.12.1 > 172.16.12.2
e. Ping and trace the route across the tunnel from the EAST router to the WEST router using
the IP address of the tunnel interface.
What is the path to the WEST router from the EAST router? ______________________
172.16.12.2 > 172.16.12.1
f. The ping and traceroute commands should be successful. If not, troubleshoot before
continuing to the next part.
In Part 3, you will configure OSPF routing so that the LANs on the WEST and EAST routers
can communicate using the GRE tunnel.
After the GRE tunnel is set up, the routing protocol can be implemented. For GRE tunneling,
a network statement will include the IP network of the tunnel, instead of the network
associated with the serial interface. just like you would with other interfaces, such as Serial
and Ethernet. Remember that the ISP router is not participating in this routing process.
a. Configure OSPF process ID 1 using area 0 on the WEST router for the 172.16.1.0/24 and
172.16.12.0/24 networks.
b. Configure OSPF process ID 1 using area 0 on the EAST router for the 172.16.2.0/24 and
172.16.12.0/24 networks.
a. From the WEST router, issue the show ip route command to verify the route to
172.16.2.0/24 LAN on the EAST router.
What is the exit interface and IP address to reach the 172.16.2.0/24 network?
____________________________________________________
The tunnel 0 interface with an IP address of 172.16.12.2 is used to reach 172.16.2.0/24.
b. From the EAST router issue the command to verify the route to 172.16.1.0/24 LAN on the
WEST router.
What is the exit interface and IP address to reach the 172.16.1.0/24 network?
_____________________________________________________
The tunnel 0 interface with an IP address of 172.16.12.1 is used to reach 172.16.1.0/24.
a. Ping from PC-A to PC-C. It should be successful. If not, troubleshoot until you have end-
to-end connectivity.
b. Traceroute from PC-A to PC-C. What is the path from PC-A to PC-C?
________________________________________________________
172.16.1.1 > 172.16.12.2 (Tunnel interface on the EAST router) > 172.16.2.3
Reflection
2. If you added more LANs to the WEST or EAST router, what would you need to do so that
the network will use the GRE tunnel for traffic?
_______________________________________________________
The new networks would need to be added to the same routing protocols as the tunnel
interface.
Device Configs
Router WEST
WEST# show run
Building configuration...
Router ISP
Router EAST
EAST# show run
Building configuration...