偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

思科認證CCNP實驗:GRE隧道流量的IPSEC加密

企業(yè)動態(tài)
思科認證CCNP實驗中,使用GRE隧道可以將廣播、組播包封裝在一個單播包中,再用IPSEC進行加密,以此來配合思科認證CCNP實驗里IPSEC只支持對單播流量的加密。

由于思科認證CCNP實驗中IPSEC只支持對單播流量的加密,所以我們在思科認證CCNP實驗時,先使用GRE隧道可以將廣播、組播包封裝在一個單播包中,再用IPSEC進行加密。

在進行IPSEC配置前應首先配置好GRE隧道,下面是R1上的GRE隧道配置:

R1:
  interface tunnel0
  ip address 192.168.3.1 255.255.255.0
  tunnel source s1/1
  tunnel destination 192.1.1.20
  exit
  interface s1/1
  ip address 192.1.1.40 255.255.255.0
  ip access-group perimeter in
  exit
  interface lo0
  ip address 192.168.1.1 255.255.255.0
  exit
  ip route 0.0.0.0 0.0.0.0 192.1.1.20

思科認證CCNP實驗中這個位置,將總公司內(nèi)部的骨干網(wǎng)絡設(shè)為Area0,隧道部分和分公司內(nèi)部網(wǎng)絡設(shè)為Area1:
  router ospf 1
  network 192.168.1.0 0.0.0.255 area 0
  network 192.168.3.0 0.0.0.255 area 1
  exit
  ip access-list extended perimeter
  permit udp host 192.1.1.20 host 192.1.1.40 eq 500
  permit esp host 193.1.1.20 host 192.1.1.40
  permit gre host 193.1.1.20 host 192.1.1.40
  deny ip any any
  exit

R2:
  interface tunnel0
  ip address 192.168.3.2 255.255.255.0
  tunnel source s1/0
  tunnel destination 192.1.1.40
  exit
  interface s1/0
  ip address 192.1.1.20 255.255.255.0
  ip access-group perimeter in
  exit
  interface lo0
  ip address 192.168.2.1 255.255.255.0
  exit
  ip route 0.0.0.0 0.0.0.0 192.1.1.40
  router ospf 1
  network 192.168.2.0 0.0.0.255 area 1
  network 192.168.3.0 0.0.0.255 area 1
  exit
  ip access-list extended perimeter
  permit udp host 192.1.1.40 host 192.1.1.20 eq 500
  permit esp host 192.1.1.40 host 192.1.1.20
  permit gre host 192.1.1.40 host 192.1.1.20
  deny ip any any
  exit

思科認證CCNP實驗里GRE隧道建立好后,就可以進行IPSEC配置了:
  R1上的配置:
  crypto isakmp enable
  crypto isakmp identity address
  crypto isakmp policy 10
  encryption aes
  authentication pre-share
  group 2
  hash sha
  exit
  crypto isakmp key cisco123 address 192.1.1.20 no-xauth

IPSEC只對進入GRE隧道的流量進行加密
  ip access-list extended ToR2
  permit gre host 192.1.1.40 host 192.1.1.20
  exit

思科認證CCNP實驗中的GRE隧道是點對點模式的,所以傳輸集應使用傳輸模式
  crypto ipsec transform-set trans esp-aes esp-sha-hmac
  mode transport
  exit
  crypto map mymap 10 ipsec-isakmp
  match address ToR2
  set transform-set trans
  set peer 192.1.1.20
  exit
  interface s1/1
  crypto map mymap
  exit

CCNP實驗***別忘記刪除測試隧道時建立的流量:
  ip access-list extended perimeter
  no permit gre host 192.1.1.20 host 192.1.1.40

【編輯推薦】

  1. 思科新推CCNP無線認證考試 無線考試體系日趨完整
  2. 思科認證CCNP實驗設(shè)備配置介紹和注意事項
  3. 思科認證CCNP考試及優(yōu)勢介紹
責任編輯:落葉 來源: 清華大學出版社
相關(guān)推薦

2011-11-25 13:14:16

2009-12-28 14:00:46

2012-07-17 09:57:15

2009-08-31 08:47:16

2009-08-24 11:04:56

2009-09-01 13:20:10

思科CCNP認證考點難點思科CCNP認證考點難

2009-09-08 12:17:14

思科認證CCNA CC差別

2009-09-02 08:41:41

思科認證CCNPCCNPCCIP

2009-08-19 14:36:58

思科認證CCNP

2009-08-21 15:50:22

2009-09-10 09:11:52

思科CCNP認證介紹教材資料

2009-08-28 10:25:24

思科認證思科認證新方向CCNP無線認證

2009-09-09 17:41:54

CCNP學習方法

2009-08-18 23:27:30

思科認證CCNP

2009-09-16 08:51:28

CCNP學習方法

2009-08-26 08:47:12

思科認證CCNP面試經(jīng)歷

2009-08-26 09:20:12

思科認證CCNP思科認證CCNP學習方

2009-09-10 09:06:06

思科CCNP認證教材思科CCNP認證

2009-09-10 09:26:49

2009-08-31 09:17:13

點贊
收藏

51CTO技術(shù)棧公眾號