• 全部
  • 經驗案例
  • 典型配置
  • 技術公告
  • FAQ
  • 漏洞說明
  • 全部
  • 全部
  • 大數據引擎
  • 知了引擎
產品線
搜索
取消
案例類型
發布者
是否解決
是否官方
時間
搜索引擎
匹配模式
高級搜索

如何設置l2tp lns側的源IP?

2025-12-04提問
  • 0關注
  • 0收藏,451瀏覽
粉絲:0人 關注:0人

問題描述:

 

 

 

如何設置l2tp lns側的源IP? 找了個官方配置文檔,並沒有介紹,但是在網絡上確有人說時可以在l2tp-group下配置tunnel source,但是我沒找到這個命令,還有介紹全局配置l2tp source 的,我也沒找到!因為與遠端的LAC是多條路徑,通過三層路由互通,就想象成互聯網吧,我的目的是想在LNS用loopback地址與LAC進行建立連接,看下麵的搜索

[H3C]  l2tp ?

  enable            Enable L2TP

  icrq-limit        Limit the ICRQ packets

  tsa-id            Specify an ID for the Tunnel Switching Aggregator

  user-ip-conflict  IP address conflict

  virtual-template  Specify a VT interface

 

[H3C]l2tp-gr

[H3C]l2tp-group 1

[H3C-l2tp1]?

L2tpv2-group view commands:

  allow               Accept the tunneling requestings from an LAC

  cfd                 Connectivity Fault Detection (CFD) module

  diagnostic-logfile  Diagnostic log file configuration

  dialer              Specify Dial-on-Demand Routing(DDR) configuration 

                      information

  display             Display current system information

  end                 Alias for 'return'

  exit                Alias for 'quit'

  ip                  Configure IP parameters for tunnel packets

  lig                 LISP Internet Groper operation

  loadbalance         Load Balancing module

  lock                Lock the current line

  logfile             Log file configuration

  loopback-test       Configure loopback test settings

  mandatory-chap      Force the LNS to perform a CHAP authentication of the L2TP

                      client 

  mandatory-lcp       Force the LNS to perform LCP negotiation with an L2TP 

                      client 

  monitor             System monitor

  no                  Alias for 'undo'

  oam                 Configure OAM parameters

  ping                Ping function

  quit                Exit from current command view

  repeat              Repeat executing history commands

  reset               Reset current configuration

  return              Exit to User View

  save                Save current configuration

  security-logfile    Security log file configuration

  show                Alias for 'display'

  smartmc             SmartMC module

  trace-logfile       Trace log file configuration

  tracert             Tracert function

  tunnel              Configure L2TP tunnel parameters

  undo                Cancel current setting

  vpn-instance        Specify the VPN instance that the L2TP tunnel belongs to

  wlan                WLAN configuration

  write               Alias for 'save'

 

[H3C-l2tp1] 

[H3C-l2tp1]tunnel  ?

  authentication  Enable authentication for the L2TP tunnels

  avp-hidden      Transfer attribute value pair (AVP) data in hidden mode

  flow-control    Enable flow control for the L2TP tunnels

  name            Configure the local name for the L2TP tunnels

  password        Specify a password for the L2TP tunnels

  retransmit      Specify L2TP control packet retransmission times

  timeout         Specify the timeout period L2TP control packet retransmission

  timer           Set a timer

  window          Set window

 

 

組網及組網描述:

 

 

 

[H3C]disp version

H3C Comware Software, Version 7.1.064, Release 6749P33

Copyright (c) 2004-2024 New H3C Technologies Co., Ltd. All rights reserved.

H3C MSR2600 uptime is 0 weeks, 0 days, 19 hours, 45 minutes

Last reboot reason : Power on

Boot image: flash:/msr26x1a-cmw710-boot-r6749p33.bin

Boot image version: 7.1.064P80, Release 6749P33

  Compiled Dec 13 2024 15:00:00

