How setting two or more "ip" for one interface (Vagrant)?

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/329911ac-e75f-44ea-ad40-072d0cf0a9a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

Alvaro Miranda Aguilera
hello

in the documentation, check for networking.


have a look at private and public networks,

Alvaro

On Mon, Oct 30, 2017 at 5:40 PM, <[hidden email]> wrote:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/329911ac-e75f-44ea-ad40-072d0cf0a9a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ews_CRoO%3Dve0eNMiePVkt6iqrP7m-1uhyQK-tXE0H9FCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
it is not work:
joomla.vm.network :private_network, ip: "192.168.4.2"
joomla.vm.network :private_network, ip: "192.168.5.2"

понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/53a60778-06ea-416d-9169-b37a46fb6adb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
it is not work:
joomla.vm.network :private_network, ip: "192.168.5.2"
joomla.vm.network :private_network, ip: "192.168.5.3"

понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8dac48c1-7d53-45b0-87b0-6dd62a988aa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

Alvaro Miranda Aguilera
In reply to this post by jaguardemos01
can you share your full Vagrantfile for review?

On Tue, Oct 31, 2017 at 8:06 AM, <[hidden email]> wrote:
it is not work:
joomla.vm.network :private_network, ip: "192.168.4.2"
joomla.vm.network :private_network, ip: "192.168.5.2"

понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/53a60778-06ea-416d-9169-b37a46fb6adb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewLpptV_V2mQPkKrmq0xySssU0bnCb0Mu145GY%2BkJhLiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
https://github.com/Robocop01/vagrant_joomla.git

вторник, 31 октября 2017 г., 12:50:26 UTC+3 пользователь Alvaro Miranda Aguilera написал:
can you share your full Vagrantfile for review?

On Tue, Oct 31, 2017 at 8:06 AM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="fZ6Gd5eSCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jaguar...@...> wrote:
it is not work:
joomla.vm.network :private_network, ip: "192.168.4.2"
joomla.vm.network :private_network, ip: "192.168.5.2"

понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="fZ6Gd5eSCQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/53a60778-06ea-416d-9169-b37a46fb6adb%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/53a60778-06ea-416d-9169-b37a46fb6adb%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/53a60778-06ea-416d-9169-b37a46fb6adb%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/53a60778-06ea-416d-9169-b37a46fb6adb%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/72906105-be74-4c70-83b2-bb2b190cb417%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
ВведитVagrant.configure(2) do |config|

    config
.vm.define "joomla" do |joomla|
         
# Base temmplate for virtualbox, we use debian 8.9.0 here
         
#joomla.vm.box = "debian/jessie64"
         joomla
.vm.box = "ubuntu/trusty64"
         
# Domain on which our application will respond later on
         joomla
.vm.hostname = "joomla.dev"
         
# IP address will be used by the VM
         joomla
.vm.network :private_network, ip: "192.168.13.2"
         
#joomla.vm.network :private_network, ip: "192.168.13.3"

         
# Tell vagrant to run ansible as a provisioner
         joomla
.vm.provision :ansible do |ansible|
             
# where the playbook is located
             ansible
.playbook = "provisioning/playbook.yml"
             
# show the ansible-playbook command used by vagrant
             ansible
.verbose = true
         
end
     
end

     
# Access the shared vagrant directory via NFS, otherwise slow on mac and windows
     config
.vm.synced_folder ".", "/vagrant", type: "nfs"

     config
.vm.provider "virtualbox" do |v|
         
# tell virtualbox to give our machine 1Gb RAM and 1 Cores
         v
.memory = 1024
         v
.cpus =1
     
end
endе код...



понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/86d7be42-1abf-4a7e-ba13-6a9fcbcbde42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
Vagrant.configure(2) do |config|

    config
.vm.define "joomla" do |joomla|
         
# Base temmplate for virtualbox, we use debian 8.9.0 here
         
#joomla.vm.box = "debian/jessie64"
         joomla
.vm.box = "ubuntu/trusty64"
         
# Domain on which our application will respond later on
         joomla
.vm.hostname = "joomla.dev"
         
# IP address will be used by the VM
         joomla
.vm.network :private_network, ip: "192.168.5.2"
         
