hujh20 发表于 2018-7-11 09:50:09

Cisco 2811 PPPOE+NAT 配置实例

  !
  version 12.4
  service timestamps debug datetime msec
  service timestamps log datetime msec
  no service password-encryption
  !
  hostname Router
  !
  boot-start-marker
  boot-end-marker
  !
  !
  no aaa new-model
  !
  resource policy
  !
  ip subnet-zero
  !
  !
  ip cef
  !
  !
  !
  username cisco privilege 15 password 0 cisco
  !
  !
  !
  interface FastEthernet0/0
  ip address 192.168.0.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 10 dial-on-demand
  !
  interface Serial0/2/0
  no ip address
  encapsulation frame-relay IETF
  shutdown
  frame-relay lmi-type ansi
  !
  interface Dialer1
  ip address negotiated
  ip nat outside
  encapsulation ppp
  dialer pool 10

  dialer>  dialer-group 1
  ppp pap sent-username mdkt888 password 0 35142700
  !

  ip>  ip route 0.0.0.0 0.0.0.0 Dialer1
  !
  ip http server
  ip http authentication local
  ip nat inside source list 1 interface Dialer1 overload
  !
  access-list 1 permit any
  dialer-list 1 protocol ip permit
  !
  control-plane
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  login local
  transport input all
  line vty 5 15
  login local
  transport input all
  !
  scheduler allocate 20000 1000
  !
  end
页: [1]
查看完整版本: Cisco 2811 PPPOE+NAT 配置实例