首页 > 学院 > 网络通信 > 正文

[教学] 一份关于EASE-IP的配置

2019-11-04 20:37:10
字体:
来源:转载
供稿:网友

  This configuration will allow the AUX port on a router to
  establish a dial-up PPP connection using PAP authentication
  to a non-Cisco access server. This configuration uses Easyip
  (only available in Cisco IOS 11.3) and oBTains its IP address
  from the remote router.
  
  
  ! Must Use 11.3 to use Easy-IP
  !
  version 11.3
  no service passWord-encryption
  !
  hostname EASY_IP_DDR
  !
  enable password 7 xxxxxxxx
  !
  username xxxxxxx password 0 xxxxxxxx
  ip subnet-zero
  ip nat inside source list 101 interface Dialer0 overload
  ip domain-name xxxxxxx.com
  ip name-server 192.168.1.2
  ip name-server 192.168.1.3
  chat-script modemusrobitcs-336 "" "at&fs0=1&c1&d3&h1&r2&b1&k1&m4&w0" "
  OK" ""
  chat-script dialnum "" "atdt/T" TIMEOUT 120 CONNECT /c
  !
  !
  !
  interface Ethernet0
  ip address 199.78.250.254 255.255.255.0
  ip nat inside
  !
  interface Ethernet1
  no ip address
  shutdown
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Async1
  no ip address
  encapsulation ppp
  dialer in-band
  dialer rotary-group 0
  async default routing
  async mode dedicated
  !
  interface Dialer0
  ip address negotiated
  ip nat outside
  encapsulation ppp
  dialer in-band
  dialer idle-timeout 900
  dialer map ip 207.172.115.50 name xxxxxxxxx modem-script dialnum
  broadcast 93549711
  dialer-group 1
  ppp authentication pap callin
  ppp pap sent-username xxxxxxx password 7 xxxxxxxx
  !
  no ip classless
  ip route 0.0.0.0 0.0.0.0 Dialer0
  access-list 101 permit ip 199.78.250.0 0.0.0.255 any
  dialer-list 1 PRotocol ip permit
  !
  line con 0
  exec-timeout 0 0
  line aux 0
  script reset modemusrobitcs-336
  modem InOut
  transport input all
  stopbits 1
  speed 38400
  flowcontrol hardware
  line vty 0 4
  password 7 xxxxxx
  login
  !
  end

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表