思科2600系列路由器上实现ADSL PPPOE拨号连接和DHCP

网络 路由交换
本文主要从技术层面向大家介绍了怎样去配置路由器实现ADSL PPPOE拨号上网连接和DHCP的配置,下面文章将给你详细的介绍。

路由器是我们常用到的网络设备,但是我们要怎样去配置它呢?怎样才能实现ADSL上网和PPPOE拨号连接呢?本文给出了详细配置命令。

Implement ADSL and DHCP on Cisco 2600 Series Router

下面的设置是在设置成功的路由器上导出来的, 使用的是以太口实现拨号和NAT.

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname externalrp01

!

boot-start-marker

boot-end-marker

!

!

no network-clock-participate slot 1

no network-clock-participate wic 0

no aaa new-model

ip subnet-zero

ip cef

!

!

ip dhcp excluded-address 192.168.2.1 192.168.2.99

!

ip dhcp pool Pool1

network 192.168.2.0 255.255.255.0

dns-server 202.96.128.166

default-router 192.168.2.1

!

ip name-server 202.96.134.133

ip name-server 202.96.128.166

vpdn enable

!

vpdn-group pppoe

request-dialin

protocol pppoe

!

no ftp-server write-enable

!

!

!

!#p#

interface FastEthernet0/0

ip address 192.168.2.1 255.255.255.0

ip nat inside

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

pppoe enable

pppoe-client dial-pool-number 1

!

interface Dialer1

mtu 1492

ip address negotiated

ip nat outside

encapsulation ppp

no ip mroute-cache

dialer pool 1

dialer-group 1

no cdp enable

ppp authentication pap callin

ppp pap sent-username ***** password 0 ******

!

ip nat inside source list 1 interface Dialer1 overload

ip classless

ip route 0.0.0.0 0.0.0.0 Dialer1 permanent

no ip http server

!

access-list 1 permit any

dialer-list 1 protocol ip permit

!

line con 0

line aux 0

line vty 0 4

!

!

!

end

 

【编辑推荐】

  1. 常用思科路由器密码恢复经典案例
  2. 思科路由器口令恢复办法全解
  3. 思科路由器安全性管理
  4. cisco路由器配置ACL详解
  5. cisco路由器启动进程
责任编辑:chenqingxiang 来源: IT实验室
相关推荐

2010-08-26 15:44:26

DHCP路由器

2010-09-16 14:30:58

2600路由器PPPo

2011-08-29 14:45:15

路由器ADSL猫双路由连接

2009-03-05 10:38:00

Cisco2600路由器

2010-09-27 12:58:36

思科路由器DHCP配置

2011-08-15 09:51:37

路由器PPPOE拔号

2009-12-22 10:15:27

业务级ADSL路由器

2009-12-30 10:07:15

2011-08-29 14:38:10

路由器ADSL猫双路由连接

2010-08-04 14:21:54

路由器配置

2009-12-22 15:04:11

路由器无法拨号故障

2010-08-13 09:08:11

CISCO配置

2010-09-07 12:13:35

ADSL PPPOE拨

2009-12-14 10:45:37

Tenda路由器设置问

2009-12-24 10:30:28

路由器实现ADSL接入

2010-08-03 08:39:49

路由器配置

2009-11-30 17:34:30

思科路由器系列

2009-12-22 16:14:24

ADSL路由器设置

2010-09-14 15:30:27

2009-02-18 14:52:55

路由产品实达模块化
点赞
收藏

51CTO技术栈公众号