< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] How to know local IP Address?


Hi,
 
following scenario:
 
A computer running resiprocate is multihomed which means that is has IP addresses which belong to different subnets, e.g. 192.168.1.1 and 192.168.2.1.
 
Resiprocate is set to bind to all IP addresses.
 
When I send some IP traffic through resiprocate, e.g. to subnet 10.1.1.0, how can I know which local IP address was used as the sender address when sending the IP packet?
 
Obviously this information is needed to find out on which IP address the RTP ports should be opened and advertised in the SDP because other IP addresses might be unreachable from the other party's side..

Thanks for any hint,

Matthias Moetje

TERASENS GmbH
Augustenstraße 24
80333 Munich
GERMANY
 
Phone:
Fax:
e-mail:
Web:
+49.89.143370-0
+49.89.143370-22
info@xxxxxxxxxxxx
www.terasens.com