M SHEKHAR RAO (RA1911029010066) - Ex - No-13 VPN Configuration
M SHEKHAR RAO (RA1911029010066) - Ex - No-13 VPN Configuration
M SHEKHAR RAO (RA1911029010066) - Ex - No-13 VPN Configuration
After placing the routers, open each one of them, turn the switch off and
place WIC-1T in its respective slot and turn the switch back on.
CONFIGURATION ON ROUTER R1:
Router>enable
Router#config t
Router(config)#host r1
r1(config)#int fa0/0
r1(config-if)#no shutdown
r1(config-if)#exit
r1(config)#int fa0/1
r1(config-if)#no shutdown
Router#config t
Router(config)#host r2
r2(config)#int fa0/0
r2(config-if)#no shutdown
r2(config-if)#exit
r2(config)#int fa0/1
Router#config t
Router(config)#host r3
r3(config)#int fa0/0
r3(config-if)#no shutdown
r3(config-if)#exit
r3(config)#int fa0/1
r3(config-if)#no shutdown
r1#config t
r1(config)#
DEFAULT ROUTING CONFIGURATION ON ROUTER r3:
r3>enable
r3#config t
r3(config)#
r1#ping 2.0.0.2
!!!!!
r3#ping 1.0.0.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 25/28/32 ms
you can clearly see both routers pinging each other successfully.
r1(config)#interface tunnel 10
r1(config-if)#no shutdown
r3(config-if)#no shutdown
!!!!!
r1#
r3#ping 172.16.1.1
!!!!!
Now Do routing for created VPN Tunnel on Both Router R and R3:
r1(config)#ip route 192.168.2.0 255.255.255.0 172.16.1.2
Now if you want to check what path vpn tunnel is using just go to any
of the computer i.e pc and then ping anothr pc located in different
network.And then trace the path using tracert. Its result will show the
path followed by VPN Tunnel created by you.
PC>ipconfig
PC>ping 192.168.1.2
PC>tracert 192.168.1.2
RESULT: VPN Configuration is successfully implemented and
demonstrated.