GRE_Tunnel_Configuration

 





Download link for Practical of GRE_Tunnel_Configuration:


IP Configuration on R-1 Router:-
--------------------------------
Router>enable
Router#configure terminal
Router(config)#hostname R-1
R-1(config)#interface Serial 1/0
R-1(config-if)#ip address 10.1.1.1 255.0.0.0
R-1(config-if)#clock rate 72000
R-1(config-if)#no shutdown
R-1(config-if)#exit
R-1(config)#interface FastEthernet 0/0
R-1(config-if)#ip address 192.168.10.1 255.255.255.0
R-1(config-if)#no shutdown
R-1(config-if)#exit
R-1(config)#

RIPv2 Configuration on R-1 Router:-
------------------------------------
R-1(config)#router rip 
R-1(config-router)#version 2
R-1(config-router)#network 192.168.10.0
R-1(config-router)#network 10.1.1.0

IP Configuration on R-2 Router:-
--------------------------------
Router>enable
Router#configure terminal
Router(config)#hostname R-2
R-2(config)#
R-2(config)#interface Serial 1/0
R-2(config-if)#ip address 10.1.1.2 255.0.0.0
R-2(config-if)#no shutdown
R-2(config-if)#exit
R-2(config)#interface Serial 1/1
R-2(config-if)#ip address 20.1.1.2 255.0.0.0
R-2(config-if)#clock rate 72000
R-2(config-if)#exit
R-2(config)#

RIPv2 Configuration on R-2 Router:-
------------------------------------
R-2(config)#router rip
R-2(config-router)#version 2
R-2(config-router)#network 20.1.1.0
R-2(config-router)#network 10.1.1.0

IP Configuration on R-3 Router:-
--------------------------------
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R-3
R-3(config)#
R-3(config)#interface Serial 1/0
R-3(config-if)#ip address 20.1.1.1 255.0.0.0
R-3(config-if)#no shutdown
R-3(config)#interface FastEthernet 0/0
R-3(config-if)#ip address 192.168.30.1 255.255.255.0
R-3(config-if)#no shutdown
R-3(config-if)#exit
R-3(config)#

RIPv2 Configuration on R-3 Router:-
------------------------------------
R-3(config)#router rip 
R-3(config-router)#version 2
R-3(config-router)#network 192.168.30.0
R-3(config-router)#network 20.1.1.0
R-3(config-router)#

Note:- Now ping the source computer machine(192.168.10.2) to destination computer machine(192.168.30.2).

Note:- You can use "Tracert" command to identify the root.

GRE_Configuration on R-1:-
--------------------------
R-1(config)#interface tunnel 0
R-1(config-if)#ip address 50.50.50.1 255.255.255.0
R-1(config-if)#tunnel source serial 1/0
R-1(config-if)#tunnel destination 20.1.1.1 
R-1(config-if)#tunnel mode gre ip 
R-1(config-if)#exit
R-1(config)#ip route 192.168.30.0 255.255.255.0 50.50.50.2

GRE_Configuration on R-3:-
--------------------------
R-3(config)#interface tunnel 0
R-3(config-if)#ip address 50.50.50.2 255.255.255.0
R-3(config-if)#tunnel source serial 1/0
R-3(config-if)#tunnel destination 10.1.1.1 
R-3(config-if)#tunnel mode gre ip 
R-3(config-if)#exit
R-3(config)#ip route 192.168.10.0 255.255.255.0 50.50.50.1

Note:- Now again ping the source computer machine(192.168.10.2) to destination computer machine(192.168.30.2).

Note:- You can use "Tracert" command to identify the root.



Thanks & Regards
Abhishek Pathak
+91-9621134014
abhishek9621134014@outlook.com


No comments:

Post a Comment

Computer Hardware_(A+) & Operating System with Networking

Microprocessor Motherboard About Operating System Create Bootable Pen Drive via Command Map Network Drive File Transfer Protocol in Windows ...