Configure rsyslogd to forwards logs over a certain interface e.g. eth0

Latest response

On my RHEL 6.9 system, there are eth0, eth1, and eth2. When I configure rsyslogd to forward logs to a remote server (tcp, port 601), it is doing so over eth2. Is there a way to configure rsyslogd to forward logs over eth0 instead?

Responses