Hi,
For TCP, you should set a static route to specify to reach the SIP server using 
the 1st network interface,
then starting your 1st SIPp client instance over TCP,
then delete the static route (as the TCP socket is set, no impact of SIPp 
trafic),
then set a new static route to reach the SIP server with the 2nd network 
interface,then starting your 2nd SIPp client instance over TCP,
 
It should work
(it worked for me using Linux Ubuntu)
 
Rgds,Cyrille
 
 



Date: Wed, 22 Oct 2008 18:45:06 +0200From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: [Sipp-users] Sending SIP message via different LAN intrefaces

Hi all,
 
I am playing with sipp now and I have encountered on the following problem. I 
have a PC with 2 LAN cards with different IP addresses. OS is Windows XP SP2. I 
have 1 SIP server which is reachable form both of them. I need two simulate 
following scenario:
 
1) start 2 sipp instances where for each instance is local address set to 
different IP address a remote address is set to IP address of SIP server
2) when using UDP the scenario works fine, 1 registration comes from first LAN 
card, second one comes from  second LAN card. Doesn't matter if I'm using -u1 
or -un parameter.
3) When using TCP both message comes from first LAN card just src port is 
different ? 
 
Could it be problem with sipp, like some setsockopt functions  or is it normal 
TCP stack behavior, at least on Windows.
 
Thanks lot for any hints.
 
 

Mitko MitevIT Services and Enterprise CommunicationsiSEC CZ 34-5 Team Lead 
Bidláky 20, budova Mediahall639 00 Brno Tel.: +420 533 337 251Fax: +420 533 337 
252Mobil: +420 724 754 090mailto: [EMAIL PROTECTED]
 
Společnost: iSEC - IT Services and Enterprise Communications s.r.o.Sídlo: Brno, 
Bidláky 20, 639 00Obchodní firma je zapsána v obchodním rejstříku u Krajského 
soudu v Brně v oddílu C, ve složce 54602. IČ: 27721710
 
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  
Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to