ADSL 非固定IP配置

vpdn enable
  no vpdn logging
  !
  vpdn-group pppoe
  request-dialin
  protocol pppoe
  !
  interface Ethernet0
  no shut
  ip address

ip adjust-mss 1452
  ip nat inside
  no ip directed-broadcast
  !
  interface ATM0
  no shut
  no ip address
  no ip directed-broadcast
  no atm ilmi-keepalive
  bundle-enable
  !
  interface ATM0.1 point-to-point
  no ip directed-broadcast
  pvc
 
pppoe-client dial-pool-number 1
  !
  !
  interface Dialer1
  ip address negotiated
  mtu 1492
  ip nat outside
  encapsulation ppp
  dialer pool 1
  ppp chap hostname
ppp chap password



  ppp pap sent-username password

  !
  ip nat inside source lis

t 1 interface Dialer1 overload


  !
  ip classless
  ip route 0.0.0.0 0.0.0.0 dialer1
  access-list 1 permit 0.0.255.255

你可能感兴趣的:(职场,休闲)