I very recently had my first experience using the Linux OS Ubuntu. I have three guests installed on my computer VirtualBox (all Ubuntu) the third of which needs to be configured as a router connecting the first two to each other and controls traffic from them to the host. I have been told Linux routes by default you just need to turn something on however I don't know what to do. All the googling I've done has lead to search results with three physical machines, NIC cards, and an actual router. How would I go about it if they are all virtual machines? Any help would be much appreciated. Thanks!
Danni Raven
configure Linux guest as router
-
danniRaven
- Posts: 1
- Joined: 25. Jun 2009, 05:36
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: configure Linux guest as router
Hi, this is nothing special with Virtualbox guests, assign virtual NICs to the router VM as needed. One would be bridged (or NAT) - the other ones connected to the "internal network" where the other Ubuntus VMs are connected to.
hmm ...the first hit googling ubuntu router setup shows how to set up Ubuntu acting as router https://help.ubuntu.com/community/RouterAll the googling I've done has lead to search results with three physical machines, NIC cards, and an actual router.
Re: configure Linux guest as router
I have the same problem, and I already assign 2 NIC in the router VM, both are host-only.fixedwheel wrote:Hi, this is nothing special with Virtualbox guests, assign virtual NICs to the router VM as needed. One would be bridged (or NAT) - the other ones connected to the "internal network" where the other Ubuntus VMs are connected to.
but still that VM does not work as a router, it can only connects to other VMs, but it can not make the other VMs connected with each other. Any solutions?
Thanks.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: configure Linux guest as router
Cross posting is not allowed, and I already gave you a full answer, both in your topic and in PM.
Locking this topic.
Locking this topic.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!