Hi,

I am new to this group. And have joined with a hope to resolve the issue 
that I am facing for last two days. 

Can you please help me to setup private network configuration in my vagrant 
box. I have windows 10 pro laptop with strong hardware configuration. I am 
connected to wifi. I am able to create base vagrant box with windows 2012 
without any problem. When I run vagrant up. That also goes smooth. But when 
I run vagrant rdp to login into it, it throws following error message:
*C:\V_images\VagrantBoxes\JiraServer>vagrant rdp ==> default: Detecting RDP 
info... RDP connection information for this machine could not be detected. 
This is typically caused when we can't find the IP or port to connect to 
for RDP. Please verify you're forwarding an RDP port and that your machine 
is accessible.*

I have attached my vagrant file, the output from vagrant up command, json 
file that I used to create the base box with packer, vagrant template 
referred in json file and output of ipconfig /all command from my laptop 
(host machine). can you please help to find my mistake? please let me know 
if you need more information.. Please note that if I replace the 
private_network setting with port forwarding setting or keep both, then rdp 
is successfull. Infact after logon I am even able to see the assigned ip 
address in guest machine, though it can not be pinged to, from the host 
machine. But private_network paramenter alone does not work. thanks
sanan

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/558286a8-a061-4182-aa60-96f1dfff1cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Vagrant.configure(2) do |config|

    config.vm.box = "xxxx.box"

        config.vm.communicator = "winrm"
        config.vm.hostname = "xxxxserver"       
  
    # Admin user name and password
    config.winrm.username = "vagrant"
    config.winrm.password = "vagrant"
        
        config.vm.guest = :windows
    config.windows.halt_timeout = 600

        
        config.vm.network "private_network", ip: "172.28.128.5"
        
end

Attachment: vagrantup.output
Description: Binary data

Attachment: windows_2012_r2_headlesstrue_noupdate_nocompact.json
Description: application/json

Attachment: vagrantfile-windows_2012_r2.template
Description: Binary data

Attachment: ipconfigall.output
Description: Binary data

Reply via email to