Cisco 2501做 pppoe 虚拟拨号实例

网络 路由交换
路由器是实现内网与外网互联的重要设备,下面文章详细的讲述了路由器做PPPOE虚拟拨号的配置实例。

路由器是实现内网与外网互联的重要设备,下面文章详细的讲述了路由器做PPPOE虚拟拨号的配置实例。  
 

需求最低的IOS是“REMOTE ACCESS SERVER”特性集
c2500-c-l.123-5b.bin
2500系列
要改接口的MTU。不然会有一些问题。

 

下面的配置是可以用的。
而且用 2501 就可以做了。
我看到以前网上一些人的配置是用26做的。说25不能做。
而且还必须是两个ethenet 口。其实不用
一个ethernet 口一样做。
而且用的还很好 :
但是用2505 是不行的。
2505的接口是hub口。不是ethernet 口。
我现在还没有找到一个合适的ios版本。即支持pppoe client 又支持 hub接口。

 

REMOTE ACCESS SERVER的特征级,不支持hub接口。
12.2 enterprise版本不支持pppoe client。郁闷了好一段时间。

 

这个配置同样使用与17 26等设备。
大家可以测试一下。
关于用ADSL做vpn。
我记得以前贴过 :
用25是不行了。
这个feature不支持 ipsec
支持ipsec 的版本不支持 pppoe client
需要用 26 的才可以 :
26有支持两个feature的ios版本。

nfshanq#sh run
Building configuration...

 

Current configuration : 1241 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service tcp-small-servers
!
hostname nfshanq
!
boot-start-marker
boot-end-marker
!

 

!

 

ip subnet-zero
ip name-server 202.96.134.133
!
!
!
!
! #p#
interface Ethernet0
ip address 192.168.7.2 255.255.255.0
ip mtu 1492
ip nat inside
no ip route-cache
ip tcp adjust-mss 1442
pppoe enable
pppoe-client dial-pool-number 1 dial-on-demand
!
interface Serial0
no ip address
no ip route-cache
shutdown
!
interface Serial1
no ip address
no ip route-cache
shutdown
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer-group 1
ppp authentication pap callin
ppp pap sent-username test password 0 test
!
ip nat inside source list 100 interface Dialer1 overload
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 permanent
!

 

access-list 100 permit ip 192.168.7.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
line con 0
line aux 0
transport input all
line vty 0 4
!
!
 

 

【编辑推荐】

  1. 思科路由器密码恢复的经典方案
  2. 实例:华为和思科路由器的互联配置
  3. 思科路由器安全性管理
  4. cisco路由器配置ACL详解
  5. cisco路由器启动进程
责任编辑:chenqingxiang 来源: IT168
相关推荐

2010-09-16 14:43:46

2009-12-25 10:17:38

2011-09-15 15:08:27

2009-12-14 17:39:52

腾达无线路由器设置

2011-04-01 16:14:17

ADSL接入方式PPPoE

2010-08-23 13:36:32

无线路由设置

2010-09-16 13:16:20

CISCO PPPoE

2010-09-14 15:30:27

2009-12-14 14:26:47

Tenda路由器设置详

2009-12-25 16:58:19

ADSL接入方式

2011-08-08 14:30:02

2010-08-19 14:03:52

ADSL Modem设

2009-12-29 15:34:42

ADSL宽带接入网

2010-07-28 13:15:49

2010-09-06 13:50:01

PPPOEDHCP

2010-09-07 12:13:35

ADSL PPPOE拨

2010-09-06 15:17:09

2009-02-23 14:17:15

2009-12-30 10:07:15

2011-08-15 09:51:37

路由器PPPOE拔号
点赞
收藏

51CTO技术栈公众号