| 
 | 
	
 
本文具体的介绍了配置的步骤,在ADSL接入时,我们要进行哪些操作呢?具体的步骤有哪些呢?我们在配置时应该怎样去操作呢?下面文章将给出答案。 
 说明:此案例为电信adsl PPPoE接入,需要使用一个普通adsl modem和一台cio 2500(1841)器(双以太口),IOS 12.2(15)T,能够实现局域网共享上网. 
 此案例配置共分7步: 
 第一步:配置vpdn 
 router(config)#vpdn enable(启用器的虚拟专用拨号-d) 
 router(config)#vpdn-group office (建立一个vpdn 组 office) 
 router(config-vpdn)#request-dialin(初始化一个d tunnel,建立一个请求拨入的vpdn子组,) 
 router(config-vpdn-req-in)#protocol pppoe (vpdn子组使用pppoe建立会话隧道) 
 第二步: 配置器连接adsl modem的接口 
 router(config)#interface fastEthernet 0/1 
 router(config-if)#no ip address 
 router(config-if)#pppoe enable 允许以太接口运行pppoe 
 router(config-if)#pppoe-clnt dial-pool-number1将以太接口的pppoe拨号客户端加入拨号池1 
 第三步:配置逻辑拨号接口: 
 router(config)#interface dialer1 (配置逻辑拨号接口) 
 router(config-if)#ip address negotiated (从adsl服务商动态协商得到ip地址) 
 router(config-if)#ip nat outside (为该接口启用NAT ) 
 router(config-if)#encapsulation ppp (为该接口封装PPP协议) 
 router(config-if)#dialer pool 1 (该接口使用1号拨号池进行拨号) 
 router(config-if)#dialer-group 1 (该命令对于pppoe是意义不大的) 
 router(config-if)#ppp authentication pap callin (启用ppp pap验证) 
 router(config-if)#$t-username fsDSL86257576@163.gd password 12345678 
 (使用已经申请的用户名和口令) 
 第四步:配置内部接口 
 router(config)#interface fastethernet0/0(配置内部接口) 
 router(config-if)#ip address 10.10.10.1 255.255.255.0(配置IP地址) 
 router(config-if)#ip nat inside(启用NAT) 
 第五步 
1 |   
 
 
 
 |