Answer the question
In order to leave comments, you need to log in
Is it possible to make a switch and a router in a virtualization environment?
Hello, I would like to ask if it is possible to make a virtual switch and router to build a network using virtualbox, vmware or qemu?
There is a certain scheme in the cisco packet tracer (I did not configure it, because I just need to show the essence) and it would be necessary to implement it in a virtual environment, but I don’t really understand how to implement a switch and a router for this. Here is the diagram:
The switches work to separate the vlan, and the router to communicate with the server.
I would be grateful if you leave literature, articles and videos. Thank you.
Answer the question
In order to leave comments, you need to log in
run linux in a separate virtual machine and configure it to work as a switch or router.
or whatever.
Hypervisors have their own "switches" and the ability to create private networks.
The gateway can be done softovy most already. (multiple interfaces)
Vbox network setup
Original Network Vbox documentation (may not be available in your region)
vmware - Mware-Workstation-Player if it's a player.
Most "adult" network emulators, such as ensp, gns3 and the like, work on top of virtualization systems. PacketTracer runs on its own emulation, so it's a bit poor.
If in a bare plan, then in most virtualization systems there are virtual switches to which adapters of virtual and host machines can be connected, some of them are able to assign VLAN trunks.
There are distributions of virtual routers for x64-x86 platforms, the same Mikrotik. Fortigate and others.
Virtual L2, ala 2960, can be made from a virtual router by simply sketching the required number of ports
Can. In one form or another, there is a virtual router there (I will not say only for qemu), because. virtual machines need to emulate the network. Naturally, this is not an analogue of some cisco, just settings for subnets, VLANs, something else. See native product documentation.
Yes. there is a switch by default
You can raise the router on a separate virtual machine and throw all virtual machines into a common network, after creating an "internal network" and adding virtual machines there
there are virtual switches in any virtual environment - create as many as you need and combine
Router - full of virtual machines (mikrotik CHR, OpenWRT) - add several network cards, run and set up
And even better - GNS3 - also allows you to visualize the network
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question