#joomla.vm.network :private_network, ip: "192.168.5.3"

         
# Tell vagrant to run ansible as a provisioner
         joomla
.vm.provision :ansible do |ansible|
             
# where the playbook is located
             ansible
.playbook = "provisioning/playbook.yml"
             
# show the ansible-playbook command used by vagrant
             ansible
.verbose = true
         
end
     
end

     
# Access the shared vagrant directory via NFS, otherwise slow on mac and windows
     config
.vm.synced_folder ".", "/vagrant", type: "nfs"

     config
.vm.provider "virtualbox" do |v|
         
# tell virtualbox to give our machine 1Gb RAM and 1 Cores
         v
.memory = 1024
         v
.cpus =1
     
end
end



понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/eaf19ee1-3ca4-47a4-81aa-569e0fb5e3fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

Alvaro Miranda Aguilera
the file looks good

after the VM is up, can you ping the ip?

i expect to be up and running.

From there you need to configure the application to use that ip, either hardcoding the ip/virtualhost, or use something like tell the web server to listen for any ip ( 0.0.0.0 )

Alvaro

On Tue, Oct 31, 2017 at 11:44 AM, <[hidden email]> wrote:
Vagrant.configure(2) do |config|

    config
.vm.define "joomla" do |joomla|
         
# Base temmplate for virtualbox, we use debian 8.9.0 here
         
#joomla.vm.box = "debian/jessie64"
         joomla
.vm.box = "ubuntu/trusty64"
         
# Domain on which our application will respond later on
         joomla
.vm.hostname = "joomla.dev"
         
# IP address will be used by the VM

         joomla
.vm.network :private_network, ip: "192.168.5.2"
         
#joomla.vm.network :private_network, ip: "192.168.5.3"

         
# Tell vagrant to run ansible as a provisioner
         joomla
.vm.provision :ansible do |ansible|
             
# where the playbook is located
             ansible
.playbook = "provisioning/playbook.yml"
             
# show the ansible-playbook command used by vagrant
             ansible
.verbose = true
         
end
     
end

     
# Access the shared vagrant directory via NFS, otherwise slow on mac and windows
     config
.vm.synced_folder ".", "/vagrant", type: "nfs"

     config
.vm.provider "virtualbox" do |v|
         
# tell virtualbox to give our machine 1Gb RAM and 1 Cores
         v
.memory = 1024
         v
.cpus =1
     
end
end



понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/eaf19ee1-3ca4-47a4-81aa-569e0fb5e3fa%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exv5iBPf1eGA9T%3DxryZ-JBew9S3C4T6vUdAC3g3ydmgZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
Vagrant up - OK
ping - OK

How add 192.168.5.3?

Vagrant.configure(2) do |config|

    config
.vm.define "joomla" do |joomla|
         
# Base temmplate for virtualbox, we use debian 8.9.0 here
         
#joomla.vm.box = "debian/jessie64"
         joomla
.vm.box = "ubuntu/trusty64"
         
# Domain on which our application will respond later on
         joomla
.vm.hostname = "joomla.dev"
         
# IP address will be used by the VM
         joomla
.vm.network :private_network, ip: "192.168.5.2"
         
#joomla.vm.network :private_network, ip: "192.168.5.3"

         
# Tell vagrant to run ansible as a provisioner
         joomla
.vm.provision :ansible do |ansible|
             
# where the playbook is located
             ansible
.playbook = "provisioning/playbook.yml"
             
# show the ansible-playbook command used by vagrant
             ansible
.verbose = true
         
end
     
end

     
# Access the shared vagrant directory via NFS, otherwise slow on mac and windows
     config
.vm.synced_folder ".", "/vagrant", type: "nfs"

     config
.vm.provider "virtualbox" do |v|
         
# tell virtualbox to give our machine 1Gb RAM and 1 Cores
         v
.memory = 1024
         v
.cpus =1
     
end
end




понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c1b97402-3c28-4889-8c3a-89e488beb13b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

Alvaro Miranda Aguilera
In networking, you should't have more than one network card for a network.

Locally it may work.

so this should work:


         joomla.vm.network :private_network, ip: "192.168.5.2"
         joomla.vm.network :private_network, ip: "192.168.5.3"

