Dynamips模擬器之模塊介紹

注意:保證你的IOS版本在12.2S以上,在模擬交換時候爲了保證實驗能成功.IOS版本在12.4
C7200
Slot 0:
  C7200-IO-FE   <------> 支持1個Fastethernet接口
  C7200-IO-2FE  <------> 支持2個 Fastethernet接口 (DynamipsGUI 2.3 裏面沒有這個選項,想用只有自己添加了)
  C7200-IO-GE-E <------> 插這個卡以後會同時出現2個端口,Ethernet0/0和GigabitEthernet0/0 (反正我沒有用到過這個卡)
注意:這三個卡只允許插在Slot0口,如果插入後面的slot口是無效的.
Slot 1-5:
  PA-2FE-TX <------> 支持2個Fastethernet接口
  PA-FE-TX  <------> 支持1個Fastethernet接口
  PA-4E     <------> 支持4個Ethernet接口
  PA-4T+    <------> 支持4個serial接口
  PA-8E     <------> 支持8個Ethernet接口
  PA-8T     <------> 支持8個serial接口
  PA-A1     <------> 支持1個ATM port adapter接口
  PA-GE     <------> 支持1個GigabitEthernet接口
  PA-POS-OC3<------> 支持1個Packet Over SONET/SDH接口(用於更高速度的接口)
 
c3725/c3745/c2691
  GT96100-FE <------>支持2個Fastethernet接口(只限制在slot 0)
  NM-16ESW   <------>支持16個Fastethernet接口(不做重複說明)
  NM-1FE-TX  <------>支持1個Fastethernet接口
  NM-4T      <------>支持4個serial接口
 
C3600(3620/3640/3660)
  NM-16ESW <------> 支持16個Fastethernet接口(交換模塊,在使用此模塊做交換實驗時候,請使用no ip routing 關閉端口路由) 
  NM-1E    <------> 支持1個Ethernet接口
  NM-1FE-TX<------> 支持1個Fastethernet接口 
  NM-4E    <------> 支持4個Ethernet接口
  NM-4T    <------> 支持4個serial接口
  Leopard-2FE<------>支持2個Fastethernet接口(3660專用,並且只能在slot 0 下使用)
注意:3620只能使用2個slot,3640可以使用4個slot,除Leopard-2FE模塊做了限制,其他模塊沒有做限制插具體哪個slot.(DynamipsGUI裏對slot已經做了限制,最近DynamipSeeV2.0已經發布了,但是裏面不支持3660)
 
c2600(2610/2611/2620/2621/2610XM/2620XM/2650XM)
  NM-16ESW <------> 支持16個Fastethernet接口
  NM-1E    <------> 支持1個Ethernet接口
  NM-1FE-TX<------> 支持1個Fastethernet接口
  NM-4E    <------> 支持4個Ethernet接口
  CISCO2600-MB-2E<------>支持2個Ethernet接口
  CISCO2600-MB-2FE<------>支持2個Fastethernet接口

注>DynamipsGUI裏的模塊CISCO2600-MB-2E,CISCO2600-MB-2FE,並且只有2620類型可選
Dynamipsee裏有2610/2611/2620/2621/2610XM/2620XM/2650XM類型選擇.但沒有2610/2611/2620/2621/2610XM/2620XM/2650XM

PPP協議實驗

拓撲圖如下:
R1 --------------------R2
    S1/0               S1/1
1.1.1.1/24          1.1.1.2/24
=================================
.NET文件的內容爲:
autostart = false
[localhost]
      `3640`
      image = c:\Program Files\Dynamips\images\C3640-IS.BIN
      confreg = 0x2102
      idlepc = 0x604feb34
      ram = 64
   
      `ROUTER R1`
      model = 3640
      console = 2001
      s1/0 = R2 s1/1
   
      `ROUTER R2`
      model = 3640
      console = 2002
=================================
PPPPoint to Point Protocol)協議是在點對點鏈路上運行的數據鏈路層協議
PPP
協議支持兩種認證協議:
1.PAP
Password Authentication Protocol,口令認證協議)

2.CHAP
Challenge Handshake Authentication Protocol,質詢握手認證協議)
PAP
是兩次握手認證協議,口令以明文傳送,被認證方首先發起認證請求。
CHAP
是三次握手認證協議,不發送口令,主認證方首先發起認證請求,安全性比PAP
=================================
詳細配置過程:
一、單向驗證
1:R1啓動pap(R1爲主驗證方,R2爲被驗證方)
R1(config)#int s1/0
R1(config-if)#no shut
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#encapsulation ppp                                       #修改封裝協議爲PPP
R1(config-if)#ppp authentication pap                                #認證協議爲pap
R1(config-if)#exi
R1(config)#username test password test                          #設置驗證用戶名及密碼
R2(config)#int s1/1
R2(config-if)#no shut
R2(config-if)#ip add 1.1.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp pap sent-username test password test             #發送驗證用戶名及密碼

2:R1啓動chap(R1爲主驗證方,R2爲被驗證方)
R1(config)#int s1/0
R1(config-if)#no shut
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#encapsulation ppp                               #修改封裝協議爲PPP
R1(config-if)#ppp authentication chap                      #認證協議爲pap
R1(config-if)#exi
R1(config)#username R2 password test                    # 發送被驗證方用戶名及密碼,R2爲被驗證方hostname
R2(config)#int s1/1
R2(config-if)#no shut
R2(config-if)#ip add 1.1.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp chap password test                       #設置用戶名及密碼,用戶名默認爲hostname,用戶名可更改,但必須兩邊一致
 
二、雙向驗證
1:R1跟R2同時啓動pap
R1(config)#int s1/0
R1(config-if)#no shut
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-username test password
test
R1(config-if)#exi
R1(config)#username test password test
R2(config)#int s1/1
R2(config-if)#no shut
R2(config-if)#ip add 1.1.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication pap
R2(config-if)#ppp pap sent-username test password test
R2(config-if)#exi
R2(config)#username test password test

2:
R1R2同時啓動chap
R1(config)#int s1/0
R1(config-if)#no shut
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exi
R1(config)#username R2 password test                            # R2
爲對方
hostname
R2(config)#int s1/1
R2(config-if)#no shut
R2(config-if)#ip add 1.1.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#exi
R2(config)#username R1 password test                            # R1
爲對方
hostname

3:R1啓動pap,R2啓動chap
R1(config)#int s1/0
R1(config-if)#no shut
R1(config-if)#ip add 1.1.1.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R1(config-if)#ppp chap password test
R1(config-if)#exi
R1(config)#username test password test
R2(config)#int s1/1
R2(config-if)#no shut
R2(config-if)#ip add 1.1.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#ppp pap sent-username test password test
R2(config-if)#exi
R2(config)#username R1 password test                             # R1
爲對方
hostname


驗證
:ping
       debug ppp authentication
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章