0
Answered

Confused about the communication between two computers both running openice

zhangtan 10 years ago in OpenICE updated by Phai Reddy 9 years ago 7
hi,
I am new to this community.I was doing some experiment in openice.Recently i found an interesting problem.When i ran the newest version openice on two computers in the same network,especially,i ran "ICE_Supervisor" on computer A,and ran a simulated device through "ICE_Device_Interface" on computer B.What i found is that the simulated device did not show in the supervisor in computer A .But i remember it's not the case like this in the older version openice.Does not a supervisor can recognize a device in the same network not only in the local computer? So i got confused and need help. Thank you very much.
zhangtan
ICE OpenICE
Under review
Hi Zhangtan,

Unfortunately I cannot reproduce the bug you are describing. OpenICE Supervisors will subscribe to all Device-Interfaces publishing on the same network, granted the following conditions are met:
1. Ensure the OpenICE Supervisor and Devices are in the same DOMAIN https://www.openice.info/docs/1_overview.html#run
2. Ensure the OpenICE Supervisor GUI is set to view the correct Patient Partition as the Device (if enabled). By default all devices and supervisors will be in the "Anybody" partition. https://www.openice.info/docs/2_supervisor.html
3. The network is properly configured. This includes enabling DHCP or proper static IP addresses, enabling NTP for time synchronization, ensuring multicast traffic is not disabled to allow the RTPS protocol to function.

Thanks and let me know how else I can help,
Jeff
Dear Jeff,
Thank you for your attention.I will check it as you suggested.Thank you so much.
Zhang tan
Dear Jeff,
I just solved this problem.because the two pcs are not in the same subnet.So there is no bug just because of my mistake.
Thank you!
Zhangtan
Another thing to check: that both pcs are on the same IP subnet. For example, IP addresses 74.125.28.51 and 74.125.28.125 are on the same subnet (the first 3 numbers match); 74.125.28.51 and 74.125.33.7 are on different subnets (because the first 3 numbers differ). You can find your pc's IP address in Windows by opening a command prompty and typing ipconfig. Under Linux, you can usually find it by typing ifconfig.
Hi Bradford:
Yes,you are right.I just check the both pcs' ip and find they are on different subnets(because the first 3 numbers differ).Then i make both pcs in the same subnets and the supervisor can find the device run on the other pc.Thank you!
Zhangtan.

Hi I also have a similar kind of problem, I have installed latest openice software and running on two windows laptops. When try network simulation from one laptop using device adapter on the other laptop supervisor we can see the simulated devices (Both the laptops are connected to Wi-Fi network).

But when i use one laptop connected to wi-fi and other laptop connected through Ethernet ( Virtual Machine) the device simulation is not happening.


Can any one please suggest me what steps i have to take to make it working.

Thanks,

Phaninder