Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3181927
  • 博文数量: 39
  • 博客积分: 10067
  • 博客等级: 上将
  • 技术积分: 4018
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-03 15:39
文章分类

全部博文(39)

文章存档

2011年(2)

2009年(3)

2008年(34)

分类: 系统运维

2008-03-11 09:43:07

interface FastEthernet0/1
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface FastEthernet0/0/0
 no ip address
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
 pppoe enable
 pppoe-client dial-pool-number 1

!
interface Dialer1
 mtu 1482
 ip address negotiated
 ip nat outside

 ip virtual-reassembly
 encapsulation ppp
 dialer pool 1
 dialer-group 1
 ppp authentication pap callin
 ppp pap sent-username  username@adsl  password 
hashed_pass
!
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip nat inside source list 100 interface Dialer1 overload
!
access-list 100 permit ip 172.16.1.0 0.0.0.255 any
dialer-list 1 protocol ip permit
阅读(1278) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~