注意:保证你的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`
      p_w_picpath = c:\Program Files\Dynamips\p_w_picpaths\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