找回密码
 立即注册
搜索
查看: 249|回复: 0

2621router pppoe+nat

[复制链接]

177

主题

1267

回帖

1923

积分

金牌会员

积分
1923
发表于 2005-8-11 09:33:02 | 显示全部楼层 |阅读模式
前些日子调试了个路由器.
使用2621做pppoe拨号+nat,代理公司上网.

配置如下:部分敏感信息更改了.
2621#sh run
Building configuration...

Current configuration : 1311 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname 2621
!
boot-start-marker
boot-end-marker
!
enable secret 5 $CAm5PyPuBwIeJwa5n1
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
no ip domain lookup
ip name-server 202.106.0.20
vpdn enable
!
vpdn-group 1
request-dialin
  protocol pppoe
!
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address 10.1.1.254 255.255.255.0
ip nat inside
no ip mroute-cache
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
no fair-queue
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username cisco password 0 passwd(由电信提供)
!
ip nat inside source list 1 interface Dialer1 overload
no ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
line con 0
line aux 0
login
!!
end
2621#
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|海浩社区

GMT+8, 2025-9-18 01:22 , Processed in 0.063677 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表