SlideShare a Scribd company logo
2
Most read
3
Most read
10
Most read
GRE Tunnel Configuration
www.netprotocolxpert.in
GRE Tunnel Configuration
GRE (Generic Routing encapsulation)
 It is the simplest protocol
 It encapsulate inside or outside ip address
 GRE is nothing to do with encryption that IPsec provide
 We use GRE for Multicast traffic
 It allow us to start treating the VPN connection like we using private link
R1 interface Configuration
 R1(config)#interface serial 1/0
 R1(config-if)#description CONNECTED WITH INTERNET
 R1(config-if)#ip address 100.100.100.2 255.255.255.252
 R1(config-if)#no shut
 R1(config-if)#exit
 R1(config)#interface fastEthernet 0/0
 R1(config-if)#description CONNECTED WITH SW1
 R1(config-if)#ip address 192.168.2.1 255.255.255.0
 R1(config-if)#no shut
 R1(config-if)#exit
Internet Router interface Configuration
 internet(config)#interface serial 1/0
 internet(config-if)#description CONNECTED WITH R1
 internet(config-if)#ip address 100.100.100.1 255.255.255.252
 internet(config-if)#clock rate 64000
 internet(config-if)#no shut
 internet(config-if)#exit
 internet(config)#interface serial 1/1
 internet(config-if)#description CONNECTED WITH R2
 internet(config-if)#ip address 200.200.200.1 255.255.255.252
 internet(config-if)#clock rate 64000
 internet(config-if)#no shut
 internet(config-if)#exit
Router 2 interface Configuration
 R2(config)#interface serial 1/1
 R2(config-if)#description CONNECTED WITH INTERNET
 R2(config-if)#ip address 200.200.200.2 255.255.255.252
 R2(config-if)#no shut
 R2(config-if)#exit
 R2(config)#interface fastEthernet 0/0
 R2(config-if)#description CONNECTED WITH SW2
 R2(config-if)#ip address 10.250.250.1 255.255.255.0
 R2(config-if)#no shut
 R2(config-if)#exit
GRE Tunnel interface Configuration in R1
and R2
 R1(config)#interface tunnel 1 (1:- Tunnel Number)
 R1(config-if)#description TUNNEL DIRECTLY CONNECTING TO R2
 R1(config-if)#tunnel source 100.100.100.2 (source Public ip address of R1)
 R1(config-if)#tunnel destination 200.200.200.2 (Destination Public ip address of
R2)
 R1(config-if)#ip address 172.16.16.1 255.255.255.252 (Private ip address for
Tunnel)
 R1(config-if)#exit
 R2(config)#interface tunnel 2 (2:- Tunnel Number)
 R2(config-if)#description TUNNEL DIRECTLY CONNECTING TO R1
 R2(config-if)#tunnel source 200.200.200.2 (source Public ip address of R2)
 R2(config-if)#tunnel destination 100.100.100.2 (Destination Public ip address of
R1)
 R2(config-if)#ip address 172.16.16.2 255.255.255.252 (Private ip address for
Tunnel)
 R2(config-if)#exit
Protocol Configuration in R1 and R2 to
exchange their route
 R1(config)#router rip
 R1(config-router)#version 2
 R1(config-router)#network 192.168.2.0 {R1 internal network}
 R1(config-router)#network 172.16.16.0 {R1 Tunnel Network}
 R1(config-router)#no auto-summary
 R1(config-router)#exit
 Ø R1(config)#ip route 0.0.0.0 0.0.0.0 s1/0 {default route to internet}
 R2(config)#router rip
 R2(config-router)#version 2
 R2(config-router)#network 10.250.250.0 {R2 internal network}
 R2(config-router)#network 172.16.16.0 {R2 Tunnel Network}
 R2(config-router)#no auto-summary
 R2(config-router)#exit
 R2(config)#ip route 0.0.0.0 0.0.0.0 s1/1 {default route to internet}
Troubleshooting & Verification Commands
 Show ip interface brief
 Show ip route
 Show interfaces tunnel 2 (Tunnel Number)
Verify using
 Traceroute from PC1 to PC2
 All the traffic will go through Tunnel
GRE tunnel acts as all the devices are connected in same Ethernet
segment And also It hides the public address

More Related Content

What's hot (20)

PPT
Multicast Routing Protocols
Ram Dutt Shukla
 
PPTX
Tcp IP Model
Ankur Kumar
 
PPT
Mpls Services
Kristof De Brouwer
 
PPT
Internet control message protocol
asimnawaz54
 
PPT
Mpls Traffic Engineering ppt
Nitin Gehlot
 
PDF
Bidirectional Forwarding Detection (BFD)
KHNOG
 
PPTX
Subnetting Presentation
Touhidul Fahim
 
