title: Vagrant communication between guest machines
body: <p>I have multiple Vagrant machines like so:</p>
  
  <pre><code>config.vm.define 'vagrant1' do |vagrant1|
      config.vm.provider :virtualbox do |vb|
          vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
      end
      vagrant1.vm.box = 'ubuntu/trusty64'
      vagrant1.vm.network 'forwarded_port', guest: 80, host: 8080 
      vagrant1.vm.network 'forwarded_port', guest: 443, host: 8443
      vagrant1.vm.network 'forwarded_port', guest: 27017, host: 27017
      # Create a private network, which allows host-only access to the machine
      # using a specific IP.
      config.vm.network 'private_network', ip: '192.168.56.11'
  
      ENV['LC_ALL']='en_US.UTF-8'
  
  end
  
  config.vm.define 'vagrant2' do |vagrant2|
      config.vm.provider :virtualbox do |vb|
          vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
      end
      vagrant2.vm.box = 'ubuntu/trusty64'
      vagrant2.vm.network 'forwarded_port', guest: 80, host: 8081
      vagrant2.vm.network 'forwarded_port', guest: 443, host: 8444
      vagrant2.vm.network 'forwarded_port', guest: 27017, host: 27018
      # Create a private network, which allows host-only access to the machine
      # using a specific IP.
      config.vm.network 'private_network', ip: '192.168.56.12'
  
      ENV['LC_ALL']='en_US.UTF-8'
  end 
  </code></pre>
  
  <p>What I would like is for <code>vagrant1</code> machine to be able to communicate with <code>vagrant2</code> machine. So far, I can connect from my host machines but the guest machines are unreachable to each other.   </p>
  
  <p>How do I enable communication between guest machines?</p>