hylobates@jlai.lu to linuxmemes@lemmy.worldEnglish · 22 days agoIPv4 is hardjlai.luimagemessage-square167linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageIPv4 is hardjlai.luhylobates@jlai.lu to linuxmemes@lemmy.worldEnglish · 22 days agomessage-square167linkfedilink
minus-squarezurohki@aussie.zonelinkfedilinkEnglisharrow-up0·22 days agoIf 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.
minus-squarepurplemonkeymad@programming.devlinkfedilinkarrow-up0·22 days agoMakes 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.
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.
That works so long as the gateway is running dual stack.
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.
Thanks I hate it.