Thanks for your reply. Nothing automated in the bash profile/rc for sure.
And I know I can manually force the box to get a new IP address. I thought
all this will be managed by vagrant. That's what I want to use it for
anyways. I haven't checked the host file yet. That could be a probable
reason.

I'll post again if I have any findings to share. Thanks once again! :)

Vaidik Kapoor
vaidikkapoor.info

On 6 October 2014 21:21, Peter Counts <[email protected]> wrote:

> I used Vagrant for a few months and IP address were a hassle.
>
> 1. You have a DHCP server running on the network.
>
> 2. Do you have a static IP address assigned in your etc/hosts file?
>
> 3.  do you perhaps have something automated in your bash profile?
>
> 4. You can force a Linux or centos box to release and request a new one:
>
> Sudo dhclient -r eth1 (for the default 1st port or use your version of
> eth1)
> Sudo dhclient eth1
>
>
>
>
> Now you may run into another problem I had were you need to know the
> assigned DHCP address so you can SSH into the machine (in my case I needed
> to send the IP address to the user that requested the virtual machine.  At
> the time;  Vagrant could not  pass data back to the host machine so I had
> to do it in a few steps.
>
>
> I found this that should help you get the IP
>
> http://www.virtuatopia.com/index.php/How_to_Copy_Files_To_and_From_a_VMware_Server_Virtual_Machine_Guest
> .
>
> Pete
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to