PPTX
Vpn(virtual private network)
sonangrai
 
PPTX
Network Layer
Dr Shashikant Athawale
 
PPTX
MPLS Layer 3 VPN
NetProtocol Xpert
 
PPTX
Label Distribution Protocol
Kashif Latif
 
PPTX
wireless network IEEE 802.11
Shreejan Acharya
 
PDF
MPLS Deployment Chapter 1 - Basic
Ericsson
 
PPTX
Unicast multicast & broadcast
NetProtocol Xpert
 
PPTX
Virtual Private Network(VPN)
Abrish06
 
PPT
Tcp ip
Dhani Ahmad
 
PPT
ipv6 ppt
Shiva Kumar
 
PPTX
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
Tarun Khaneja
 
PDF
Ncat ccna cheat sheet
EZREIG OMAR
 
PDF
Cisco router-commands
Robin Rohit
 
Multicast Routing Protocols
Ram Dutt Shukla
 
Tcp IP Model
Ankur Kumar
 
Mpls Services
Kristof De Brouwer
 
Internet control message protocol
asimnawaz54
 
Mpls Traffic Engineering ppt
Nitin Gehlot
 
Bidirectional Forwarding Detection (BFD)
KHNOG
 
Subnetting Presentation
Touhidul Fahim
 
Vpn(virtual private network)
sonangrai
 
Network Layer
Dr Shashikant Athawale
 
MPLS Layer 3 VPN
NetProtocol Xpert
 
Label Distribution Protocol
Kashif Latif
 
wireless network IEEE 802.11
Shreejan Acharya
 
MPLS Deployment Chapter 1 - Basic
Ericsson
 
Unicast multicast & broadcast
NetProtocol Xpert
 
Virtual Private Network(VPN)
Abrish06
 
Tcp ip
Dhani Ahmad
 
ipv6 ppt
Shiva Kumar
 
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
Tarun Khaneja
 
Ncat ccna cheat sheet
EZREIG OMAR
 
Cisco router-commands
Robin Rohit
 

Viewers also liked (9)

PDF
Network Virtualization in Cloud Data Centers
rjain51
 
PDF
MC-LAG Configuration with BGP-base VPLS
Johnson Liu
 
PDF
CloudStack NVP Integration - BACD
Hugo Trippaers
 
PPTX
Software defined networks and openflow protocol
Mahesh Mohan
 
PPTX
CloudStack + SDN
Chiradeep Vittal
 
PDF
Gre tunnel pdf
Rajesh Porwal
 
PPT
Device Driver in WinCE 6.0 R2
rahul_p_shukla
 
PDF
GRE (generic routing encapsulation)
Netwax Lab
 
PDF
OpenStack Architecture
Mirantis
 
Network Virtualization in Cloud Data Centers
rjain51
 
MC-LAG Configuration with BGP-base VPLS
Johnson Liu
 
CloudStack NVP Integration - BACD
Hugo Trippaers
 
Software defined networks and openflow protocol
Mahesh Mohan
 
CloudStack + SDN
Chiradeep Vittal
 
Gre tunnel pdf
Rajesh Porwal
 
Device Driver in WinCE 6.0 R2
rahul_p_shukla
 
GRE (generic routing encapsulation)
Netwax Lab
 
OpenStack Architecture
Mirantis
 
Ad

Similar to GRE Tunnel Configuration (20)

PPTX
Cisco CCNA GRE Tunnel Configuration
Hamed Moghaddam
 
PDF
Site to Site VPN between Cisco Routers
Sandeep Kumar
 
PDF
[AKIBA.AWS] VPN接続とルーティングの基礎
Shuji Kikuchi
 
PPT
Dynamic routing EIGRP
Kishore Kumar
 
PPTX
EIGRP CCNA
Juan Zambrano Burgos
 
PPT
CCIE Lab - IGP Routing
Kristof De Brouwer
 
PPTX
Eigrp Basics
Alp isik
 
PDF
EIGRP (enhanced interior gateway routing protocol)
Netwax Lab
 
PPTX
ops300 Week8 gre
trayyoo
 
PDF
Configuration of Residential Network using Enhanced Interior Gateway Routing ...
ijtsrd
 
PDF
Eigrp Cheatsheet - EIGRP in 15 min - Rishabh Dangwal - www.theprohack.com
Rishabh Dangwal
 
DOCX
Сүлжээ1
Lhagvaa Byamba
 
PDF
Configuring GRE Tunnel Through a Cisco ASA Firewall
Harris Andrea
 
PPT
CCNA Exam by [email protected] - for CCNA test
epro2k71
 
PDF
networking.pdf
fdsfds12
 
PPT
Tunnel & vpn1
ariesubagyo
 
PPTX
BGP Next-hop-self
NetProtocol Xpert
 
