pptp point-to-point tunneling protocol (pptp) –problem: ppp was created for dialing into a local...

9
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 calls are expensive RAS Long-Distance Call

Upload: henry-andrews

Post on 02-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 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

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 calls are expensive

RAS

Long-Distance Call

Page 2: 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

PPTP

• Point-to-Point Tunneling Protocol (PPTP)– We would like PPP to work over the Internet to

avoid long-distance telephone charges– But PPP is only a data link layer protocol– It is only good for transmission within a subnet

(single network) RAS

Page 3: 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

PPTP

• The Point-to-Point Tunneling Protocol (PPTP) makes this possible– Created by Microsoft– Widely used

RAS

AccessConcentrator

Page 4: 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

PPTP• PPTP Operation

– User dials into local PPTP access concentrator host

– User sends the access concentrator a PPP frame within an IP packet

RASAccess

Concentrator

Packet

Page 5: 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

PPTP

• PPTP Operation– Access concentrator places incoming IP packet

within another IP packet– Sends packet to the distant RAS

RASAccess

Concentrator

Encapsulated Packet

Page 6: 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

PPTP• PPTP Operation

– Distant RAS removes the original packet– Treats the packet as if it came in over a local

telephone line– Deals with the PPP frame within the packet

RAS

Original IP Packet

Page 7: 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

PPTP• PPTP Encapsulation

– Access concentrator receives the original IP packet, which has the destination IP address of the access concentrator

– Adds a new IP header with the IP address of the RAS

– Adds an enhanced general routing encapsulation (GRE) header for security

Original IP PacketEnhanced

GRE HeaderNew

IP Header

Page 8: 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

PPTP• PPTP Tunneling

– Encapsulating an IP packet within another packet to send it through a network is called tunneling

– This is how tunneling mode works in IPsec (discussed earlier in the module)

RAS

AccessConcentrator

Tunnel

Page 9: 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

PPTP

• Remote Access Server (RAS) is a widely used term

• PPTP documentation calls them network access servers (NASs)

• Same meaning but different namesNASRAS

=