知识屋:更实用的电脑技术知识网站
所在位置:首页 > 电脑知识 > 路由器

路由器+ADSL模块ppoe+DHCP经典配置

发布时间:2015-06-17 12:08:48作者:知识屋

路由器+ADSL模块ppoe+DHCP经典配置
 
路由器+ADSL模块ppoe+DHCP经典配置
  www.zhishiwu.com  
hostname Router1841
enable password cisco
ip dhcp excluded-address 192.168.11.254
ip dhcp excluded-address 192.168.11.111
!
ip dhcp pool dhcp
   network 192.168.11.0 255.255.255.0
   dns-server 202.96.69.38 202.96.64.68
   default-router 192.168.11.254
  
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 8/35
  pppoe-client dial-pool-number 1
!
dsl operating-mode auto
 
interface fa0/1
  ip add 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
 
interface Dialer0
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1429
dialer pool 1
dialer idle-timeout 0
dialer persistent
dialer-group 1
no cdp enable
ppp authentication pap chap callin
ppp pap sent-username ADSLzhangnan password 0 xtid1235
ip route 0.0.0.0 0.0.0.0 Dialer0
 
ip nat inside source list 100 interface Dialer0 overload
!
 
access-list 100 permit ip 192.168.11.0 0.0.0.255 any
dialer-list 1 protocol ip permit
 
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