GRE.

Slides:



Advertisements
Similar presentations
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
CS470, A.SelcukIPsec – AH & ESP1 CS 470 Introduction to Applied Cryptography Instructor: Ali Aydin Selcuk.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
Securing Remote PC Access to UNIX/Linux Hosts with VPN or SSH Charles T. Moetului WRQ, Inc. (206)
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
Virtual Private Networks. Why VPN Fast, secure and reliable communication between remote locations –Use leased lines to maintain a WAN. –Disadvantages.
Lesson 4 The IPv6 Header.
Network Layer Packet Forwarding IS250 Spring 2010
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
Source Port # (16)Destination Port # (16) Sequence Number (32 bits) Acknowledgement Number (32 bits) Hdr Len (4) Flags (6)Window Size (16) Options (if.
VPN TUNNELING PROTOCOLS PPTP, L2TP, L2TP/IPsec Ashkan Yousefpour Amirkabir University of Technology.
Transmission Control Protocol Internet Protocol TCP/IP.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
Internet Protocol (IP)
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
PPTP Point-to-Point Tunneling Protocol (PPTP) –Problem: PPP was created for dialing into a local RAS server –But the site’s RAS may be far away –Long-distance.
1 IP : Internet Protocol Computer Network System Sirak Kaewjamnong.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
CS 4396 Computer Networks Lab
L2TP Chapter 7. Motivation Sometimes we want to tunnel one protocol over another protocol –Maybe the network does not understand how to forward that protocol.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
4: Network Layer4b-1 IPv6 r Initial motivation: 32-bit address space completely allocated by r Additional motivation: m header format helps speed.
Lesson 2 Introduction to IPv6.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
1 Lecture 13 IPsec Internet Protocol Security CIS CIS 5357 Network Security.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
Virtual Private Networks Ed Wagner CS Overview Introduction Types of VPNs Encrypting and Tunneling Pro/Cons the VPNs Conclusion.
1 Figure 3-5: IP Packet Total Length (16 bits) Identification (16 bits) Header Checksum (16 bits) Time to Live (8 bits) Flags Protocol (8 bits) 1=ICMP,
Dynamic Stateless GRE Tunnel Li Xue Dayong Guo 1.
Net7: IP 協定 Internet Protocol 授課教師:雲林科技大學 張慶龍 老師.
Understanding IPv6 Slide: 1 Lesson 5 ICMPv6. Understanding IPv6 Slide: 2 Lesson Objectives Purpose of ICMPv6 and the structure of all ICMPv6 messages.
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Jonathan Brewer Technical Director Araneo Wireless Solutions Layer 3 Tunnels for Broadband Delivery.
TSG-A WG4 TITLE: GRE L2TPv3 Comparison SOURCE:
© 2003, Cisco Systems, Inc. All rights reserved.
IPSec Detailed Description and VPN
Virtual Private Networks
Virtual Private Networks
Multiplexing.
Virtual Private Network (VPN)
A quick intro to networking
IP - The Internet Protocol
IPv6 / IP Next Generation
IP - The Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
What’s “Inside” a Router?
Internet Protocol (IP)
Virtual Private Network (VPN)
IP - The Internet Protocol
Guide to TCP/IP Fourth Edition
IP : Internet Protocol Surasak Sanguanpong
Chapter 20 Network Layer: Internet Protocol
Unit 3 Mobile IP Network Layer
IP - The Internet Protocol
Chapter 20. Network Layer: IP
IP - The Internet Protocol
Introduction to Networks
Network Fundamentals – Chapter 5
Virtual Private Network zswu
IP - The Internet Protocol
Review of Internet Protocols Network Layer
IPv6 Current version of the Internet Protocol is Version 4 (v4)
Presentation transcript:

GRE

Motivation Sometimes we want to tunnel one protocol over another protocol Maybe the network does not understand how to forward that protocol Maybe want to route around a failure Maybe want to tunnel for policy reasons Mobility VPN services

VPN Virtual Private Network Point-to-point network link routed over existing available networks. Cheaper in terms of capital expenditure Easy to add

VPNs and ISPs Useful for reselling ADSL services Will discuss more about this next lecture.

Generic Routing Encapsulation GRE Defined in RFCs 1701, 2784 Encapsulated in IP, protocol number 47

GRE Generic protocol for tunnelling Though only IPv4 tunnelling is well defined and widely implemented

GRE --------------------------------- | | | Delivery Header | | | | Delivery Header | | GRE Header | | Payload packet |

GRE Header: RFC 1701 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |C|R|K|S|s|Recur| Flags | Ver | Protocol Type | | Checksum (optional) | Offset (optional) | | Key (optional) | | Sequence Number (optional) | | Routing (optional) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

RFC 1701 C: checksum bit R: routing bit K: key bit S: sequence bit s: strict source route Recur: recursion control Protocol: Ethernet protocol type field 0x0800 for IPv4

GRE Header: RFC 2784 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |C| Reserved0 | Ver | Protocol Type | | Checksum (optional) | Reserved1 (Optional) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

PPTP Point-to-point tunnelling protocol PPP encapsulated over IP PPP negotiation negotiated over TCP Tunnelled packets use GRE GRE version field set to one, GRE header slightly modified.

GRE Issues – RFC 2784 Path MTU Discovery IPv6 Interaction with ICMP Looping