思科配置PPP链路的AAA认证

220阅读 0评论2011-12-22 wfeng
分类:系统运维

:实验拓扑:

         

:实验要求:

       在两台路由器建立PPP链 路时,客户端路由器向服务器端路由器发起连接请求,服务器端路由器收集客户端发送的用户名和密码后 ,将用户名和密码发送给服务器,由认证服务器判 断此接入请求应接受还还拒绝,并将相应的信息反馈给服务器端路由器。服务器端路由器根据反馈的结果,允许或拒绝客户端路由器的PPP链路的建立。

三:实验:

1:基本接口的配置:

R1(config)#int f0/0

R1()#ip add 192.168.1.200 255.255.255.0

R1(config-if)#no sh

R1(config-if)#int s1/0

R1(config-if)#encapsulation ppp

R1(config-if)#ip add 12.0.0.1 255.255.255.0

R1(config-if)#no sh

R2(config-if)#int s1/0

R2(config-if)#ip add 12.0.0.2 255.255.255.0

R1(config-if)#encapsulation ppp

R2(config-if)#no sh

R2(config-if)#int f0/0

R2(config-if)#ip add 172.16.1.1 255.255.255.0

R2(config-if)#no sh


2:配置Pap认证

R1(config-if)#int s1/0

R1(config-if)#ppp authentication pap test

R1(config)#aaa new-model

R1(config)#aaa authentication ppp test group radius

R1(config)#radius-server host 192.168.1.100

配置WinRadius。添加用户bbb,密码bbb

 

R2(config-if)#int s1/0

R2(config-if)#ppp pap sent-username bbb password bbb

3:测试:

R2#   sho ip int b

Interface                  IP-Address      OK? Method Status                Protocol

FastEthernet0/0            172.16.1.1      YES manual up                    up     

Serial1/0                  12.0.0.2        YES manual up                    up   



CCIE Security 2009 IOS防火墙合集



上一篇:Vlan配置详解之单臂路由
下一篇:Juniper netscreen-204 HA故障一例分析