Le 21 janv. 2025 à 17:23, Christof Ressi <info@christofressi.com> a écrit :

[netreceive] has an optional hostname argument that allows to bind to a specific network interface, but there is no equivalent for [netsend].

Generally, manually specifying the network interface for outgoing traffic is not straight forward. See for example https://stackoverflow.com/questions/16970361/binding-to-networking-interfaces-in-ruby/17115602.




thanks for the link

Why would you need that in the first place?


we have two subnets, and we don't want them to be merged topologicaly. We use one interface to receive messages, and we want the patch processing to send the output packet on the other interface only.

best regards

pc