DOC
Ccn pv7 route_lab2-1_eigrp-load-balancing_student
Angel Clavel
 
PDF
CCNA Routing Protocols
Mansour Naslcheraghi
 
PPTX
EBGP MultiHop
NetProtocol Xpert
 
Cisco CCNA GRE Tunnel Configuration
Hamed Moghaddam
 
Site to Site VPN between Cisco Routers
Sandeep Kumar
 
[AKIBA.AWS] VPN接続とルーティングの基礎
Shuji Kikuchi
 
Dynamic routing EIGRP
Kishore Kumar
 
CCIE Lab - IGP Routing
Kristof De Brouwer
 
Eigrp Basics
Alp isik
 
EIGRP (enhanced interior gateway routing protocol)
Netwax Lab
 
ops300 Week8 gre
trayyoo
 
Configuration of Residential Network using Enhanced Interior Gateway Routing ...
ijtsrd
 
Eigrp Cheatsheet - EIGRP in 15 min - Rishabh Dangwal - www.theprohack.com
Rishabh Dangwal
 
Сүлжээ1
Lhagvaa Byamba
 
Configuring GRE Tunnel Through a Cisco ASA Firewall
Harris Andrea
 
CCNA Exam by [email protected] - for CCNA test
epro2k71
 
networking.pdf
fdsfds12
 
Tunnel & vpn1
ariesubagyo
 
BGP Next-hop-self
NetProtocol Xpert
 
Ccn pv7 route_lab2-1_eigrp-load-balancing_student
Angel Clavel
 
CCNA Routing Protocols
Mansour Naslcheraghi
 
EBGP MultiHop
NetProtocol Xpert
 
Ad

More from NetProtocol Xpert (20)

PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
NetProtocol Xpert
 
PPTX
Common Layer 2 Threats, Attacks & Mitigation
NetProtocol Xpert
 
PPTX
Storm-Control
NetProtocol Xpert
 
PPTX
Dynamic ARP Inspection (DAI)
NetProtocol Xpert
 
PPTX
IP Source Guard
NetProtocol Xpert
 
PPTX
DHCP Snooping
NetProtocol Xpert
 
PPTX
Password Recovery
NetProtocol Xpert
 
PPTX
Application & Data Center
NetProtocol Xpert
 
PPTX
Cisco ISR 4351 Router
NetProtocol Xpert
 
PPTX
Cisco ASR 1001-X Router
NetProtocol Xpert
 
PPTX
Securing management, control & data plane
NetProtocol Xpert
 
PPTX
Point to-point protocol (ppp), PAP & CHAP
NetProtocol Xpert
 
PPTX
Avoid DNS lookup when mistyping a command
NetProtocol Xpert
 
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
NetProtocol Xpert
 
PPTX
Private VLANs
NetProtocol Xpert
 
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
NetProtocol Xpert
 
PPTX
OTV Configuration
NetProtocol Xpert
 
PPTX
Cisco OTV 
NetProtocol Xpert
 
PPTX
OTV(Overlay Transport Virtualization)
NetProtocol Xpert
 
PPTX
Regular expression examples
NetProtocol Xpert
 
Basic Cisco ASA 5506-x Configuration (Firepower)
NetProtocol Xpert
 
Common Layer 2 Threats, Attacks & Mitigation
NetProtocol Xpert
 
Storm-Control
NetProtocol Xpert
 
Dynamic ARP Inspection (DAI)
NetProtocol Xpert
 
IP Source Guard
NetProtocol Xpert
 
DHCP Snooping
NetProtocol Xpert
 
Password Recovery
NetProtocol Xpert
 
Application & Data Center
NetProtocol Xpert
 
Cisco ISR 4351 Router
NetProtocol Xpert
 
Cisco ASR 1001-X Router
NetProtocol Xpert
 
Securing management, control & data plane
NetProtocol Xpert
 
Point to-point protocol (ppp), PAP & CHAP
NetProtocol Xpert
 
Avoid DNS lookup when mistyping a command
NetProtocol Xpert
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
NetProtocol Xpert
 
Private VLANs
NetProtocol Xpert
 
MTU (maximum transmission unit) & MRU (maximum receive unit)
NetProtocol Xpert
 
OTV Configuration
NetProtocol Xpert
 
Cisco OTV 
NetProtocol Xpert
 
OTV(Overlay Transport Virtualization)
NetProtocol Xpert
 
Regular expression examples
NetProtocol Xpert
 

Recently uploaded (20)

PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PDF
monopile foundation seminar topic for civil engineering students
Ahina5
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PPTX
ISO/IEC JTC 1/WG 9 (MAR) Convenor Report
Kurata Takeshi
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PPTX
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
PDF
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
PPTX
drones for disaster prevention response.pptx
NawrasShatnawi1
 
