Networkforyou: Email Us: Whatsapp Us: +918143809578
Networkforyou: Email Us: Whatsapp Us: +918143809578
Welcome
To
Network for you
GRE
Step 1:
Create tunnel interfaces on R1 and R2 using the interface tunnel number command.
Step 2:
Choose a subnet to be used on tunnel interfaces and assign an IP address from the subnet to both end points.
Step 3:
Configure the source IP address of the tunnel interface using the tunnel source interface or the tunnel source
ip-address command. The source interface or IP address must be the one that connects the router to the
public part of the network.
Step 4:
Configure the destination IP address of the tunnel interface using the tunnel destination ip-address
command. The destination IP address must be the remote one that connects the router to the public part of
the network.
Step 5:
Configure the routers to use the tunnel interfaces to reach remote subnets. Use either static routing or a
dynamic routing protocol to enable on tunnel interfaces to achieve that.
IPec_Over_GRE:
crypto isakmp key cisco address 2.2.2.1 crypto isakmp key cisco address 1.1.1.1
crypto ipsec transform-set TS esp-3des esp-md5- crypto ipsec transform-set TS esp-3des esp-md5-
hmac hmac
mode transport mode transport
exit exit
crypto ipsec profile abc crypto ipsec profile abc
set security-association lifetime seconds 86400 set security-association lifetime seconds 86400
set transform-set TS set transform-set TS
exit exit
interface Tunnel 1 interface Tunnel 1
tunnel protection ipsec profile abc tunnel protection ipsec profile abc