GNS3 / vpcs

Simple Virtual PC Simulator
BSD 2-Clause "Simplified" License
101 stars 39 forks source link

VDE support #5

Closed brianvanderburg2 closed 5 years ago

brianvanderburg2 commented 9 years ago

I've been playing around with vpcs with GNS3, but also with real router hardware. One scenario I would like to be able to use vpcs to simulate multiple computers to the real hardware. The way I do this is with a "breakout" switch and VLAN. Each VLAN on the host system maps to one port on the switch.

I think this could be done with vpcs tap support as follows:

Now, in theory, any traffic sent to/from vpcs would leave the real interface tagged into either VLAN 10, 11, or 12. The associated breakout switch ports can then be connected to the rest of the lab, simulating three different PC connections.

However, that is a lot of work, and a lot of sudo. Currently my typical setup is, for every NIC device I have a matching bridge device and a matching VDE switch. I then place the NIC and the VDE tap interface into the bridge. This is a dumb bridge and just passes the frames directly without any VLAN filtering. VDE supports loading a configuration file and assigning VLANs to specific "ports" that a VDE client connects to. It would be nice if VPCS would also have a VDE mode, which would accept a control file for VDE, and a port number or more. In addition, the port number should be able to be changed from the CLI of VPCS:

Several advantages of this over the bridge, at least in my opinion:

grossmj commented 5 years ago

Sorry, we won't add any new feature in VPCS.