国产探花免费观看_亚洲丰满少妇自慰呻吟_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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 新龙县| 大连市| 彩票| 同江市| 稷山县| 绥化市| 津市市| 福泉市| 普兰县| 孝义市| 宝山区| 巢湖市| 唐山市| 洛隆县| 海丰县| 文成县| 集贤县| 寿宁县| 辉南县| 潮安县| 图木舒克市| 宁阳县| 泽库县| 威海市| 额敏县| 察雅县| 玉溪市| 石楼县| 蕉岭县| 垫江县| 阳谷县| 武夷山市| 京山县| 炎陵县| 延庆县| 若尔盖县| 慈溪市| 夏河县| 新疆| 永顺县| 永寿县|