I have built a Eve-NG Bare metal box. It has 5 physical interfaces (eth0... eth4). I currently have eth0 connected to my home lan and it has acquired a DHCP address off of my OpenWRT router.
It has a physical connection from eth1 to a trunked port on OpenWRT that has untagged/native vlan id :1 and Tagged Vlan id: 100. OpenWRT also has an interface on Vlan 100 and is running an instance of quagga with ospf.
I want to be able to build lab's that can connect to my home network and vice versa. So that I could ssh directly to my labs through my home LAN, test etc....
As my needs for my home lab continue to evolve; I feel there may be a benefit to be able to connect the Eve-NG host to physical switches (ie maybe Cisco 3560's or Juniper EX's) in future. Is there a way to expose the raw trunk port of a switch to eve-ng and then have my virtual router get bridged to these vlans by configuring an 802.1q trunk interface on the guest VM/router.
So I know I can use brctl or ovs to acomplish some of these goals. I think If I could get ovs working this would be the best solution for the long term. I know I could create different vlan interfaces with brctl and then associate these vlan bridged interfaces (eg eth1.100) to a pnetX interface; Then connect it to the eve-ng labs.
Ok sorry for the long post, I am unsure if I am on the right track...
TL;DR Free Version:
- OVS setup on EVE-NG Bare metal, HOW?
- Can OVS support pass through of raw ethernet frames to guest VM's.
- if latter=true, can guest vm's with configured 802.1q logical interfaces work properly when connected to a pnetX interface mapped to OVS bridge port.
Code: Select all
root@eve-ng1:~# ovs-vsctl add-port ovsbr0 patch_ovsbr0 ovs-vsctl: Error detected while setting up 'patch_ovsbr0'. See ovs-vswitchd log for details. root@eve-ng1:~# tail -f /var/log/openvswitch/ovs-vswitchd.log 2017-05-12T10:25:03.201Z|00023|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log 2017-05-12T16:21:23.161Z|00024|bridge|WARN|could not open network device patch_ovsbr0 (No such device)