TUD-OS / NRE

NOVA runtime environment (official branch)
GNU General Public License v2.0
33 stars 12 forks source link

Network service driver support #41

Open parthy opened 11 years ago

parthy commented 11 years ago

Would it be a lot of effort to port the NUL Intel NIC driver to NRE? And/or to implement a bridging functionality between VMs when no physical card is present?

Nils-TUD commented 11 years ago

It shouldn't be that hard. You just have to implement the NICDriver interface and use NetworkService::broadcast for received packets. I haven't done that yet because I don't have one of the supported Intel NICs. So, if you do, feel free to port it and create a pull-request :)

I think, implementing a simple bridge would be easy as well. That is, a bridge where all outgoing packets are simply broadcasted as incoming packets to all other network sessions. But of course this is quite limited and for a real implementation the question would be how one can configure that, i.e. for example VM1 talks to VM2, but VM3 talks to the outside world.

parthy commented 11 years ago

As always, I would love to do that, but unfortunately I can't because of legal reasons. But as a first quick fix I might be able to use a bridge like the one you explained.