Discussion:
[vagrant-up] Vagrant issue - able to communicate between private networks
Cristian
2018-11-12 10:49:10 UTC
Permalink
Hi,


I've run into an issue while using Vagrant.


I have to boxes and I've configured them to be part of different virtualbox
internal networks (relevant config below):


#Dataplane port

vsrx1.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: **"seg1"**
end


#Dataplane port

vsrx3.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: **"seg2"**
end


However, the hosts are able to communicate with one another (they have IPs
from the same subnet), although they belong to different private networks.

Does anyone know why?


Thanks, Cristian
--
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/a08f4e4d-5f4c-4e9d-997e-759f879bb47c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-11-12 20:46:57 UTC
Permalink
Hello

Can you share a working Vagrantfile to reproduce this?

Ideally with IPs and all you are doing.

Alvaro
Post by Cristian
Hi,
I've run into an issue while using Vagrant.
I have to boxes and I've configured them to be part of different
#Dataplane port
vsrx1.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: **"seg1"**
end
#Dataplane port
vsrx3.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: **"seg2"**
end
However, the hosts are able to communicate with one another (they have IPs
from the same subnet), although they belong to different private networks.
Does anyone know why?
Thanks, Cristian
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/a08f4e4d-5f4c-4e9d-997e-759f879bb47c%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/a08f4e4d-5f4c-4e9d-997e-759f879bb47c%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0exxy2PXASDUDxQwRoJ3iF-LqP7TOi%2B%3D%2BaeHnD%3DVOFn1WQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Cristian
2018-11-13 09:47:21 UTC
Permalink
Hi Alvaro,

Please find attached the Vagrant file.

If I configure 192.168.41.1/24 on vsrx1's dataplane port and 192.168.41.3
on vsrx3's dataplane port, I can ping between them (even though they are on
different private internal networks).

If I traceroute from one of the IPs above to another, I don't get any hops
in between.

Thank you!



On Monday, November 12, 2018 at 8:47:14 PM UTC, Alvaro Miranda Aguilera
Post by Alvaro Miranda Aguilera
Hello
Can you share a working Vagrantfile to reproduce this?
Ideally with IPs and all you are doing.
Alvaro
Post by Cristian
Hi,
I've run into an issue while using Vagrant.
I have to boxes and I've configured them to be part of different
#Dataplane port
vsrx1.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: **"seg1"**
end
#Dataplane port
vsrx3.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: **"seg2"**
end
However, the hosts are able to communicate with one another (they have
IPs from the same subnet), although they belong to different private
networks.
Does anyone know why?
Thanks, Cristian
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/a08f4e4d-5f4c-4e9d-997e-759f879bb47c%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/a08f4e4d-5f4c-4e9d-997e-759f879bb47c%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/cd6714d3-6c35-4cb6-9c3a-0ba176898675%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...