Bridge network with Virtualbox

howdy guys,
I've been playing with virtualbox a little bit, and found the blog of a guy who is using a virtualbox vm as a webserver.
he lists these steps:
tunctl -t tap0 -u user
;(where user is the user who runs VirtualBox)
chmod 666 /dev/net/tun
;(or add user running VirtualBox to the 'tun' group, on MDV)
brctl addbr br0
ifconfig eth0 0.0.0.0 promisc
;(where eth0 is the interface to be bridged)
brctl addif br0 eth0
dhclient br0
brctl addif br0 tap0
ifconfig tap0 192.168.1.50 up
;(where 192.168.1.50 is an arbitrary unused
;IP in the same subnet as your local network)
echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp
route add -host 192.168.1.5 dev tap0
;(where 192.168.1.5 is the IP address of the host machine)
arp -Ds 192.168.1.5 eth0 pub
;(where 192.168.1.5 is the IP address of the host machine)
(from http://www.happyassassin.net/2007/02/06 … rtualbox/)
I got brctl from the package "bridge-utils,"
and tunctl from "uml_utilities."
these steps almost work, except I can't use dhclient on br0, and on
the host machine eth0 loses its address.
Can someone give me some hints about how do accomplish this in an arch
way, making use of /etc/conf.d/bridges, and rc.conf, or whatever?  thanks.

Hi kant1. First I want to thank you for taking the time to respond and second I apologize for not posting earlier. I have been away from my computer these 2 days.
Now,  to answer your questions:
Have you tried running "top" and then running openoffice/xine?  Maybe they are using some other program that is getting hung up on the network change?
I don't see anything strange.
Also, did you try rebooting after making these changes?
Yes, more than once
Are you using the same address for the bridge as you are for your regular connection?  Or using dhcp for both?  (The link I posted uses dhcp, but you may need to specify the address if that's what you do for your regular connection)
Does "ifconfig" show that eth0 (or whatever your regular ethernet connection is) does not have an ip address, but br0 does?  Does "brctl show" show that br0 has eth0 attached as an interface?
Here is my ifconfig output. I believe this is how it should be
$ ifconfig
br0 Link encap:Ethernet HWaddr 00:17:31:83:C2:30
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1307 errors:0 dropped:0 overruns:0 frame:0
TX packets:1394 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1021200 (997.2 Kb) TX bytes:195531 (190.9 Kb)
eth0 Link encap:Ethernet HWaddr 00:17:31:83:C2:30
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1307 errors:0 dropped:0 overruns:0 frame:0
TX packets:1370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1041405 (1016.9 Kb) TX bytes:206215 (201.3 Kb)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8243 (8.0 Kb) TX bytes:8243 (8.0 Kb)
and this is "brctl show"
$ brctl show
bridge name bridge id STP enabled interfaces
br0 8000.00173183c230 no eth0
and this is my network section in /etc/rc.conf
lo="lo 127.0.0.1"
BRIDGE_INTERFACES=(br0)
bridge_br0=(eth0)
br0="br0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
eth0="eth0 0.0.0.0 promisc"
#eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo br0 eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
I don't know if it has any relevance but I was trying to see what is happening with wireshark. When I try to run soffice I see DNS queries to my ISP about arch.localdomain. These queries have naturally response "not found". arch is my host name.
UPDATE: After posting this i added this line in /etc/hosts.
127.0.0.1 arch.localdomain arch
and now openoffice works again .
But now I have 2 problems less significant
1. Still xine doesn't work. I see a query for eth0.localdomain
2. If I use the "Alt+F2" box in KDE and type i.e. calc it will still query my ISP for calc.localdomain.
Last edited by insane (2007-06-16 14:14:21)

Similar Messages

  • Qemu - Bridged networking with wireless adapter

    How can I use bridged networking with wireless on Qemu virtual machine? With virtualbox it can be easily done. I don't why in Qemu it is so complicated, maybe virtualbox have completely difference mechacnism on this. I've read the wiki, it looks like impossible to use wireless for bridged networking. If it is really impossible, why virtualbox can do it?
    And, in arch wiki's qemu manual, i didn't see how to use NetworkManager there to do bridged networking. Since, I use NetworkManager and disable the others (like netct and dhcpcd), it make it even more complicated. But, maybe it's because me that don't understand. Maybe someone experienced here can give me a way around this?

    bagol wrote:How can I use bridged networking
    It's up to you to set up the bridged network - or use TAP, e.g.:
    ip tuntap add dev <devname> mode tap user <youruser>
    ip lin set <devname> up
    ip route ...
    ... and proxy_arp
    ... and iptables forwarding & masquerade
    It's a good learning experience, to set up the network yourself, rather than have VirtualBox do similar things by *magic*

  • Bridging network with AP Extreme base station and AP Express

    OK, here's the deal. I have an Airport Extreme Base Station on a WPA2 Personal network. Works great except that I want to boost the signal to the rest of the house. So, I bought an Airport Express. Airport Utility picks up both devices; but when I select the new Express to configure it, I get a msg asking to confirm that I want to switch networks. Well, I don't. I want to expand the network I have. Last night I did click "yes" and it was a disaster as I lost the Extreme altogether and the Express couldn't pick up a signal because - obviously - it wasn't connected to the ethernet cable as the base station, and also because (I think) the base station is configured to hide my SSID. I ended up working backwards and got the Extreme back to normal and put the Express back in its box until someone can tell me how to do this. I know Apple says it's easy; but it's a challenge for me. HELP!

    A few things:
    1. Please don't configure your base station to "hide its SSID". Doing this is absolutely useless as a security method. It will on the other hand complicate setup of your network, as well as the diagnosis of problems when they arise.
    2. You must allow the Airport Utility to switch networks during the process. What is happening is that the Airport Utility must temporarily switch your Mac's wireless network connection from your existing base station to the wireless network created by your unconfigured Airport Express in order to communicate with and configure that Airport Express. After the Airport Express configuration is complete - if your Mac doesn't automatically switch your Mac's wireless network connection back again then just do so manually from the MacOS Airport menu.
    3. To get a better understanding of what you are doing, start reading at page 42 of Apple's manual "Designing Airport Networks" found at:
    http://manuals.info.apple.com/en/DesigningAirPort_Networks_Using_AirPortUtility.pdf

  • (SOLVED) Virtualbox bridged network, windows host, arch guest

    I am trying to get my archlinux guest's network working again. It was working before I bridged the connection and changed the adaptor to the bridged one, but I want a bridged connection for certain reasons, so I want it working. This is the result I get when I use sudo dchcpcd eth0:
    dhcpcd: version 5.0.7 starting
    dhcpcd: eth0: rebinding lease of 10.0.2.15
    dhcpcd: eth0: broadcasting for a lease
    dhcpcd: eth0: offered 192.168.0.199 from 192.168.0.1
    dhcpcd: eth0: acknowledged 192.168.0.199 from 192.168.0.1
    dhcpcd: eth0: checking for 192.168.0.199
    dhcpcd: eth0: hardware address 00:le:8c:85:a6:4d claims 192.168.0.199
    dhcpcd: eth0: send_raw_packet: Bad file descriptor
    dhcpcd: eth0: rebinding lease of 10.0.2.15
    dhcocd: timed out
    I have no clue why it's not working, but I am sort of new to linux and virtual machines. Still, can anyone help me get the bridged connection working?
    EDIT: Nevermind, I fixed it.
    Last edited by Shade Vortex (2009-09-08 14:48:50)

    All I did was unbridge my windows network. You only select the bridged network from virtualbox, don't manually bridge your network!
    If you windows network is not bridged with your vm's host only network in the windows networking page, then I dunno what your problem is.

  • Cannot find Airport after attempting to set up Bridged Network

    I had a previous post on creating a bridge network (with two base stations - one plugged into a modem "A" and one plugged into my Mac Pro with an ethernet cable "B". After doing the following, the bridge does not work - and more importantly - I cannot find base station "B" with the airport Utility at all.
    I did the following:
    Set up base station "A" to "Share a Public IP Address"
    Set up base station "A" to "Allow this network to be extended"
    Updated settings on "A" (allowed it to reset)
    Set base station "B" to Bridge Mode
    Set up base station "B" to connect to the wireless network on "A" (with the same password and configuration (WPA2 Personal)
    Configured the TCP/IP on "B" to be the same as on "A"
    Updated settings on "B"
    I did this initially and it did not work - on "B" there was an error concerning "Network Extended" and it said the airport was having problems extending the network (which is in the next room, I don't know how that is possible). Anyway the bigger problem is after updating "B" again, it is not recognized by the airport utility at all - not by my macbook pro (which was seeing it before with the wireless network) or the Mac Pro that is plugged into it with an ethernet cable (I've double checked that it is one of the "out" ports, not the input for the airport). I have also plugged it into my macbook pro with an ethernet cable and get the same problem. It is just delivering a flashing amber light. I have unplugged it and plugged it in again, reset all of my computers, but nothing I do allows me to connect to Airport "B" to use the utility. Any ideas?

    The thing I am not seeing in your posting is that each of these devices has a similar but not identical IP Address.
    Are you using DHCP to assign addresses? Which Router is assigning them, what range are you using? If assigning by hand, are they all similar, but not identical? It may help to list them.

  • Virt-manager (libvirt) set up bridged network

    I have googled and searched and can't find instructions on setting up a bridged network for use with virt-manager.  The instructions at
    https://wiki.archlinux.org/index.php/KV … Networking
    don't really seem to apply to starting vm's with virt-manager.  Does anyone have experience setting up a bridged network with libvirt on arch?

    In case anyone stumbles upon this in the future (as I have done):
    Setting this up with virt-manager is pretty simple.
    First, you need to create a bridge. You can do this manually or use most of the network management tools for this. I used systemd-networkd (just ignore the stuff about the container). You could also use netctl ore others.
    After you created the bridge and added your default network device to it, open the network device of you vm (or create one if there is none) and switch the "Network source" to the bridge you just created. And with that you should be fine.
    PS: I just saw that virt-manager seems to be capable of creating bridges by itself, right-click you hypervisor, go to "Details", "Network Interfaces" and create a new bridge.

  • Bridge network to capture connections from VM with Arch and VirtualBox

    Hello everyone,
    what I am trying to do is capturing the connections from a VM for malware analysis. It turned out to be a little harder then I thought because I'm absolutely new to arch.
    So what I thought of: Just have a normal host adapter and sniff. But it turned out that the VM does not have a dedicated adapter.
    So the obvious next step would be to create one. I did that via the Host-Only-Adapter menu.
    The problem is, that this is not connected to the internet as it is for the guest only. So what I thought to do was bridging it to my wls1-interface wich is connected to a WiFi.
    My normal way would be:
    brctl addbr capture
    brctl show
    brctl addif capture wls1
    brctl addif capture vboxnet0
    But that does not work with wls1 (it is refused to be linked to that bridge though enp0s25 works well).
    The second thing I thought of was using netctl to build a bridge. This is what I put in /etc/netctl/bridge
    Description="vmbridge"
    Interface=br0
    Connection=bridge
    BindsToInterfaces=(wls1 vboxnet0)
    IP=dhcp
    ## Ignore (R)STP and immediately activate the bridge
    #SkipForwardingDelay=yes
    But the command "sudo netctl start bridge" is just crashing my internet connection.
    So how could I do this in the possibly best and most stable way?
    Thanks for your help

    As you have found out, you cannot create a (Ethernet) bridge with a wireless interface. That is not going to work, whether you use brctl directly, or netctl.
    If you would like to setup everything quickly and do not mind capturing everything (including host traffic), then just run dumpcap/tcpdump on the wireless interface.
    If you are not stuck to VBox, try QEMU. Example command:
    qemu-system-x86_64 -enable-kvm -m 2G -hda disk.qcow2 -net dump,file=dump.pcap -net user -net nic,model=e1000
    -enable-kvm: enable KVM virtualization acceleration (requires Intel VT-x or the AMD equivalent). Remove if your machine does not support it.
    -m 2G: assign 2GB RAM
    -hda disk.qcow2: disk image created with qemu-img create -f qcow2 disk.qcow2 16G (16 GB disk image)
    As you need to tap on the network, let QEMU create a hub network with three devices:
    -net dump,file=...: hub network with
    -net user: the host connection (you could also use tap, bridge, etc. if needed)
    -net nic,model=...: the guest network connection
    See the manual page qemu and the wiki for further details.

  • Problems with SRW224G4 switch and Bridged Network Cards

    Hello,
    We have recently installed a SRW224G4 switch and have discovered that when we plug our DELL PowerEdge 2900 server into the switch, the switch loses all network connectivity and all of the LED's on the switch start flashing.
    The server works perfectly well plugged into another switch, but as soon as we introduce the SRW224G4 into the network, either with the server plugged into that switch or any other, the problem re-occurs.
    The only way we found we could eliminate this issue was if we disabled the Bridged Network connection on the two network cards on the server. If we do that, everything is fine, except the network performance of the server has dropped significantly.
    The server is plugged into the 1GB ports on the switch, although we tried it on the 100MB ports and received the same problems. The switch reports that the ports are running at full-duplex.
    Has anyone noticed this behavior before, and more importantly been able to rectify it.
    Thanks in advance for your assistance,
    Paul

    I had this problem as well with any Linksys 2024 or rackmountable switch..  The trick is, you need to use the network cards management software to "team" or bridged the 2 NIC's otherwise the switch detects a loop and the whole thing locks up. So lame...  Windows built in bridge mode stinks dont use it.  When you use the Intel management software or Dell or HP's NIc management software you have the option to actually choose "redundant mode" where you can pick a Nic to be the primary, or you can choose Load Balancing where you can essentially double your throughput by joining the 2 nics.
    In Windows 2008 Server, you actually do this by going to the Properties on the NIC in  Device Manger.  the software controls are now built right into the driver.  pretty neat.  2003 you can check Device Manager the same way but not sure if it's the same as 2008, you might need to run the actual NIC management app.
    Hope this helps
    fdigi 

  • [SOLVED] No luck with VirtualBox network.

    EDIT**********
    I have a working Arch Linux VM made with VirtualBox. The network works out of the box but once you reboot and remove live media and load into Arch Linux I cannot get a ping.
    I have looked through the Arch Linux VirtualBox wiki and I am either confused or feel I have tried what it asked.
    Here is what I did.
    For the purpose of this post, I made a new VM and successfully followed the beginner guide again and installed Arch Linux and it starts up no problem without the live iso.
    first thing I did was
    ping -c 3 www.google.com
    unknown host...
    so i did
    ddhcpcd
    and this resulted...
    dhcpcd[196]: version 6.7.1 starting
    dhcpcd[196]: enp0s3: adding address fe80::ced8:2d68:7409:4427
    dhcpcd[196]: no interfaces have a carrier
    dhcpcd[196]: forked to background, child pid 208
    https://wiki.archlinux.org/index.php/Vi … VirtualBox
    I have no idea where to learn about this in the exhaustive guide that mostly has nothing to do with what I am using VirtualBox for.
    [SOLVED] Josh Braun’s Blog // A Guide to Installing Arch in VirtualBox
    http://wideaperture.net/blog/?p=3851
    Solved using this code. I did not see anything about this in the Wiki.. so check out Josh Brauns Blog.
    # systemctl enable [email protected]
    Old Horrible Question... DO NOT READ
    I can dual boot Arch from my bios and get wifi access easily.
    When I use VirtualBox, it has no problem until I actually log on to Arch Linux without the live iso.
    I have did searches and i am just LOST on the VirtualBox Arch wiki.
    Edit: I have tried dhcpcd and it was not successful. I will post the exact output later.
    I am hoping someone can direct me to get this working.
    I have a windows 7 Dell laptop and VirtualBox loads into Arch Linux without the iso as a drive. Just looking for guidance and search terms. Thank you./
    Last edited by AcousticBruce (2015-03-12 00:20:43)

    That's understandable, I know well myself how intimidating it can be at the very beginning.
    I will explain a bit. Those guides are just asking for trouble for two reasons: (1) they are outdated and Arch moves quick. And (2) it will prevent you from learning how to administer your system. You copied and pasted that command but did you know what you were doing? Probably not. I guarantee you will run into that same problem again if you don't know how systemd and services, etc. work in general. The first link to dhcpcd was the section about running the service. Notice it links to the systemd page that explains in general how to start, stop, enable, and disable services. This is the kind of research you will need to do on your own if you hope to get to the point where you don't have to ask questions about every single step. It's okay to ask questions, but when it comes to something as straightforward as enabling a service, people will usually just point you to the links.
    If you're only a week into Linux in general and you've successfully installed Arch in a VM, then that's a good sign. The lingo will come in time but you definitely need to do a bit of studying. You should read through the wiki in depth. That is, the beginner's guide isn't just for installing Arch for the first time. It includes tons of links to all the moving parts of your system. The general recommendations page is also a must read.
    With effort and patience you'll pick up what you now don't understand at all
    EDIT: note also that the exact step that you found on this other guide is listed in the beginner's guide: https://wiki.archlinux.org/index.php/Be … Dynamic_IP
    I suspect you got drawn into the VirtualBox wiki page without slowly and carefully going through the beginner's guide as well.
    Last edited by nullified (2015-03-12 03:00:59)

  • Guest Networking with Time Capsule - bridge mode?

    Hi, hopefully someone can help.
    I'm trying to set up guest networking with my time capsule but it's currently set up in bridge mode so it wont let me.
    When I try it in public IP address mode it says 'The DHCP range you have entered conflicts with the WAN IP address of your Airport wireless device'
    I'm completely new to networking and have no idea what most of these terms mean, despite googling them all!
    Can anyone advise on what I need to do to get it all set up?
    Thanks in advance, any help much appreciated!!
    Andy

    Is there no way I could switch off part of the router so it just becomes a modem (or are they completely different things)?
    It might be possible to convert the gateway to function as a simple bridge only modem, but that would involve checking with the support folks for the device. I doubt that your service provider will provide any assistance with this, because they will likely claim that this type of configuration is not supported.
    So, look to see who actually manufactured the device and check with their online forum or support site to see if the conversion to a simple bridge only modem is possible.
    You don't indicate whether you have cable of DSL service, and that will of course affect things as well. If you need to go to a simple modem, the best choice is always a device offered by your service provider, so that you will be supported in the event of Internet connection difficulties.
    If you try an off-the-shelf modem and have any problems, your service provider will offer little or no support. Often, you can get a free modem from your provider in return for a commitment of a year's service. Might be worth checking that out.

  • Virtualbox bridged networking problem

    Hi out there.
    I'm trying to set up VirtualBox bridged networking as described in the wiki by "the arch way"
    Here are the relevant details of my config files:
    /etc/conf.d/bridges:
    bridge_br0="eth0"
    BRIDGE_INTERFACES=(br0)
    /etc/vbox/interfaces:
    vbox0 nofoo br0
    (Where nofoo is supposed to be the user running virtualbox)
    And finally...
    /etc/rc.conf:
    MODULES=(e1000e snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore bridge vboxdrv vboxnet)
    lo="lo 127.0.0.1"
    eth0="eth0 up"
    br0="dhcp"
    INTERFACES=(lo eth0 br0)
    So. I added the user to the vboxusers group.
    After a reboot, myifconfig says:
    br0       Link encap:Ethernet  HWaddr 00:21:70:0B:D7:11 
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::221:70ff:fe0b:d711/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2001 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:908314 (887.0 Kb)  TX bytes:290103 (283.3 Kb)
    eth0      Link encap:Ethernet  HWaddr 00:21:70:0B:D7:11 
              inet6 addr: fe80::221:70ff:fe0b:d711/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2039 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:941218 (919.1 Kb)  TX bytes:289875 (283.0 Kb)
              Memory:fdfc0000-fdfe0000
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:4 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:280 (280.0 b)  TX bytes:280 (280.0 b)
    Which should be ok.
    My settings in VirtualBox itself are the following:
    adapted to:host interface
    interface name:vbox0
    The start and stop program parameters are left empty.
    Now, when i try to start my vm, the following error message occurs:
    Failed to initialize Host Interface Networking.
    VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).
    Errorcode:
    NS_ERROR_FAILURE (0x80004005)
    Component:
    Console
    Interface:
    IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}
    Does anyone of you know what went wrong here?
    regards
    monk

    steve___ wrote:i just "pacman -S virtualbox-ose" but I do not have the file "/etc/rc.d/vboxnet".  I searched through the {core,extra,community}.files.tar.gz tar files as well.
    Yeah, I have this same issue. I installed virtualbox-ose using pacman and also don't have /etc/rc.d/vboxnet. I've searched the entire machine and it is nowhere to be found. Did you solve it? Anyone got any ideas?

  • Bridged networking not working with nested VMware Workstation

    I am having an issue that I can't seem to find any answer to.... 
    We are running Vsphere 5.5 and I have 2 Guests each running Windows 7 64-bit.  Each of these guests has VMware Workstation 10 running on them.  When we P2V the systems we followed all the instructions to allow nested VMware Workstation.  However, we are running into an issue where the Bridged Networking will not work.  Both of the Win7 guests are on the same vlan and all of the VMs in Workstation are on the same network as well.  However, while the 2 Windows 7 guests can ping each other and each of the guests can ping the VMs that are hosted locally, they cannot connect to the systems on the other guest running workstation.
    I tried to upgrade the Guest NIC to VMXNet3, but that did not help. 
    All of the research I have done brings me to people who are having the opposite problem (ESXi nested in VMware Workstation). 
    How can I get the 2 bridged networks to connect?
    Thanks!

    The ESXi vSwitch to which the outer guests are connected must be configured for promiscuous mode and forged transmits.

  • Using ISP network with multiple private spans in a bridged/LAN manner?

    Dear all - this is a bit a of concept question. But it seems an obvious and generic requirement - but I can't find a nice, neat and simple solution? Or maybe I can't see the forest for the trees? Help/pointers would be appreciated - the first bit is the connectivity, I'll worry about the security issues once this has been put to bed. 
    I need a WAN/LAN network with 30 plus nodes. My IPS will supply a nice fibre internet connection per node with fixed public IP's, each node has a /28 span (5 usable Public IPs) - so I have the foundation for an 'any to any' network (which I need) via these public IPs. I now need to expand the IP host connectivity behind the ISP supplied CPE. This expansions needs to be a set of private networks (say) 192.168.x.0/24 - with x being 1 to 30. - But I still need the 'any to any' connectivity. 
    A (rather poor) ascii picture of what I need:
    '                                                                   |          Internet         |
    192.168.1.100/24 <---->ISP CPE/28 <-------> |                               |
    192.168.2.100/24 <---->ISP CPE/28 <-------> |                               |
    Etc up 'till 192.168.30.100/24                        |                               |
                                                                        |_________________|
    The Internet becomes no more than a 30 port switch - with any 192.168.x.y being able to ping any other 192.168.x.y node
    Any takers?

    Hello,
    Just to make sure I have it correctly, you have several sites each with their own public addresses, which then have a private address range network behind them, and they need to all be able to communicate?
    If so the solution would be site-to-site VPN tunnels.  That way each client could communicate with every other client using the private addresses, and all of the traffic going out over the ISPs public network would be encrypted.  This would involve a lot of tunnels so you would need a pretty beefy router, but that should give you what you are looking for.
    Hope I understood it correctly and this helps,
    Christopher Ebert - Advanced Network Support Engineer
    Cisco Small Business Support Center
    *please rate helpful posts*

  • QEMU/KVM bridge networking howto

    Hello all,
    I had a dialog here:  https://bbs.archlinux.org/viewtopic.php?id=145177  but I inadvertently hijacked the OP thread, for that I deeply apologize and decided to start my own thread.
    I've been struggling with getting my bridge networking working with QEMU/KVM.  I would love to get my KVM Windows 7 install working with bridge network so I can access my internal lan, but so far I am out of luck.  When I follow the Wiki's I completely hose my network settings and can't get online with my Arch host.
    I've followed the wiki's here:
    https://wiki.archlinux.org/index.php/QE … al_network
    should I be using this wiki instead:
    https://wiki.archlinux.org/index.php/KV … Networking
    I'm kinda confused on how to approach this since there are separate wikis for QEMU and KVM.
    I have a couple of confusing questions, that I hope someone can answer, or lead me in a direction to help me find a solution.  Free internet beer for helping. 
    From a vanilla install of Arch, if I would like to run Windows 7 64-bit in a VM, should I use QEMU or KVM?  I did get the windows 7 up and running, not sure how, but it's not on my internet LAN, the VM can only access the internet.
    Can someone help me out step by step or pointing me in a direction that can help get a bridge network set up between my host, which will need a static IP address, and my VM, which I would prefer to have another static IP address on my network.
    I've tried using virtualbox but the performance was slower than using QEMU/KVM.
    BTW, what's the difference between QEMU and KVM?  I'm confused by that as well.  I would even be willing to write up a "beginners guide" if I can get help getting mine set up.
    any help is greatly appreciated.
    --nixIT

    I do things manually on my system so, for two VM:
    ip tuntap add dev tap0 mode tap user djgera
    ip tuntap add dev tap1 mode tap user djgera
    brctl addbr br0
    brctl setfd br0 0.0
    brctl addif br0 eth0
    brctl addif br0 tap0
    brctl addif br0 tap1
    ip link set dev br0 up
    ip link set dev tap0 up
    ip link set dev tap1 up
    ip addr del 192.168.0.77/24 dev eth0
    ip addr add 192.168.0.77/24 broadcast + dev br0
    ip route add default via 192.168.0.1
    then each qemu-kvm instance that I lauch add:
    -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:00 -netdev type=tap,id=net0,ifname=tap0,script=no,downscript=no
    -device virtio-net-pci,netdev=net1,mac=52:54:00:12:34:01 -netdev type=tap,id=net1,ifname=tap1,script=no,downscript=no

  • Tap0.device issues while attempting to start bridged network

    i'm trying to get the bridged network working so i can run xen and everytime i try sudo netctl enable xenbridge-dhcp i get this error in journalctl.
    -- Logs begin at Wed 2013-05-15 14:16:16 PDT, end at Tue 2013-05-28 18:26:42 PDT. --
    May 28 18:25:07 kimbra sudo[23762]: pam_unix(sudo:session): session closed for user root
    May 28 18:25:12 kimbra sudo[23764]: jd : TTY=pts/1 ; PWD=/home/jd ; USER=root ; COMMAND=/usr/bin/netctl start xenbridge-dhcp
    May 28 18:25:12 kimbra sudo[23764]: pam_unix(sudo:session): session opened for user root by (uid=0)
    May 28 18:25:12 kimbra systemd[1]: Expecting device sys-subsystem-net-devices-tap0.device...
    -- Subject: Unit sys-subsystem-net-devices-tap0.device has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Unit sys-subsystem-net-devices-tap0.device has begun starting up.
    May 28 18:26:42 kimbra systemd[1]: Job sys-subsystem-net-devices-tap0.device/start timed out.
    May 28 18:26:42 kimbra systemd[1]: Timed out waiting for device sys-subsystem-net-devices-tap0.device.
    -- Subject: Unit sys-subsystem-net-devices-tap0.device has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
    -- Unit sys-subsystem-net-devices-tap0.device has failed.
    -- The result is timeout.
    May 28 18:26:42 kimbra systemd[1]: Dependency failed for xen bridge.
    -- Subject: Unit netctl@xenbridge\x2ddhcp.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/li … temd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
    -- Unit netctl@xenbridge\x2ddhcp.service has failed.
    -- The result is dependency.
    May 28 18:26:42 kimbra sudo[23764]: pam_unix(sudo:session): session closed for user root
    tap0.device is not working and i can't find the uml_utilities package anywhere.
    help?

    Sorry for the rather late response, but I've just been through this issue myself. The tunctl & brctl utilities are now part of 'uml_utliities', which is itself deprecated.
    I downloaded uml_utilities and installed it.
    I've encountered a bug which appears to be common to all bridged netwroking (the inbuilt VirtualBox bridging demonstrates the same problem). The nature of the bug is that if I bridge with the physical ethernet adapter, only a linux guest VM can see the outside world. THis is true whether the guest is running under VirtualBox or KVM so the issue appears to be generic.
    Non-linux guests can see each other and the *host*, but not the rest of the world. Speculations as to the reason include the deprecation of Uml_Utilities, but regardless, I tried something different.
    I created the bridge and assigned it a separate subnet. I added some tap interfaces. I ran a DHCP server instance listening on the bridge alone. I set forwarding on, and created a static route enabling my router to find the virtual subnet.
    I used dnsmasq for the DHCP as it isn't used by my regular network setup, meaning that I can screw around with it trivially without breaking things. Additionally, I set up the config automatically from my vnet script. I can potentially add multiple virtual subnets this way although I haven't included support in the script as yet. The minimal config hands out addresses from the pool specified on the vnet command line, and I can set up static addresses on the same subnet by referencing the contents of /etc/host and /etc/ethers (it identifies vms by mac address).
    This works perfectly, and has the advantage that the virtual network traffic will route via wireless as well as cabled ethernet. It also makes it simple to firewall the virtual subnet and reduces the risk of experiencing minor hassle when my broken vnet code stuffs the ethernet interface.
    Ping me if you want a copy of the vnet script, although it's still very much a work in progress.
    Last edited by salafrance (2013-09-21 20:02:12)

Maybe you are looking for

  • Message Schema changes on receiver side..Need Help!!

    Hi All, The scenario is ECC --> PI --> MDM. The message payload schema that is seen in the Message Monitoring (Adapter Engine) in RWB is different from the message that reaches MDM side. Also, specifically the Message header is lost in the schema on

  • How do I identify an executable's path at run time?

    I am developing an application for deployment as an executable via an installation package. This application will need an accompanying initialization file which will store user configurable defaults (such as the root path to his data and other sundri

  • Skype number not working / long forwarding times

    Dear Team, my skype number is not working although I allowed everyone to call in my privacy settings.  This has been happening quite often and now it is already down all day. I put it on forwarding to my mobile number for now, but although i set the

  • Invoice problem. Fiscal Year

    Hello, When a case lasts between two fiscal years (It begins before April 30th and ends after May 1st), It is generated two invoices: one dated on April 30th with the services provided until that day and another for the new fiscal year. We need to ha

  • Crash when Changing malto Hyperlink in Resources

    I am getting a crash - Adobe GoLive has encountered a problem.... When I click on more info I get a long output error report - it says it saves it to: C:\DOCUME~1\Steve\LOCALS~1\Temp\daf_appcompat.txt However it's not there. So what should I do next.