V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
sniperking1234
V2EX  ›  程序员

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

  •  
  •   sniperking1234 · Jul 31, 2020 · 2373 views
    This topic created in 2105 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   ·   2774 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 15:42 · PVG 23:42 · LAX 08:42 · JFK 11:42
    ♥ Do have faith in what you're doing.