1

On Linux, I can run ip route add local i order to add a large amout (e.g. a complete /64 subet) to an interface (sf#209203), and using IP_BINDANY I can listen to any IP address on FreeBSD (#207610).

But how can I combine these two? I want to bind to arbitrary addresses within a /64 subnet on FreeBSD.

  • This is a follow on from unix.stackexchange.com/questions/344599 . – JdeBP Feb 17 '17 at 18:02
  • They are very closely related, but actually different questions. 344599 is about functionality offered by Kernel >= 4.3 where any socket (without options) can bind to any address. This is to set up routing so that such sockets can actually be used. – jornane Feb 17 '17 at 20:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.