I can ping between VSRX 1 and 2 on the virtualbox__intnet: "twenty" network so I don't believe there are any configuration issues with the VSRX's. The problem is pinging on the "ten" and "thirty" networks between VSRX and Precise. I noticed when I look at the devices in virtualbox the VSRX's retain their intnet names in their adapter settings but the precise boxes are using host only vboxnet(number) adapters. Am I missing something on the config that is separating these networks and making the devices unreachable? Vagrantfile is below.
Vagrant.configure(2) do |config|
#config.vm.box = "juniper/ffp-12.1X47-D15.4-packetmode"
config.vm.provider "virtualbox" do |vb|
vb.memory = 1024
vb.cpus = 2
vb.gui = false
end
config.vm.define "vsrx1" do |vsrx1|
vsrx1.vm.host_name = "vsrx1"
vsrx1.vm.network "private_network",
ip: "10.213.10.2",
netmask: "255.255.255.128",
virtualbox__intnet: "ten"
vsrx1.vm.network "private_network",
ip: "10.213.20.3",
netmask: "255.255.255.128",
virtualbox__intnet: "twenty"
vsrx1.vm.box = "juniper/ffp-12.1X47-D15.4-packetmode"
end
config.vm.define "vsrx2" do |vsrx2|
vsrx2.vm.host_name = "vsrx2"
vsrx2.vm.network "private_network",
ip: "10.213.20.2",
netmask: "255.255.255.128",
virtualbox__intnet: "twenty"
vsrx2.vm.network "private_network",
ip: "10.213.30.3",
netmask: "255.255.255.128",
virtualbox__intnet: "thirty"
vsrx2.vm.box = "juniper/ffp-12.1X47-D15.4-packetmode"
end
config.vm.define "s1" do |s1|
config.vm.box = "precise32"
s1.vm.hostname = "s1"
s1.vm.network "private_network",
ip: "10.213.30.2",
netmask: "255.255.255.128",
virtualbox__inet: "thirty"
s1.vm.box = "hashicorp/precise32"
end
config.vm.define "m1" do |m1|
config.vm.box = "precise32"
m1.vm.hostname = "m1"
m1.vm.network :"private_network",
ip: "10.213.10.3",
netmask: "255.255.255.128",
virtualbox__inet: "ten"
m1.vm.box = "hashicorp/precise32"
end
end