Hi all!
I'm having trouble wrapping my head around what to do to make this happen, so I'm hoping that any of you with more experience might have an idea.
Backstory: I'm working on a simulation related to some undergraduate research work. For this simulation I've got three VMs inside of VirtualBox; all three of these are connected to the same virtual network switch, which we'll call "BLUE_SWITCH".
I have the three VMs on completely different subnets:
172.16.1.1/24 (VM_1)
192.168.1.1/24 (VM_2)
10.10.1.1/24 (VM_3)
In my perfect world, I would like to create a FreeBSD install (VM_BSD) as the default gateway for all three of those subnets. Then, if VM_1 wanted to contact VM_2, the VM_BSD would forward those packets appropriately.
A) Can it be done at all? I'm assuming yes, but it's probably wizardry.
B) If it can be done, can someone provide a bit of config or an example?
The preceding are the parameters which I'm able to work with; while it would be much easier to just throw them on the same subnet and call it a day, this simulation simply can't operate like that (this small issue is part of a much larger project).
Any help would be very appreciated! I'm more of a software guy, so I'm admittedly out of my league here and anything is appreciated
I'm having trouble wrapping my head around what to do to make this happen, so I'm hoping that any of you with more experience might have an idea.
Backstory: I'm working on a simulation related to some undergraduate research work. For this simulation I've got three VMs inside of VirtualBox; all three of these are connected to the same virtual network switch, which we'll call "BLUE_SWITCH".
I have the three VMs on completely different subnets:
172.16.1.1/24 (VM_1)
192.168.1.1/24 (VM_2)
10.10.1.1/24 (VM_3)
In my perfect world, I would like to create a FreeBSD install (VM_BSD) as the default gateway for all three of those subnets. Then, if VM_1 wanted to contact VM_2, the VM_BSD would forward those packets appropriately.
A) Can it be done at all? I'm assuming yes, but it's probably wizardry.
B) If it can be done, can someone provide a bit of config or an example?
The preceding are the parameters which I'm able to work with; while it would be much easier to just throw them on the same subnet and call it a day, this simulation simply can't operate like that (this small issue is part of a much larger project).
Any help would be very appreciated! I'm more of a software guy, so I'm admittedly out of my league here and anything is appreciated
