Oh good to know. I'm using Wireshark on Windows. I don't even have the option 
to select the loopback interface. I thought that it would be the same on Linux.

De : wondra [mailto:won...@volny.cz]
Envoyé : 27 avril 2011 10:41
À : sipp-users@lists.sourceforge.net
Objet : Re: [Sipp-users] Client and Server using the same IP Address

I do not agree. Wireshark works well with the 'lo' interface, as does tcpdump. 
(Tested right now on Debian 6.)

-----Original Message-----
From: Alexandre Cote [mailto:ac...@media5corp.com]
Sent: Wednesday, April 27, 2011 2:57 PM
To: rakeen siena; sipp-users@lists.sourceforge.net
Subject: Re: [Sipp-users] Client and Server using the same IP Address

It is normal in your case to not see anything using Wireshark because it's on 
the same PC and the packets will not get out of the physical interface. You 
can't see loopback packets when using Wireshark.

Did you set different UDP port? I'm using a SIPP client and server on the same 
machine and I have no problem.


De : rakeen siena [mailto:rakeen.si...@googlemail.com]
Envoyé : 27 avril 2011 05:21
À : sipp-users@lists.sourceforge.net
Objet : [Sipp-users] Client and Server using the same IP Address

Hi,
initially I started to set up a Client and then a Server, tested them. Both 
were working fine when they were running on different machines, but now I 
thought of combining them in the same source code and run them on the same 
machine. The result is that I can see no connection between the Client and the 
Server. Since I am trying to run it on the same machine in both cases the IP 
Address is the same, I have initialized both of them with the same IP 
Address.But still I could not establish a connection. I am using UDP for 
sending and receiving the data between the Client and the Server. Any mistake I 
am making in this case or any important thing I have forgot to initialize.

For example on Server side:
ServAddr.sin_addr.s_addr = inet_addr("1.2.3.4");

On Client side:
ClientAddr.sin_addr.s_addr = inet_addr("1.2.3.4");

I cant even sniff any data transfer using wireshark.

Regards
Rakeen
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to