On 6/25/14, 11:54 AM, Hamza Sheikh wrote:
> I was wondering if it's really a bug or we're doing something wrong.

I dug some more into this. It appears the same issue was raised in 
2008[1] as well. I have a similar setup with multiple network interfaces 
and multiple IPs on each interface.

I have updated the bug[2] with a workaround I used for my purposes, 
which uses iptables SNAT to re-write the source address. I'll provide it 
here as well in case others find it useful. You may need to modify it 
according to your requirements.

iptables -t nat -A POSTROUTING -o eth0 -p tcp ! --sport 5060 -d 
192.168.1.21 --dport 5060 -j SNAT --to-source 192.168.1.15

You can delete this rule when not needed.

iptables -t nat -D POSTROUTING -o eth0 -p tcp ! --sport 5060 -d 
192.168.1.21 --dport 5060 -j SNAT --to-source 192.168.1.15

Thanks,
Hamza "aikchar" Sheikh

[1] http://sourceforge.net/p/sipp/mailman/message/21105681/
[2] http://sourceforge.net/p/sipp/bugs/147/

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to