自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

思科認(rèn)證CCNP實(shí)驗(yàn):GRE隧道流量的IPSEC加密

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

由于思科認(rèn)證CCNP實(shí)驗(yàn)中IPSEC只支持對(duì)單播流量的加密,所以我們?cè)谒伎普J(rèn)證CCNP實(shí)驗(yàn)時(shí),先使用GRE隧道可以將廣播、組播包封裝在一個(gè)單播包中,再用IPSEC進(jìn)行加密。

在進(jìn)行IPSEC配置前應(yīng)首先配置好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

思科認(rèn)證CCNP實(shí)驗(yàn)中這個(gè)位置,將總公司內(nèi)部的骨干網(wǎng)絡(luò)設(shè)為Area0,隧道部分和分公司內(nèi)部網(wǎng)絡(luò)設(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

思科認(rèn)證CCNP實(shí)驗(yàn)里GRE隧道建立好后,就可以進(jìn)行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只對(duì)進(jìn)入GRE隧道的流量進(jìn)行加密
  ip access-list extended ToR2
  permit gre host 192.1.1.40 host 192.1.1.20
  exit

思科認(rèn)證CCNP實(shí)驗(yàn)中的GRE隧道是點(diǎn)對(duì)點(diǎn)模式的,所以傳輸集應(yīng)使用傳輸模式
  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實(shí)驗(yàn)***別忘記刪除測(cè)試隧道時(shí)建立的流量:
  ip access-list extended perimeter
  no permit gre host 192.1.1.20 host 192.1.1.40

【編輯推薦】

  1. 思科新推CCNP無(wú)線認(rèn)證考試 無(wú)線考試體系日趨完整
  2. 思科認(rèn)證CCNP實(shí)驗(yàn)設(shè)備配置介紹和注意事項(xiàng)
  3. 思科認(rèn)證CCNP考試及優(yōu)勢(shì)介紹
責(zé)任編輯:落葉 來(lái)源: 清華大學(xué)出版社
相關(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認(rèn)證考點(diǎn)難點(diǎn)思科CCNP認(rèn)證考點(diǎn)難

2009-09-08 12:17:14

思科認(rèn)證CCNA CC差別

2009-08-19 14:36:58

思科認(rèn)證CCNP

2009-09-02 08:41:41

思科認(rèn)證CCNPCCNPCCIP

2009-08-28 10:25:24

思科認(rèn)證思科認(rèn)證新方向CCNP無(wú)線認(rèn)證

2009-08-21 15:50:22

2009-09-10 09:11:52

思科CCNP認(rèn)證介紹教材資料

2009-09-16 08:51:28

CCNP學(xué)習(xí)方法

2009-08-18 23:27:30

思科認(rèn)證CCNP

2009-09-09 17:41:54

CCNP學(xué)習(xí)方法

2009-08-26 09:20:12

思科認(rèn)證CCNP思科認(rèn)證CCNP學(xué)習(xí)方

2009-09-10 09:06:06

思科CCNP認(rèn)證教材思科CCNP認(rèn)證

2009-08-26 08:47:12

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

2009-08-31 09:17:13

2009-09-10 09:26:49

點(diǎn)贊
收藏

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