V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
sniperking1234
V2EX  ›  问与答

Linux tunnel 中多了个 tunl0,这是干什么用的

  •  
  •   sniperking1234 · 2020-04-27 15:29:43 +08:00 · 1973 次点击
    这是一个创建于 1458 天前的主题,其中的信息可能已经有所发展或是发生改变。

    image.png

    建立 ip/ip 隧道的时候自动出现的,请问这个有什么作用吗。remote any local any 这些地址是有什么作用。

    4 条回复    2020-04-28 09:09:12 +08:00
    redsonic
        1
    redsonic  
       2020-04-27 21:18:35 +08:00
    ip 层外面再套一层 ip 。两个地址就是一个对端一个本地。
    linchanx
        2
    linchanx  
       2020-04-27 22:55:46 +08:00 via Android
    隧道接口,用公网地址封装传递私有地址数据。
    sniperking1234
        3
    sniperking1234  
    OP
       2020-04-28 09:06:51 +08:00
    @redsonic
    @linchanx
    是这样的,我创建了一个 ip 隧道名字叫 ethn,然后 tunl0 应该是自动创建出来的,不太清楚这个隧道的作用是什么,后面貌似也没有用到

    [url=https://sm.ms/image/W3kaGSxuH6bimet][img]https://i.loli.net/2020/04/28/W3kaGSxuH6bimet.png[/img][/url]
    sniperking1234
        4
    sniperking1234  
    OP
       2020-04-28 09:09:12 +08:00
    回复应该怎么发图呢,一直不会发
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1071 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 22:17 · PVG 06:17 · LAX 15:17 · JFK 18:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.