We have several Universal Forwarders installed on different Linux machines. Due to the virtualization technology, each of the Linux servers has several ip addresses. By default the Universal Forwarder uses the first one (eth0 on this example). I assume this happens because the UF just asks the OS for opening the connection without specifying the interface to be used.
Linux ifconfig:
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX
inet addr:XX:XX:XX:XX Bcast:XX:XX:XX:XX Mask:255.255.254.0
inet6 addr: XX:XX:XX:XX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10680683134 errors:0 dropped:11120 overruns:0 frame:0
TX packets:8692419851 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3381271414547 (3224631.7 Mb) TX bytes:3873093410263 (3693669.7 Mb)
eth0:0 Link encap:Ethernet HWaddr XX:XX:XX:XX
inet addr:YY:YY:YY:YY Bcast:XX:XX:XX:XX Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Due to firewall restrictions we need to use a (secondary/virtual) different ip address for the outgoing connections (eth0:0 YY.YY.YY.YY on the example). We didnt find any clue on the documentation about how to achieve this behavior. Any idea?
Many thanks in advance!
Regards,
↧