Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-15-2013, 01:14 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Virtual networks, bridges, and routing, oh my.

I'm having a little trouble visualizing all of the steps that I need to take to get the desired network topology. Any help would be appreciated.

My desired topology is as follows:
    wlan0                           |
LAN---|            vm-mon           |
      |           ________          |
     eth0        veth0  veth1  vms  |
      |           |_______|         |
so we have a physical machine, vm-host, with two physical interfaces, wlan0 and eth0. wlan0 supplies a connection directly to vm-host, whereas eth0 is forwarded directly through br0 to vm-mon a virtual machine that monitors traffic as it proceeds to the virtual lan of virtual machines.

So the main points of discussion (assuming I am approaching it properly) are:
  1. configure br0 to forward all traffic between eth0 and veth0
  2. configure vm-mon to pass traffic between veth0 and veth1, after analyzing/filtering it (IDPS style)
  3. configuring a virtual lan for additional virtual machines. preferably on the same subnet as the physical lan

Thanks in advance for any and all comments.

Last edited by vminthesky; 01-19-2013 at 10:40 PM. Reason: clarification of vm-mon, EDIT2: solved
Old 01-19-2013, 10:39 PM   #2
LQ Newbie
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Dig enough, and you will get your answers, posting a response with the results, since no one posted a response to me.

Used a bridge on the host with a tap device to connect to the ethernet of vm-mon

vm-mon has a bridge between its ethernet and a tap. It has a vde_switch attached to that tap.

Host has a vde_switch connected to each qemu vm using -net vde

The two vde_switches are remotely connected to one another using dpipe, giving the setup described in the first post.

There might be a more elegant solution, but that's what I came up with.

Last edited by vminthesky; 01-19-2013 at 10:43 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KVM virtual networks not routing properly theillien Linux - Networking 5 10-21-2017 07:37 PM
LXer: Deja Vu: IBM Pushes Virtual Linux Desktops With Virtual Bridges (Again) LXer Syndicated Linux News 0 01-25-2011 12:40 PM
Routing on 2 bonds/xen bridges over two different networks redrum123 Linux - Software 1 02-09-2010 06:57 AM
LXer: IBM, Virtual Bridges and Canonical Offer Ubuntu-based Virtual Desktop LXer Syndicated Linux News 0 12-05-2008 06:10 AM
LXer: Virtual Bridges announces major update of Virtual Desktop Server (VDS) product LXer Syndicated Linux News 0 10-25-2007 04:40 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration