[Serusers] Multiple IP Addresses

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Wed Mar 3 12:29:56 CET 2004


On Mar 02, 2004 at 15:35, Alan Litster <alitster at telcoelectronics.co.uk> wrote:
> Hi List,
> 
> Is there a way to force SER to send requests from a user defined IP address
> when used on a multihomed system?

No. If mhomed is off (default), ser will send a message on the same
socket it received it (so if you receive the message on .81, it will get
sent on .81 too).

If mhomed is on ser will try to guess the outgoing interface and it will
use it to send the message: if the outgoing interface for the message
would be .81, then ser will send on .81, if it would be .82 => the
message will be sent on .82. Notice that turning mhomed will introduce a
performance penalty.

> 
> We have a box with two consecutive addresses
> 	81.x.x.81
> 	81.x.x.82
> the primary address is .82 but it always uses .81, doesn't matter which way
> around the listen statements are.

The order of the listen statement is important for forwarding from tcp
to udp, ipv6 to ipv4, locally generated requests (e.g. as a result of a
fifo command). In all this cases the first non-loopback interface will
be used.

Andrei




More information about the sr-users mailing list