• rtxn@lemmy.worldM
    link
    fedilink
    arrow-up
    3
    ·
    20 days ago

    The highest address of a subnet is the broadcast address. You can’t assign it to a host.

      • Onomatopoeia@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        3
        ·
        20 days ago

        I had students like you when teaching Cisco classes…

        Their peers heads would always explode, lol.

        • zurohki@aussie.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          20 days ago

          If you use a /23 you can use the middle .0 too.

          My favourite dumb networking trick though is that Linux lets you use an IPv6 address as an IPv4 gateway.

          ip -4 route add default via inet6 fe80::1 dev eth0
          

          That works so long as the gateway is running dual stack.