SOURCECODEBD.NET

Live Experience

4.  CONFIGURE GRE TUNNEL (POINT-TO-POINT)

HOW TO CONFIGURE GRE TUNNEL (POINT-TO-POINT)
 
Interface IP Address Configuration 
 
R1 
 
Interface  IP Address   Subnet Mask 
S 1/0     2.2.2.1   255.0.0.0 
E 1/0     10.1.1.1   255.0.0.0 
 
R3 
 
Interface  IP Address   Subnet Mask 
S 0     2.2.2.2   255.0.0.0 
Fa 0/0     20.1.1.1   255.0.0.0 
 
Task 1 
 
Configure static route for reachability to the destination ip address for both R1 and R2. 
Configure tunneling by creating interface tunnel 0 on both R1 & R2. 
Assign virtual IP address to this interface tunnel 0 on both R1 & R2. 
 
R1 
 
Ip route 20.0.0.0 255.0.0.0 2.2.2.2 
 
Int tunnel 0 
Ip address 30.1.1.1 255.0.0.0 
Tunnel source s1/0 
Tunnel destination 2.2.2.2 
Tunnel mode gre ip 
 
R2 
 
Ip route 10.0.0.0 255.0.0.0 2.2.2.1 
 
Int tunnel 0 
Ip address 30.1.1.2 255.0.0.0 
Tunnel source s0 
Tunnel destination 2.2.2.1 
Tunnel mode gre ip 
 
Verification:
 
R1#show ip int brief
 
The output displays int tunnel 0 status is up and protocol status is also up, which indicates 
that GRE tunnel configuration is successful. 
 
R1#ping 30.1.1.2
You are here: Home / VPN / HOW TO CONFIGURE GRE TUNNEL (POINT-TO-POINT)