Cannot ping between Precise(Ubuntu) and VSRX(Juniper) VM's

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

Cannot ping between Precise(Ubuntu) and VSRX(Juniper) VM's

Barry Keegan
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


--
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/dff53afd-e4d5-4697-b1d5-1fe54b957bf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Cannot ping between Precise(Ubuntu) and VSRX(Juniper) VM's

Alvaro Miranda Aguilera
you need to check if there is a gw set between the networks.

Alvaro.

On Thu, Nov 2, 2017 at 4:57 PM, Barry Keegan <[hidden email]> wrote:
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


--
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/dff53afd-e4d5-4697-b1d5-1fe54b957bf3%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/CAHqq0exPeGsRz9WGkv_-fi9fArmvvNQzRoHQfDq2eT3Egv2bGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.