Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2024 06:59:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276092] "route add 10/8 ip" adds 0.0.0.0/8, not 10.0.0.0/8
Message-ID:  <bug-276092-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276092

            Bug ID: 276092
           Summary: "route add 10/8 ip" adds 0.0.0.0/8, not 10.0.0.0/8
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: grey.leo@gmail.com

Hi!

It seems
route add D/N ip
does not work anymore (after upgrade from 12.4 to 13.2).
If D is only octet (without dots) and N is any (32,...,8,7...)
then route adds net 0.0.0.0/N

Example: route add 10/8 192.168.0.1

netstat -anr
Destination        Gateway            Flags     Netif Expire
0.0.0.0/8          192.168.0.1        UGS       re0

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276092-227>