Networking :: Virtual Interfaces For Bridge For Performance Testing
May 19, 2011
Now doing some research about performance of Linux switch. I'll start with basic structure of my system: PC1 is connected to PC2 - both have 1 NIC so not much to add.PC2 eth0 is divided in VLAN`s as far as maximum of 4094. Every VLAN has it's own switch (bridge). On PC1 when I run a test I just make VLAN/configure IP address and stream data to IP that's configured for that bridge on PC2.But now I want to add one more interface to each bridge, so I could stream from PC1 through bridge to Virtual interface (just an endpoint out of bridge). I could possibly add one more computer, physical interface to PC1 and make it work, but is there any way to make this work with virtual interfaces, like tun or something? Making just a simple tun interface and adding it to bridge, as you understand, doesn't do the trick, I need some kind of other endpoint that /virtually/ connects to tun interface. Maybe someone has made some kind of script or something? Using Iperf for my tests.
View 2 Replies
ADVERTISEMENT
Dec 8, 2008
I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: [URL] The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration.
View 3 Replies
View Related
Sep 5, 2015
I just installed qemu and want that my VM should have net access too. So for that I installed bridge-utils and used URl....Add both the interface with the second computer, and the interface that leads to the existing network. Do it with this command: # brctl addif br0 eth0 eth1
View 1 Replies
View Related
Jul 1, 2010
i've put together a slackware box that acts as a "virtual web" to answer pings from devices that ping various pages (such as www.yahoo.com) to test their connectivity. this is for bench testing the devices to verify such complaints as "cannot connect to the internet" or "fails connectivity test". so far, so good, except for a few devices that seem to be also try to load a particular page wirh an embedded browser. this i need help with. currently, all that's needed to return a ping is to look at the DNS requests the device makes and add the requested web address (www.yahoo.com for instance) to the hosts file. what i need is a redirect to a particular html file based on the address requested (i.e. yahoopage.html for www.yahoo.com, lgepage.html for www.lge.com, etc) any deas on how to accomplish this?
View 4 Replies
View Related
Aug 1, 2011
I have a WinXP virtual box and have setup a Samba server to have it use directly a couple of directories on the Linux side. The Samba performance is definitely better than the built-in shared folders of the virtualbox, but there is nothing to write home about either: transfer seem to top at around 3Mbyte/sec.
The machine is a laptop (Core i5 CPU (M520@2.40GHz) and a 7200RPM HDD) running Kubuntu 10.04.The Samba share uses a dedicated "host-only" network adapter. There is an iptable-based firewall to which i added the required 4 statements to let the Netbios traffic go through (without them nothing works...)So, given the hardware, are the 3MB/s a decent figure? And if not, what should I aceeive, and where can I look improve on the current numbers?
View 1 Replies
View Related
Jul 13, 2011
I am in the process of writing a socket program that will need to talk to different computers across the world. I want to set up a virtualized WAN on my computer so i can install the software on a virtual machine, and test it's connectivity in a "real"ish WAN environment.
[URL] Looks promising for setting up the WAN, but i was curious if anybody knew a better way to do it than setting up a bunch of virtual servers, and then another virtual server running WANEM to act as the WAN. I have never been very successful with Virtual Nic's
View 1 Replies
View Related
Mar 27, 2010
I am using vnuml to test a network project. I have one Ethernet card on my ubuntu 9.10( eth0) with network 10.1.0.0/16, and creating a tap0 with subnet 10.4.0.0/16. Now the problem is how to work them together, such that packets from one interface goes to other one?
View 2 Replies
View Related
Apr 20, 2010
Is there any program for GNU to calculate CPU's performace in marks (should support multi-core CPUs)? So it will be possible to compare performance of different CPUs.
View 4 Replies
View Related
Feb 4, 2010
I am trying to set up linphone for testing voip performance. Essentially I am a beginner with linux. I picked Fedora based on the recommendation of a friend. I am running Fedora 12 and I need to get linphone up and running with a working registrar. I have no idea what to do so I turned to hours of research which yielded little results but I did thing to try using partysip. I would like to know if this is a wise choice and if it is what do I do to set it up?
View 2 Replies
View Related
Mar 3, 2009
I would like to test network performance, to get statistic information. Is there any tools where I could specify partikular message size send as a constant for many times and in an output I could get time for each transaction? There is a tool called ApacheBench, it is for webserver testing, but I would like to find something similar for network testing. I have also tried Netpipe, Netperf, Iperf, but they do not show information in an output, which I would like to see.
View 2 Replies
View Related
Nov 17, 2008
I would like to know the Tools which are used for Testing the performance of C and C++ programs under linux?
View 4 Replies
View Related
Feb 13, 2011
I'm going to be installing Vinux which is Linux for the Visually Impaired, based on Ubuntu, onto most any computers I can get my hands on to give to the VI community around my area. I'd like to know what would be a good method to stress test each computer to ensure that each one will operate at an adequate speed without freeze-ups. Sorry, I can't be specific about the computers. I'll be taking whatever gets donated from the public and from businesses, desktops and laptops, whatever comes my way. I don't want to send out any headaches to anyone by giving them a dog-tired slow or a freezing computer that won't even operate.
View 4 Replies
View Related
Jan 7, 2010
I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.
It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"
Code:
ADVISEADDR:error in specifying interfaces: no existing ip interfaces found
#lspci
Code:
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network
[code].....
View 5 Replies
View Related
Jan 25, 2010
I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:
Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255
View 12 Replies
View Related
Apr 16, 2010
If I try to add a new interface (eth1) to /etc/network/interfaces, I get
Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
[Code]...
How do I add 2 interfaces and get anyone of them to work, as available ?
View 5 Replies
View Related
Apr 1, 2011
I have a debian squeeze box with dual NICs that I'm trying to configure with two virtual hosts. I'd like to have one of these machines act as a router for the 2nd NIC so I can plug in a switch and have a separate subnet.
Something like:
- Openwrt router 192.168.1.1 (firewall/vpn/stats for 192.168.1.0/24 domain)
- KVM machine with 2 NICs (192.168.1.2)
- Virtual machine #1 has a fixed IP of 192.168.1.3 (virtual nic)
- Virtual machine #2 has a fixed IP of 192.168.1.4 (virtual nic) but also controls the 2nd nic and routes 192.168.80.0/24
I'd like to use the 192.168.80.0/24 network for testing equipment without poisoning my existing network.
View 2 Replies
View Related
Jul 26, 2011
I'm attempting to use a network bridge to connect my virtual machine, like so:
[Code]...
The issue is that when I type the following command, I get the further following horrible error message that doesn't seem to really point me to anywhere and I can't seem to find any relevant information to my problem on the web:
root@darkstacks:~# qemu-system-i386 -hda test.img -m 128 -curses -net nic -net tap,ifname=tap0 warning: could not configure /dev/net/tun: no virtual network emulation
Does anyone have any idea what I need to do here? My processor does not have the vmx flag, as it's a 2.4GHz P4. I don't know if that might have something to do with it.
View 3 Replies
View Related
Jan 5, 2010
I'm having issues with my GigE Marvell NIC. The problems have started recently. Anytime I push network bandwidth over ~9MB/s, I loose all network connectivity. Stopping the network, rmmod'ing and modprobe'ing the sky2 module and then starting the network again does not resolve the issue (even though eth0 dissapears and then comes back). The only non-standard configuration (as far as desktops go) in my network is that I use a bridge so a KVM virtual machine can be exposed directly to the network. I'm currently testing the problem to see if it exists outside of the bridge.
[Code]...
View 2 Replies
View Related
Feb 11, 2010
What is the maximum number of virtual network interfaces possible?I would like to create around 300 or so. This is needed to simulate a 300 node network.
View 6 Replies
View Related
Jun 9, 2011
There is a big problem with opensuse 11.4 and virtual interfaces.Until 11.2 outgoing traffic by default was sent by the eth0 address nevertheless which virtual interfaces did exist if any was used.Now there seems to be sent by the last interface listed with ifconfig.The outgoing address in this case will be 10.0.0.3.This is very problematic with smtp control etc.
View 1 Replies
View Related
Jul 11, 2015
I'm using the debian testing netinst image (from below url) and trying to install on virtualbox (part of a debian testing vagrant base box build pipeline I've got). This hasn't worked properly for last couple of weeks. Host system is also debian testing.URL....
if I accept all the defaults through the installer (apart from small details like timezone), I end up with a system in which the network does not work. It seems that /etc/network/interfaces has eth0 but the actual network card is called enp0s3, so no network comes up at first boot (despite that the network works fine during the actual install). I can easily fix it after the first boot by editing /etc/network/interfaces and replacing eth0 by enp0s3 and then doing an ifup. This is fine for a workaround but begs the question of why does it fail in the first place.
I have googled a bit and found this thread: [URL] .... which describes a similar issue, and there are other threads out there describing the change.
The udev change seems reasonable enough, but also some package involved in basic debian netinst installation has a bug given that the default install path results in a broken system. Question is, is there a bug already reported (I couldn't find it), or else, which package should I report the issue against? End result should be basic install does not require editing after boot to fix the network.
View 11 Replies
View Related
Jun 7, 2011
I've not found how to configure more than one ip address with network manager.Nor with kde nor with plasmoid network manager.I need several virtual ip addresses for eth0 when the "default" of eth0 is connected i.e. "Connected to Auto eth0" should initialize the virtual interfaces.I have not found no even how to configure the ip address.I think this will be used from ifup config in yast or not?There I have the virtual interfaces but they are not taken from network manager.And last but no least: Is it possible that when using network manager the eth0 is enabled even no user has logged in?
View 4 Replies
View Related
Oct 26, 2010
I'm trying to connect one computer to two others in an ad-hoc infrastructure.
[computer 1] ---- [computer 2] ---- [computer 3]
computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.
[Code]...
View 1 Replies
View Related
Aug 25, 2009
When I create virtual ethernet interface and do a ping -I <v_int> <host> the outgoing address is the one of the physical interface and NOT the virtual interface.Is there no chance that trafic will go out with virtual interface address??Incoming trafic is done well i.e. responds to the virtual interface have the virtual address.
My problem is that I have 2 modems and want to check both default gw behind the modems.
If I do a "normal" ping both are reachable over default route even the modem which is not the default route will not work because ping goes over the working modem.So I have 2 routing tables and want to route the virtual interface to one modem the other to the other modem
View 3 Replies
View Related
Mar 30, 2011
i have two ISP, and i want to bridge each IP. Here my example;
ISP one : 10.10.10.1/29
ISP two : 172.16.100.1/28
can we setup for two ISP with different gateway ??
View 5 Replies
View Related
Jul 2, 2010
I'm on an embedded system that doesn't have Gnome, and I'm trying to startup networking automatically using /etc/network/interfaces. Here's what I have.
[Code]....
eth0 comes up just fine. wlan0 comes up, but it's unable to acquire a DHCP address. I added the following lines to /etc/rc.local, and wlan0 comes up all the way, but I'm not too crazy about this hack.
[Code]....
View 1 Replies
View Related
Aug 9, 2009
I have 2 NIC's in a box. One of them is external and doesn't matter for this question I don't think.
The other NIC is 192.168.100.3. It hosts an iSCSI Target and SMB Share on my LAN. It's works great.
I have another PC that has NIC at 192.168.100.101 and it hosts my DHCP (Scope: 192.168.100.5-25) server for my LAN.
I have a hardware firewall at 192.168.100.1 and it serves inet to the LAN on a different external connection.
So...
I currently have a WAP (cheap p.o.s. netgear router in WAP mode that keeps overheating). I want to eliminate the WAP device and add a WiFi NIC to the Top PC above.
So, on the first system I would have:
NIC 1: External IP and External Gateway
NIC 2: Static IP 192.168.100.3
Proposed WiFi NIC 3: Static 192.168.100.4
Question:
If I bridge NIC 2 and NIC 3 like this:
# brctl addbr br0
# brctl addif br0 eth0
# brctl addif br0 eth1
Then I simply put the WiFi in Ad Hoc, will another WiFi in Ad Hoc (for example my laptop) be able to "see" 192.168.100.101 (DHCP) & 192.168.100.1 (Gateway) (via WiFI 192.168.100.4 through the bridge to 192.168.100.3 and on to the LAN)?
Also, can the two NIC's be bridge together even though they are the SAME subnet?
View 1 Replies
View Related
Oct 4, 2009
I tried google but without success. I have a small home network and one computer has to work as a bridge (comp1), it connects to the internet through wlan and is connected with cable to other computer (comp2), I would like to to make that second computer member of a local network with internet access.I was trying this:
Code:
ifconfig wlan0 0.0.0.0
ifconfig eth0 0.0.0.0
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 eth0
[Code]...
View 8 Replies
View Related
Jul 19, 2010
I have a Gateway laptop running ubuntu 10.04, and just now have a compaq desktop running windows 7, my laptop has wireless internet connection, it's the only way that i can get it in my room. my desktop has only ethernet plugin. My question is, If i plug my laptop up to my desktop using an ethernet cable, can i bridge that connection to get internet from my laptop(using the wireless) to my desktop(using the cable)
View 1 Replies
View Related
Dec 13, 2010
My first, followed a couple of Ubuntu how tos and used LinuxFoundation bridge doc. I still have managed to mess it up! Here's the simple test network, First -- ALL hardware is fine, I have verified everything, to the last cable. In fact this is being written from the test network without the bridge running.
OK, I have a firewall that has dhcp server on board, I have a client workstation with dhcp enabled network card(eth1) (the one I current typing from). There are 2 switches between the firewall and the workstation (eliminate xover issues when testing) That's it. All is well. Now I want to place a computer in line between the firewall and the workstation. It is a 10.04 server install, no gui, minimal install. It has 3 network cards, One of these ports was used to set up the server. It is set up dhcp and it works just fine, I spent all kinds of time ssh'ing into the box, so the dhcp client is good to go.
I disconnected the cable to that interface and ran a cable from the firewall's switch to one free port(eth0) and a cable from the workstation switch to the other free port(eth2). From the console I do ifconfig -a and there are all 3 eth's, 0,1, and 2 I then open /etc/network/interfaces and to lo and eth1 I add this:
[Code]...
View 1 Replies
View Related