title: Docker: Connectivity between Physical Machine - VM -Docker container
body: <p>I have just started to have some experimentation with docker. 
  On my Windows host I have a virtual machine which holds a docker container. I want to have a communication between host and container or may be other VMs and this container.</p>
  
  <ul>
  <li>Host ip is 192.168.2.10 with subnet mask 255.255.255.0</li>
  <li>VM ip is 192.168.254.130 with subnet mask 255.255.255.0</li>
  <li>Container gets an ip 172.17.0.13</li>
  </ul>
  
  <p>I have seen few blogs talking about bridging but I am still not sure about it and how to do that. I am not very much into networking stuff.</p>
  
  <p>A little guidance will help.</p>
  
  <p>Thanks</p>
  
  <p><strong>EDIT:</strong>
  I followed this <a href="https://docs.docker.com/articles/networking/#bridge-building" rel="nofollow">bridge-building</a> but could not understand what ip range to give to bridge, so, I gave 192.168.254.1/24. The command <code>ip addr show bridge0</code> shows <code>state UNKNOWN</code>.</p>