but its better have separate networks

so this is better:

         joomla.vm.network :private_network, ip: "192.168.15.2"
         joomla.vm.network :private_network, ip: "192.168.25.3"





On Tue, Oct 31, 2017 at 12:01 PM, <[hidden email]> wrote:
Vagrant up - OK
ping - OK

How add 192.168.5.3?

Vagrant.configure(2) do |config|

    config
.vm.define "joomla" do |joomla|
         
# Base temmplate for virtualbox, we use debian 8.9.0 here
         
#joomla.vm.box = "debian/jessie64"
         joomla
.vm.box = "ubuntu/trusty64"
         
# Domain on which our application will respond later on
         joomla
.vm.hostname = "joomla.dev"
         
# IP address will be used by the VM
         joomla
.vm.network :private_network, ip: "192.168.5.2"
         
#joomla.vm.network :private_network, ip: "192.168.5.3"

         
# Tell vagrant to run ansible as a provisioner
         joomla
.vm.provision :ansible do |ansible|
             
# where the playbook is located
             ansible
.playbook = "provisioning/playbook.yml"
             
# show the ansible-playbook command used by vagrant
             ansible
.verbose = true
         
end
     
end

     
# Access the shared vagrant directory via NFS, otherwise slow on mac and windows
     config
.vm.synced_folder ".", "/vagrant", type: "nfs"

     config
.vm.provider "virtualbox" do |v|
         
# tell virtualbox to give our machine 1Gb RAM and 1 Cores
         v
.memory = 1024
         v
.cpus =1
     
end
end




понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c1b97402-3c28-4889-8c3a-89e488beb13b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exHjgO4GePNZqcEh6MyB80BdBqagcdifckK%3DFZZ6HxaBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
This does not work.
I will have the last ip ... ((


понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7313fe06-0c9b-4502-9fca-900567398d07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

Alvaro Miranda Aguilera
share updated vagrantfile and output of:

vagrant ssh -c '/sbin/ifconfig -a'

Alvaro.

On Tue, Oct 31, 2017 at 12:11 PM, <[hidden email]> wrote:
This does not work.
I will have the last ip ... ((


понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7313fe06-0c9b-4502-9fca-900567398d07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez8zJp1%3D90rQw9UBXr81mJq%3DbjwiM%2Bw7aAoe%3DGsKNf3Gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
You are right. It's working.
It's strange that it did not work before.

Введите код.eth0      Link encap:Ethernet  HWaddr 08:00:27:f1:ca:b0  
          inet addr
:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr
: fe80::a00:27ff:fef1:cab0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:21705 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:10868 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:24539680 (24.5 MB)  TX bytes:1020121 (1.0 MB)

eth1      
Link encap:Ethernet  HWaddr 08:00:27:04:e4:ef  
          inet addr
:192.168.5.2  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr
: fe80::a00:27ff:fe04:e4ef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:4856 (4.8 KB)  TX bytes:2966 (2.9 KB)

eth2      
Link encap:Ethernet  HWaddr 08:00:27:64:7a:ba  
          inet addr
:192.168.5.3  Bcast:192.168.5.255  Mask:255.255.255.0
          inet6 addr
: fe80::a00:27ff:fe64:7aba/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU
:1500  Metric:1
          RX packets
:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:1000
          RX bytes
:329 (329.0 B)  TX bytes:648 (648.0 B)

lo        
Link encap:Local Loopback  
          inet addr
:127.0.0.1  Mask:255.0.0.0
          inet6 addr
: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU
:65536  Metric:1
          RX packets
:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets
:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions
:0 txqueuelen:0
          RX bytes
:260 (260.0 B)  TX bytes:260 (260.0 B)
..



понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/9d352a60-32ef-4e4f-9f2a-43af3c2f893b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How setting two or more "ip" for one interface (Vagrant)?

jaguardemos01
In reply to this post by jaguardemos01
Thank very mach!

понедельник, 30 октября 2017 г., 19:40:55 UTC+3 пользователь [hidden email] написал:
How setting two or more "ip" for one interface in Vagrantfile?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5d7cc658-5780-48d6-a39a-0ac5ce4f0e2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.