+iotivity-dev

Hi Chen,

The first thing I recommend is to see if the two VMs can ping each other and 
connect using non-IoTivity TCP/IP apps (for example, if you install sshd can 
you ssh from one machine to the other).  If TCP/IP is not working IoTivity will 
not work.

The VM managers I have used in the past allow you to configure the virtual 
network so that the VMs appear behind NAT, appear as separate virtual NICs on 
the same network as the host, or appear to be on an isolated virtual network 
(possibly bridged or routed through the host depending on how fancy you get 
with the config).
I recommend not using NAT.  The VMs will not be able to connect with the NAT 
configuration unless you configure the NAT for port forwarding.  Which of the 
other configurations you use depends on what you are trying to do and how much 
effort you want to put into the configuration (sharing with the host is 
generally quick and easy to set up).

Most of what I do is with CCF product.  My role on IoTivity has been primarily 
to help manage infrastructure.  I have built the code in a Linux VM, but not 
tried the scenario you describe.

I have CC'ed the iotivity-dev mailing list in case someone else knows a better 
answer.   The mailing list is probably the best place for questions like this.  
I know TE has been experimenting with VMs for testing, but do not know if they 
have tried what you describe.  If so, they may know the answer.  If not they 
will probably want to hear what anyone posts to the list.

Thanks,
Bill.

From: Zarfati, Chen
Sent: Wednesday, January 07, 2015 3:33 AM
To: Dieter, William R
Subject: IoTivity Sample Project

Hi Bill,

I hope all is well with you and your family and had happy holidays.

I would appreciate your help in executing a very simple client-server project 
between two linux vm's within the same subnet, using the IoTivity platform.
While trying to do so we applied our platform configuration settings on the 
simpleclient/server examples. From our findings, we could only  discover 
resources when both sample projects were ran on the same machine (for example 
on one VM). In addition, using wireshark we didn't find any connection between 
the projects (in different VM's).

It would be great if you can try helping us with the above, or share your 
experience in running those sample projects.

Thank you very much.

Best Regards,
Chen Zarfati.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150107/e575b2b7/attachment.html>

Reply via email to