• 请不要在回答技术问题时复制粘贴 AI 生成的内容
sniperking1234
V2EX  ›  程序员

Linux ip route 添加路由表的时候, table 编号上限是多少?

  •  
  •   sniperking1234 · Jul 31, 2020 · 2398 views
    This topic created in 2115 days ago, the information mentioned may be changed or developed.

    我查的都是可以使用 1 - 252 编号的路由表,但是我试了下 1001 也是可以的,这是为什么呢 image.png

    1 replies    2020-07-31 21:30:39 +08:00
    lcdtyph
        1
    lcdtyph  
       Jul 31, 2020
    就是 32 位无符号整数的取值范围,其中 0, 253-255 是保留的,其它的都可以用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2805 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:34 · PVG 23:34 · LAX 08:34 · JFK 11:34
    ♥ Do have faith in what you're doing.