4

I'm following a tutorial to set up vagrant (a tool to build and configure portable virtual machine images), and it seems that vagrant documentation suggests using IPv4 address 33.33.33.10 to configure a new box.

That is a publicly routed IP adress, so I'm a bit confused why using this address is suggested. Since I don't own this network, I should not use an address from the 33.33.33.10/8 range. Am I correct in thinking that I should only use either a public address from a network I own, or an address from one of the private ranges as defined in RFC 1918? If so, why does Vagrant documentation suggest otherwise?

Gert
  • 143
  • 5

2 Answers2

4

As to why they've suggested you do it I'm going to go with "they're idiots". But really that's something we can't answer here. Why do people say or do anything? You'd need to ask the person who wrote that documentation.

As to what you should do, you're absolutely right: You shouldn't be using public IP addresses you don't own.

Rob Moir
  • 31,664
  • 6
  • 58
  • 86
4

The vagrant documentation does not appear to suggest to use 33.33.33.10.

Digging deeper into the official documentation, I was only able to find RFC 1918 addresses in use.

Given the apparent close association between Vagrant and this incorrectly-used address, I can only surmise that the docs did refer to it in the past, and were later corrected.

Oh, and you definitely should not use someone else's public IP address, even on your own private network. Very Bad Things can (and probably will) happen.

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940