# Connecting physical robot to VM

**URL:** <https://forum.universal-robots.com/t/connecting-physical-robot-to-vm/14249>\
**Category:** Robot Communication\
**Created:** [May 11, 2021, 1:07am UTC](https://forum.universal-robots.com/t/connecting-physical-robot-to-vm/14249 "2021-05-11T01:07:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon48554506](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@anon48554506](https://forum.universal-robots.com/u/anon48554506)\
**Post date:** [May 11, 2021, 1:07am UTC](https://forum.universal-robots.com/t/connecting-physical-robot-to-vm/14249/1 "2021-05-11T01:07:29Z")

</div>

I’m trying to connect a UR5e directly to my PC (no other network connection, wifi, router etc) and talk to it from a VM.  
The host machine is running Windows 10, the VM is set up with a bridged adapter and I can ping host to vm and vice versa.  
When I go to check/set the IP address on the robot it says “Not connected to network!”. And the IP address field, Subnet mask and Default Gateway all change to 0.0.0.0.

I assume that this has something to do with Windows network configuration. Has anyone experienced this issue before and/or can help?

Cheers

---

<div class="post-metadata">

**Author:** ![anon42266160](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anon42266160](https://forum.universal-robots.com/u/anon42266160)\
**Post date:** [May 11, 2021, 8:32am UTC](https://forum.universal-robots.com/t/connecting-physical-robot-to-vm/14249/2 "2021-05-11T08:32:20Z")

</div>

Hello,  
i am not sure, but i can try to help you, because i had same problem.

I am also running VM on Windows 10 and try using ROS in VM as “talker”.

in short. i connect my ur5 with Ethernet to my PC.  
Then check IP-Adress from the robot.  
VM Network setting have to be set to Bridged networking and choose your Ethernet port in Name.  
Then in VM setting make ipv4 change Ip-adress to Manual and type Robot-Ip, but change the last numbers.  
then turn on/off your network in VM, to be sure, that changes are accepted.  
then try to ping.

See this video, that can also help [Configuring UR5 with ROS - YouTube](https://www.youtube.com/watch?v=BS6pFmr7_lA)

If i understood your problem false, just delete my comment =)

---

<div class="post-metadata">

**Author:** ![sya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sya/32/216_2.png) [@sya](https://forum.universal-robots.com/u/sya)\
**Post date:** [May 11, 2021, 8:46am UTC](https://forum.universal-robots.com/t/connecting-physical-robot-to-vm/14249/3 "2021-05-11T08:46:40Z")

</div>

Hi Dennis,

You just set your VM to “host only” and then you can get an IP directly with DHP setting.

Follow this manual in P17. here:

> **[ursim\_vmoracle\_installation\_guidev03\_en.pdf](https://academy.universal-robots.com/media/jiehhszc/ursim_vmoracle_installation_guidev03_en.pdf)**
>
> 2.54 MB
