2013-09-03 18:08:28 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2013-09-06 16:50:43 +00:00
|
|
|
page_title: "Networking"
|
2013-09-03 18:08:28 +00:00
|
|
|
sidebar_current: "networking"
|
2016-01-19 18:08:53 +00:00
|
|
|
description: |-
|
2016-01-19 19:54:13 +00:00
|
|
|
In order to access the Vagrant environment created, Vagrant exposes
|
|
|
|
some high-level networking options for things such as forwarded ports,
|
|
|
|
connecting to a public network, or creating a private network.
|
2013-09-03 18:08:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Networking
|
|
|
|
|
|
|
|
In order to access the Vagrant environment created, Vagrant exposes
|
|
|
|
some high-level networking options for things such as forwarded ports,
|
|
|
|
connecting to a public network, or creating a private network.
|
|
|
|
|
|
|
|
The high-level networking options are meant to define an abstraction that
|
2016-01-19 18:08:53 +00:00
|
|
|
works across multiple [providers](/docs/providers/). This means that
|
2013-09-03 18:08:28 +00:00
|
|
|
you can take your Vagrantfile you used to spin up a VirtualBox machine and
|
|
|
|
you can reasonably expect that Vagrantfile to behave the same with something
|
|
|
|
like VMware.
|
|
|
|
|
2016-01-19 18:08:53 +00:00
|
|
|
You should first read the [basic usage](/docs/networking/basic_usage.html) page
|
2013-09-03 18:08:28 +00:00
|
|
|
and then continue by reading the documentation for a specific networking
|
|
|
|
primitive by following the navigation to the left.
|
|
|
|
|
|
|
|
## Advanced Configuration
|
|
|
|
|
|
|
|
In some cases,
|
|
|
|
these options are _too_ high-level, and you may want to more finely tune
|
|
|
|
and configure the network interfaces of the underlying machine. Most
|
2016-01-19 18:08:53 +00:00
|
|
|
providers expose [provider-specific configuration](/docs/providers/configuration.html)
|
2013-09-03 18:08:28 +00:00
|
|
|
to do this, so please read the documentation for your specific provider
|
|
|
|
to see what options are available.
|
|
|
|
|
|
|
|
<div class="alert alert-info">
|
2016-01-19 19:54:13 +00:00
|
|
|
<strong>For beginners:</strong> It is strongly recommended you use
|
|
|
|
only the high-level networking options until you are comfortable
|
|
|
|
with the Vagrant workflow and have things working at a basic level.
|
|
|
|
Provider-specific network configuration can very quickly lock you out
|
|
|
|
of your guest machine if improperly done.
|
2013-09-03 18:08:28 +00:00
|
|
|
</div>
|