天下网吧 >> 网吧方案 >> 网络方案 >> 正文

思科2600系列路由器上实现ADSL PPPOE拨号连接和DHCP

  Implement ADSL and DHCP on Cisco 2600 Series Router

  下面的设置是在设置成功的路由器上导出来的, 使用的是以太口实现拨号和NAT.

  !

  version 12.3

  service timestamps debug datetime msec

  service timestamps log datetime msec

  no service password-encryption

  !

  hostname externalrp01

  !

  boot-start-marker

  boot-end-marker

  !

  !

  no network-clock-participate slot 1

  no network-clock-participate wic 0

  no aaa new-model

  ip subnet-zero

  ip cef

  !

  !

  ip dhcp excluded-address 192.168.2.1 192.168.2.99

  !

  ip dhcp pool Pool1

  network 192.168.2.0 255.255.255.0

  dns-server 202.96.128.166

  default-router 192.168.2.1

  !

  ip name-server 202.96.134.133

  ip name-server 202.96.128.166

  vpdn enable

  !

  vpdn-group pppoe

  request-dialin

  protocol pppoe

  !

  no ftp-server write-enable

  !

  !

  !

  !

  interface FastEthernet0/0

  ip address 192.168.2.1 255.255.255.0

  ip nat inside

  duplex auto

  speed auto

  !

  interface FastEthernet0/1

  no ip address

  duplex auto

  speed auto

  pppoe enable

  pppoe-client dial-pool-number 1

  !

  interface Dialer1

  mtu 1492

  ip address negotiated

  ip nat outside

  encapsulation ppp

  no ip mroute-cache

  dialer pool 1

  dialer-group 1

  no cdp enable

  ppp authentication pap callin

  ppp pap sent-username ***** password 0 ******

  !

  ip nat inside source list 1 interface Dialer1 overload

  ip classless

  ip route 0.0.0.0 0.0.0.0 Dialer1 permanent

  no ip http server

  !

  access-list 1 permit any

  dialer-list 1 protocol ip permit

  !

  line con 0

  line aux 0

  line vty 0 4

  !

  !

  !

  end

本文来源:天下网吧 作者:网吧方案

声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下