Running Linux Router as Guest in VBox/VMWare
First of all, this is a bit of an ambitious project of mine and I'm still soliciting ideas on how to implement it. I'm not even sure if it would actually work.
Basically, what I would like to do is run a Linux host (Ubuntu Server or whatever suits for this purpose)and run two guests OSes using VBox or VMWare. I have previously played with VBox before but no clue yet about VMWare. The first guest OS would be one of those LInux/BSD router OSes and the other guest would be XP/Win98. I still haven't decided yet which one to use as the router OS. I'm thinking of going with pfsense, clarkconnet or vyatta. I'm also planning on having multiple internet connections fed into that router OS. Initially, let's just say I want to connect my two would-be-ISPs to this router OS.
Here's what I can picture in my head right now:
How many interfaces do I need for this btw?
eth0 > connected to switch for LAN, assigned to host
eth1 > connected to ISP1, assigned to guest router OS
eth2 > connected to ISP2, assigned to guest router OS
eth3 > connected to switch for LAN, assigned to router OS guest
eth4 > connected to switch for LAN, assigned to Windows guest
I wanted it in a way that the host and the windows guest will use eth3 as their gateway for internet.
I'm more troubled regarding setting up the interfaces for the guests OSes as I haven't done "bridging" and stuffs before. I've used NAT with my VBox setup before.
I was hoping maybe somebody have done it before and he can advice me regarding this - the hardware requirements and especially with setting up the interfaces. TIA
p.s. Sorry if this thread should belong to different forum category it's hard to classify what I want to achieve really.