Router#show run
Building configuration...
Current configuration : 1638 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
!
username adsl privilege 15 password 7 xxxxxxxxxxxxxxxxxx
ip subnet-zero
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.1 192.168.0.2
ip dhcp ping packets 3
!
ip dhcp pool xxxxxxxx
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 202.96.104.18
domain-name xxxxxxxxxxxxxxxxx
lease 8
!
ip dhcp pool ftp
host 192.168.0.252 255.255.255.0
hardware-address 0010.7500.8021
client-name ftp-server
!
vpdn enable
!
vpdn-group Adsl
request-dialin
protocol pppoe
!
!
!
!
interface Ethernet0/0
no ip address
no ip mroute-cache
half-duplex
pppoe enable
pppoe-client dial-pool-number 100
!
interface Ethernet0/1
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1450 这条很重要限制内网用户mtu为1450。这样163.net等网站才进的去
half-duplex
!
interface Dialer10
ip address negotiated
ip nat outside
encapsulation ppp
no ip mroute-cache
load-interval 30
dialer pool 100
dialer-group 99
pulse-time 0
ppp authentication pap callin
ppp pap sent-username xxxxxxxx password 7 xxxxxxxxxxxxxxxxxxxxx
!
ip nat inside source list 188 interface Dialer10 overload
ip nat inside source static tcp 192.168.0.252 21 interface Dialer10 21
ip nat inside source static tcp 192.168.0.188 20000 interface Dialer10 20000
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer10
ip http server
ip pim bidir-enable
!
logging 192.168.0.188
access-list 188 permit ip any any
dialer-list 99 protocol ip permit
!
line con 0
login local
line aux 0
line vty 0 4
login local
line vty 5 181
login local
!
!
end
Router#巧 巧 读 书:http://www.qqread.com/net-case/n456175081.html
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- ADSL应用面面俱到 (1322篇文章)
- Adsl共享上网 (2243篇文章)
- 电脑配置手册 (8416篇文章)
- ADSL modem专题 (1322篇文章)
- 教你使用ADSL (1153篇文章)
- 服务器配置专栏 (10992篇文章)
- ADSL应用篇 (299篇文章)
- 如何用ADSL上网——单机ADSL上网安 (230篇文章)
- ADSL应用 (69篇文章)
- 配置dhcp服务器 (89篇文章)
- 医疗行业存储解决方案:给医院数据容灾开“药 (0次浏览)
- 一指“扭”乾坤:惠普单键灾难恢复解决方案 (0次浏览)
- 全面细致讲解企业内部组网方案 (0次浏览)
- NEC面向全球市场推出第一款移动WiMAX解决方案 (0次浏览)
- Wsdom为山东联通网络业务保驾护航 (0次浏览)
- 北京石油化工学院借WATM实现网络计费增值 (0次浏览)
- WATM-2500为北大附小远程教育保驾增值 (0次浏览)
- 上海音乐学院借WATM-2500奏出网络管理的最强音 (0次浏览)
- 维维集团采用深信服上网行为管理解决方案 (0次浏览)
- RSA推广enVision安全管理平台 (0次浏览)



