[vbox-dev] Source code for bridging interfaces

Alexey Eromenko al4321 at gmail.com
Fri Jul 29 14:16:07 GMT 2011


On Fri, Jul 29, 2011 at 4:53 PM, Tom Tasche <tomtasche at gmail.com> wrote:
> Hello,
>
> Some colleagues and I are working on a networking related software
>  for our diploma thesis.
> Basically we want to connect Cisco's PacketTracer to a real network
>  (that's actually not our diploma thesis, but it's one part of it)
>  and therefore need to bridge a physical interface
>  for receiving and sending ethernet packets with different mac addresses.

Cisco's packet tracer is both proprietary and not capable of
connecting to real networks.
I have co-developed a much better project, that is Open-Source.

The GNS3 Network Simulator:
http://www.gns3.net/phpBB/post9945.html

...this one *can* connect to real networks, and it is *fully*
integrated with VirtualBox top-to-bottom.

> We have tried to use the socket library on linux,
>  but it doesn't work on every NIC to fake the MAC address.
> Now we want to extract that code out of VirtualBox.
> However, we couldn't find that pieces of code
>  in VirtualBox's 270MB of awesome source sauce.
> Would you guys be so kind and help us?

What are you trying to find ?
(internal, host-only and bridged code is in kernel modules; NAT, VDE
and UDP Tunnel are user-space).
MAC addresses can be faked from guest OSes (both Windows and Linux
OSes support this at the driver level).
VBox can fake MAC addresses at a virtual hardware level.

> Oh, and sorry if this isn't the right place for this kind of question.
> The forum looked like it's for users only...

Yes, forum is mostly for users.

-- 
-Alexey Eromenko "Technologov"




More information about the vbox-dev mailing list