System image: flash:/msr26x1a-cmw710-system-r6749p33.bin

System image version: 7.1.064, Release 6749P33

  Compiled Dec 13 2024 15:00:00

Feature image(s) list:

  flash:/msr26x1a-cmw710-security-r6749p33.bin, version: 7.1.064

    Compiled Dec 13 2024 15:00:00

  flash:/msr26x1a-cmw710-voice-r6749p33.bin, version: 7.1.064

    Compiled Dec 13 2024 15:00:00

  flash:/msr26x1a-cmw710-data-r6749p33.bin, version: 7.1.064

    Compiled Dec 13 2024 15:00:00

 

 

 

 

1 個回答
已采納
Xcheng 九段
粉絲:136人 關注:3人

缺省情況下,LNS任意ip都能被接入

OK!

憤怒的小春子 發表時間:2025-12-04 更多>>

OK!

憤怒的小春子 發表時間:2025-12-04

編輯答案

你正在編輯答案

如果你要對問題或其他回答進行點評或詢問,請使用評論功能。

分享擴散:

提出建議

    +

親~登錄後才可以操作哦!

確定

親~檢測到您登陸的賬號未在http://hclhub.h3c.com進行注冊

注冊後可訪問此模塊

跳轉hclhub

你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作

舉報

×

侵犯我的權益 >
對根叔社區有害的內容 >
辱罵、歧視、挑釁等(不友善)

侵犯我的權益

×

泄露了我的隱私 >
侵犯了我企業的權益 >
抄襲了我的內容 >
誹謗我 >
辱罵、歧視、挑釁等(不友善)
騷擾我

泄露了我的隱私

×

您好,當您發現根叔知了上有泄漏您隱私的內容時,您可以向根叔知了進行舉報。 請您把以下內容通過郵件發送到pub.zhiliao@h3c.com 郵箱,我們會盡快處理。
  • 1. 您認為哪些內容泄露了您的隱私?(請在郵件中列出您舉報的內容、鏈接地址,並給出簡短的說明)
  • 2. 您是誰?(身份證明材料,可以是身份證或護照等證件)

侵犯了我企業的權益

×

您好,當您發現根叔知了上有關於您企業的造謠與誹謗、商業侵權等內容時,您可以向根叔知了進行舉報。 請您把以下內容通過郵件發送到 pub.zhiliao@h3c.com 郵箱,我們會在審核後盡快給您答複。
  • 1. 您舉報的內容是什麼?(請在郵件中列出您舉報的內容和鏈接地址)
  • 2. 您是誰?(身份證明材料,可以是身份證或護照等證件)
  • 3. 是哪家企業?(營業執照,單位登記證明等證件)
  • 4. 您與該企業的關係是?(您是企業法人或被授權人,需提供企業委托授權書)
我們認為知名企業應該坦然接受公眾討論,對於答案中不準確的部分,我們歡迎您以正式或非正式身份在根叔知了上進行澄清。

抄襲了我的內容

×

原文鏈接或出處

誹謗我

×

您好,當您發現根叔知了上有誹謗您的內容時,您可以向根叔知了進行舉報。 請您把以下內容通過郵件發送到pub.zhiliao@h3c.com 郵箱,我們會盡快處理。
  • 1. 您舉報的內容以及侵犯了您什麼權益?(請在郵件中列出您舉報的內容、鏈接地址,並給出簡短的說明)
  • 2. 您是誰?(身份證明材料,可以是身份證或護照等證件)
我們認為知名企業應該坦然接受公眾討論,對於答案中不準確的部分,我們歡迎您以正式或非正式身份在根叔知了上進行澄清。

對根叔社區有害的內容

×

垃圾廣告信息
色情、暴力、血腥等違反法律法規的內容
政治敏感
不規範轉載 >
辱罵、歧視、挑釁等(不友善)
騷擾我
誘導投票

不規範轉載

×

舉報說明