Tom chasing Harry and Ron Weasly Meme : Harry : people using the first address of the range as gateway, Ron : people using the last address of the range as gateway, Tom : people using one random address of the range as gateway
you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 day ago (5 children)

I had students like you when teaching Cisco classes...

Their peers heads would always explode, lol.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 1 day ago (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 22 hours ago (1 child)

    Makes sense, the gateway is never a target of the ip packet, so it's really only used to find the MAC address of the gateway.

  • source
  • parent
  • hideshow 1 child comment