thinkhk 发表于 2018-7-12 09:10:08

Cisco ADSL PPPOE over Ethernet-czywf

interface FastEthernet0/0  ip add 10.0.0.200 255.255.255.0
  ip nat inside
  no sh
  !
  interface Dialer0
  no sh
  ip nat outside
  ip mtu 1492
  ip address negotiated
  encapsulation ppp
  dialer pool 1
  dialer-group 1
  ppp chap hostname cisco
  ppp chap password 0 cisco
  !

  ip>  ip route 0.0.0.0 0.0.0.0 Dialer0
  access-list 101 permit ip 10.0.0.0 0.255.255.255 any
  ip nat inside source list 101 int dialer0 overload
  ip dhcp pool poolcisco
  network 10.0.0.0 255.255.255.0
  default-router 10.0.0.200
  !
页: [1]
查看完整版本: Cisco ADSL PPPOE over Ethernet-czywf