国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

L2TP Virtual Private Dialup Network 配置

2019-11-04 20:39:13
字體:
來源:轉載
供稿:網友

  L2TP Virtual Private Dialup Network 配置
點擊查看大圖

  
  LAC
  hostname LAC
  !
  !
  ip subnet-zero
  no ip domain-lookup
  !
  vpdn enable
  no vpdn logging
  vpdn search-order domain
  !-- VPDN tunnel authorization is based on the domain only.
  !
  vpdn-group 1
  request-dialin
  !-- Enables the LAC to make requests to the LNS for dialin.
  PRotocol l2tp
  domain cisco.com
  accept-dialout
  !-- Enables the LAC to accept requests from the LNS for dialout.
  protocol l2tp
  dialer 1
  !-- Specifies the dialer that is used to dial out.
  terminate-from hostname LNS
  initiate-to ip 18.18.18.2
  local name LAC
  l2tp tunnel passWord l2tptunnel
  source-ip 18.18.18.1
  !
  isdn switch-type primary-net5
  !
  !
  controller E1 0
  clock source line primary
  pri-group timeslots 1-31
  !
  interface Loopback0
  ip address 18.18.18.1 255.255.255.255
  !
  interface Ethernet0
  ip address 10.200.20.34 255.255.255.0
  no ip route-cache
  no ip mroute-cache
  no cdp enable
  !
  !
  interface Serial0
  description -- Connection to the LNS
  ip address 18.18.18.6 255.255.255.252
  no fair-queue
  clockrate 64000
  no cdp enable
  !
  interface Serial0:15
  no ip address
  encapsulation ppp
  dialer rotary-group 1
  isdn switch-type primary-net5
  no cdp enable
  ppp authentication chap
  ppp chap hostname LAC
  !
  interface Dialer1
  ip unnumbered Loopback0
  encapsulation ppp
  dialer in-band
  dialer aaa
  !-- This command is required for L2TP dialout functionality even you are not
  !-- using AAA.
  dialer-group 1
  no cdp enable
  ppp authentication chap
  ppp chap hostname LAC
  ppp chap password 7 1511021F0725
  !
  no ip http server
  ip classless
  ip route 18.18.18.2 255.255.255.255 18.18.18.5
  !
  dialer-list 1 protocol ip permit
  no cdp run
  
  ############################################
  LNS
  hostname LNS
  !
  vpdn enable
  vpdn-group 1
  accept-dialin
  !-- Enables the LNS to accept request from the LAC for dialin.
  protocol l2tp
  virtual-template 1
  !-- For each user, a virtual-access is cloned from this virtual-template.
  request-dialout
  !-- Enables the LNS to request the LAC for dialout.
  protocol l2tp
  pool-member 1
  !-- Specifies the dialer profile to be used to dial out.
  terminate-from hostname LAC
  initiate-to ip 18.18.18.1
  local name LNS
  l2tp tunnel password l2tptunnel
  source-ip 18.18.18.2
  !
  !
  interface Loopback0
  ip address 18.18.18.2 255.255.255.255
  !
  interface Ethernet0
  ip address 10.200.20.24 255.255.255.0
  no ip route-cache
  no ip mroute-cache
  !
  interface Virtual-Template1
  ip unnumbered Loopback0
  no peer default ip address
  ppp chap hostname LNS
  !
  interface Serial0
  description -- Connection to the LAC
  ip address 18.18.18.5 255.255.255.252
  no ip route-cache
  no ip mroute-cache
  !
  interface Dialer1
  !-- For each user, a dialer profile is configured.
  ip unnumbered Loopback0
  encapsulation ppp
  dialer pool 1
  !-- "dialer pool 1" must match "pool-member 1" in the vpdn-group.
  dialer remote-name remote1@cisco.com
  dialer string 6122
  !-- ISDN number that the LAC uses to dialout the remote client remote1@cisco.com.
  dialer vpdn
  !-- Enables the dialer profile to use L2TP dialout and so place a VPDN call.
  dialer-group 1
  ppp authentication chap callin
  ppp chap hostname LNS
  !
  interface Dialer2
  ip unnumbered Loopback0
  encapsulation ppp
  dialer pool 1
  dialer remote-name remote2@cisco.com
  dialer string 6121
  dialer vpdn
  dialer-group 1
  no cdp enable
  ppp authentication chap callin
  ppp chap hostname LNS
  !
  no ip http server
  ip classless
  ip route 10.200.16.26 255.255.255.255 10.200.20.1
  ip route 17.17.17.1 255.255.255.255 Dialer1
  ip route 17.17.17.2 255.255.255.255 Dialer2
  ip route 17.17.17.3 255.255.255.255 10.200.20.32
  ip route 18.18.18.1 255.255.255.255 18.18.18.6
  !
  dialer-list 1 protocol ip permit
  no cdp run


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 安国市| 苍梧县| 彝良县| 图们市| 昆山市| 喀喇沁旗| 武陟县| 云龙县| 专栏| 柳林县| 库伦旗| 松江区| 安吉县| 应用必备| 临潭县| 崇州市| 青阳县| 河间市| 米泉市| 普兰店市| 杂多县| 定边县| 岱山县| 神农架林区| 仙居县| 鞍山市| 福清市| 天镇县| 来安县| 伊川县| 津市市| 土默特右旗| 鹤壁市| 吴桥县| 从化市| 巴彦淖尔市| 洛阳市| 石门县| 绥芬河市| 饶平县| 阳朔县|