路由器设置之ADSL、DHCP和PPPOE

网络 网络管理
文章中,我们对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
!
!
!
!
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

至此路由器上实现ADSL PPPOE拨号连接和DHCP就完成了。
 

责任编辑:佟健 来源: 网络整理
相关推荐

2010-08-05 10:24:35

路由器设置

2009-12-22 16:14:24

ADSL路由器设置

2010-07-20 16:41:30

Telnet端口

2010-07-30 09:05:56

路由器设置

2010-09-27 10:14:13

路由器DHCP功能

2012-07-03 14:08:39

路由器设置

2009-12-01 16:37:00

2011-09-14 17:04:39

无线路由器设置ADSL路由器

2009-11-26 10:06:44

ADSL路由器设置

2011-04-07 15:02:30

菜单路由器

2010-09-25 09:46:12

2010-09-06 13:50:01

PPPOEDHCP

2010-09-16 14:30:58

2600路由器PPPo

2010-09-15 14:20:26

2013-02-21 15:16:58

路由器VOIPNAT穿透方式

2011-08-09 13:30:17

腾达无线路由器路由器无线

2009-12-01 16:46:10

2011-09-06 15:48:42

水星路由器设置水星MR-804路由器路由器

2011-08-08 11:23:56

腾达路由器

2011-04-07 15:19:37

路由器
点赞
收藏

51CTO技术栈公众号