首页 专题 - 实验 - 软件 - 管理 - 布线 - 方案 - 配置 - 问题 - 协议 - 下载 - 交换 - 路由 - 无线 - 安全 - 认证 - Cisco - 华为 - 网吧 - ADSL
您是本帖第818位浏览者 打印

[分享] 在26上做的ADSL配置

在26上做的ADSL配置

!
version 12.2
no parser cache
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname jinke
!
enable secret level 5 5 $1$BoQO$f5pYw2aeBn67RWGyAogEL/
enable password cisco
!
ip subnet-zero
!
!
no ip domain-lookup
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
no fair-queue
!
interface ATM0/0.1 point-to-point
pvc 8/81
pppoe-client dial-pool-number 1
!
!
interface Ethernet0/0
no ip address
shutdown
half-duplex
!
interface Serial0/0
ip address 12.1.1.1 255.255.255.252
ip nat outside
!
interface Ethernet0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip policy route-map ddn
half-duplex
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname ad50061370
ppp chap password 0 11111111
ppp pap sent-username ad50061370 password 0 11111111
!
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static 192.168.1.2 203.94.2.202
ip nat inside source static 192.168.1.10 203.94.2.201
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
no ip http server
ip pim bidir-enable
!
!
access-list 1 permit 192.168.1.129
access-list 2 permit 192.168.1.10
access-list 2 permit 192.168.1.2
dialer-list 1 protocol ip permit
!
route-map clear-df permit 10
match ip address 1
match interface Ethernet0/1
set ip df 0
!
route-map ddn permit 10
match ip address 2
set interface Serial0/0
!
route-map ddn permit 20
match ip address 1
match interface Ethernet0/1
set interface Dialer1
set ip df 0
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
!
line con 0
line aux 0
line vty 0 4
password cisco
login
line vty 5 15
login
!
!
end

TOP