# boot2docker config confusion

**URL:** <https://forums.docker.com/t/boot2docker-config-confusion/1939>\
**Category:** Boot2Docker\
**Created:** [June 19, 2015, 7:20pm UTC](https://forums.docker.com/t/boot2docker-config-confusion/1939 "2015-06-19T19:20:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrochon](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mrochon](https://forums.docker.com/u/mrochon)\
**Post date:** [June 19, 2015, 7:20pm UTC](https://forums.docker.com/t/boot2docker-config-confusion/1939/1 "2015-06-19T19:20:59Z")

</div>

I am trying to configure some IP settings for my docker vm. The readme file for boot2docker suggests that I can make changes to my profile config.

I suspect that I am completely misunderstanding the intent of the config file because nothing I change seems to make any difference.

Here is my current config file:

# boot2docker profile filename: C:\Users\Matt.boot2docker\profile

Init = false  
Verbose = false  
Driver = "virtualbox"  
Clobber = false  
ForceUpgradeDownload = false  
SSH = "ssh"  
SSHGen = "ssh-keygen"  
SSHKey = "C:\Users\Matt\.ssh\id\_boot2docker"  
VM = "boot2docker-vm"  
Dir = "C:\Users\Matt\.boot2docker"  
ISOURL = "[https://api.github.com/repos/boot2docker/boot2docker/releases](https://api.github.com/repos/boot2docker/boot2docker/releases)"  
ISO = "C:\Users\Matt\.boot2docker\boot2docker.iso"  
DiskSize = 20000  
Memory = 2048  
CPUs = 8  
SSHPort = 2022  
DockerPort = 0  
HostIP = "192.168.59.50"  
DHCPIP = "192.168.59.99"  
NetMask = [255, 255, 255, 0]  
LowerIP = "192.168.59.103"  
UpperIP = "192.168.59.103"  
DHCPEnabled = true  
Serial = false  
SerialFile = "\\.\pipe\boot2docker-vm"  
Waittime = 300  
Retries = 75

I changed the upper and lower bounds for the dhcp range to the same ip, with the hope that it would always select the same ip address when running on local workstations.

When I start boot2docker it seems to always still select a random IP usually 192.168.59.103 or 192.168.59.100) and will stick with whatever IP it selected for an extended period of time.

Again, I’m sure I am just not using it properly, but does someone have any insight into what the config options are doing?

Thanks!

Matt

---

<div class="post-metadata">

**Author:** ![mrochon](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mrochon](https://forums.docker.com/u/mrochon)\
**Post date:** [June 19, 2015, 7:59pm UTC](https://forums.docker.com/t/boot2docker-config-confusion/1939/2 "2015-06-19T19:59:23Z")

</div>

Hmm it seems to work if i delete the vm and re-initialize it. sorry for the noise!