PPTX
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
PDF
PRIZ Academy - Change Flow Thinking Master Change with Confidence.pdf
PRIZ Guru
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PDF
A presentation on the Urban Heat Island Effect
studyfor7hrs
 
Thermal runway and thermal stability.pptx
godow93766
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
monopile foundation seminar topic for civil engineering students
Ahina5
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
ISO/IEC JTC 1/WG 9 (MAR) Convenor Report
Kurata Takeshi
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Hashing Introduction , hash functions and techniques
sailajam21
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
 
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
drones for disaster prevention response.pptx
NawrasShatnawi1
 
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
PRIZ Academy - Change Flow Thinking Master Change with Confidence.pdf
PRIZ Guru
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
A presentation on the Urban Heat Island Effect
studyfor7hrs
 

GRE Tunnel Configuration

  • 3. GRE (Generic Routing encapsulation)  It is the simplest protocol  It encapsulate inside or outside ip address  GRE is nothing to do with encryption that IPsec provide  We use GRE for Multicast traffic  It allow us to start treating the VPN connection like we using private link
  • 4. R1 interface Configuration  R1(config)#interface serial 1/0  R1(config-if)#description CONNECTED WITH INTERNET  R1(config-if)#ip address 100.100.100.2 255.255.255.252  R1(config-if)#no shut  R1(config-if)#exit  R1(config)#interface fastEthernet 0/0  R1(config-if)#description CONNECTED WITH SW1  R1(config-if)#ip address 192.168.2.1 255.255.255.0  R1(config-if)#no shut  R1(config-if)#exit
  • 5. Internet Router interface Configuration  internet(config)#interface serial 1/0  internet(config-if)#description CONNECTED WITH R1  internet(config-if)#ip address 100.100.100.1 255.255.255.252  internet(config-if)#clock rate 64000  internet(config-if)#no shut  internet(config-if)#exit  internet(config)#interface serial 1/1  internet(config-if)#description CONNECTED WITH R2  internet(config-if)#ip address 200.200.200.1 255.255.255.252  internet(config-if)#clock rate 64000  internet(config-if)#no shut  internet(config-if)#exit
  • 6. Router 2 interface Configuration  R2(config)#interface serial 1/1  R2(config-if)#description CONNECTED WITH INTERNET  R2(config-if)#ip address 200.200.200.2 255.255.255.252  R2(config-if)#no shut  R2(config-if)#exit  R2(config)#interface fastEthernet 0/0  R2(config-if)#description CONNECTED WITH SW2  R2(config-if)#ip address 10.250.250.1 255.255.255.0  R2(config-if)#no shut  R2(config-if)#exit
  • 7. GRE Tunnel interface Configuration in R1 and R2  R1(config)#interface tunnel 1 (1:- Tunnel Number)  R1(config-if)#description TUNNEL DIRECTLY CONNECTING TO R2  R1(config-if)#tunnel source 100.100.100.2 (source Public ip address of R1)  R1(config-if)#tunnel destination 200.200.200.2 (Destination Public ip address of R2)  R1(config-if)#ip address 172.16.16.1 255.255.255.252 (Private ip address for Tunnel)  R1(config-if)#exit
  • 8.  R2(config)#interface tunnel 2 (2:- Tunnel Number)  R2(config-if)#description TUNNEL DIRECTLY CONNECTING TO R1  R2(config-if)#tunnel source 200.200.200.2 (source Public ip address of R2)  R2(config-if)#tunnel destination 100.100.100.2 (Destination Public ip address of R1)  R2(config-if)#ip address 172.16.16.2 255.255.255.252 (Private ip address for Tunnel)  R2(config-if)#exit
  • 9. Protocol Configuration in R1 and R2 to exchange their route  R1(config)#router rip  R1(config-router)#version 2  R1(config-router)#network 192.168.2.0 {R1 internal network}  R1(config-router)#network 172.16.16.0 {R1 Tunnel Network}  R1(config-router)#no auto-summary  R1(config-router)#exit  Ø R1(config)#ip route 0.0.0.0 0.0.0.0 s1/0 {default route to internet}
  • 10.  R2(config)#router rip  R2(config-router)#version 2  R2(config-router)#network 10.250.250.0 {R2 internal network}  R2(config-router)#network 172.16.16.0 {R2 Tunnel Network}  R2(config-router)#no auto-summary  R2(config-router)#exit  R2(config)#ip route 0.0.0.0 0.0.0.0 s1/1 {default route to internet}
  • 11. Troubleshooting & Verification Commands  Show ip interface brief  Show ip route  Show interfaces tunnel 2 (Tunnel Number) Verify using  Traceroute from PC1 to PC2  All the traffic will go through Tunnel GRE tunnel acts as all the devices are connected in same Ethernet segment And also It hides the public address