cudadog / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

VLAN support within CORE nodes #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add support for configuring VLAN ports of switches in CORE.

Original issue reported on code.google.com by ahrenh...@gmail.com on 25 Jul 2012 at 4:07

GoogleCodeExporter commented 9 years ago
Worked example of how to do VLANs in attached script core-with-vlans.sh

Original comment by ahrenh...@gmail.com on 25 Jul 2012 at 4:49

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I understand this is an old issue, but I was wondering if there was any chance 
of VLAN-capable switch being integrated in CORE? Are there any other examples 
of this feature? E.g. how to add a VLAN-capable switch manually to an existing 
CORE project or especially convert an existing ethernet switch in a CORE 
project to a VLAN-capable one?

Thanks!

Original comment by nin...@gmail.com on 18 Aug 2014 at 8:14

GoogleCodeExporter commented 9 years ago
CORE uses veth pairs on bridges for normal wired nodes. It looks like the veth 
device does not allow created a vlan slave device:

  $ sudo ip link add name test0 type veth peer name test0.1
  $ sudo ip link add test0 name test0.100 type vlan id 100
  RTNETLINK answers: Invalid argument

So something else would need to be done for a VLAN-capable switch. Using Open 
vSwitch would likely provide a solution, as it includes VLAN support.

Original comment by ahrenh...@gmail.com on 21 Aug 2014 at 3:24