virtual private networks warren toomey. available wan links
TRANSCRIPT
![Page 1: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/1.jpg)
Virtual Private Networks
Warren Toomey
![Page 2: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/2.jpg)
Available WAN Links
![Page 3: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/3.jpg)
Available WAN Links
• Dedicated Links: very expensive, fixed endpoints
• Packet-Switched: expensive, fixed endpoints but some choice
• What if we need a cheaper alternative, or one where the endpoints can move around?– We have to use the Internet– Our traffic goes through other peoples’ routers
![Page 4: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/4.jpg)
A Dilemma• We want to interconnect parts of our
enterprise over long distances– But we are using a public network to do so
![Page 5: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/5.jpg)
Virtual Private Network
• What we want is a WAN link: link with an IP address at each end, and one which carries traffic that others cannot see
• VPN: Virtual Private Network• Virtual: Information within a private network
is transported over a public network• Private: The traffic is encrypted to keep the
data confidential
![Page 6: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/6.jpg)
Benefits of VPNs
• Cost Savings: cheaper than dedicated links• Scalability: use existing Internet connection• Security: encryption ensures traffic is secure
![Page 7: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/7.jpg)
VPN Tunnels
• A VPN tunnel acts like a WAN link• In reality, it is a collection of public routers and
LAN/WAN links• Traffic enters the tunnel, and traverses the
tunnel until it reaches the other end• The traffic needs to be encapsulated:– Placed into the network protocol used on the
physical links of the tunnel– Example: IP packets are encapsulated in IP packets
![Page 8: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/8.jpg)
VPN Tunnels
![Page 9: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/9.jpg)
VPN Encryption
![Page 10: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/10.jpg)
GRE: VPN Technology
• Generic Routing Encapsulation• VPN technology developed by Cisco• Set up on two routers with public IP addrs• To form a tunnel between them– Carrying private IP traffic over public Internet
![Page 11: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/11.jpg)
GRE Example
• R1 has public IP address 1.1.1.1• R2 has public IP address 2.2.2.2• R1 has a private LAN 192.168.1.0/24• R2 has a private LAN 192.168.2.0/24
![Page 12: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/12.jpg)
GRE Example
• We want to route traffic between the private LANs. We need a tunnel between them
• The GRE tunnel acts like a WAN link– Each end has an “interface” with an IP address– Just like a s0/0/0 with an IP address
![Page 13: Virtual Private Networks Warren Toomey. Available WAN Links](https://reader035.vdocuments.net/reader035/viewer/2022071807/56649eb45503460f94bbbdbe/html5/thumbnails/13.jpg)
GRE Configuration
• We need static routes on each router. Cannot advertise with a routing protocol
• R1(config)# ip route 192.168.2.0 255.255.255.0 172.16.1.2• R2(config)# ip route 192.168.1.0 255.255.255.0 172.16.1.1
• Note: we use the private IP addresses in the static route