Networking :: Intermittent Internet Connection After Setting Up Load Balancer ?
Feb 25, 2011
I have set up one of my linux box as link load balancer for two ADSL connection. After deployment, I have found out that instead of being fast, it has become slow. What I have observed that my request get out to internet but comes back intermittently. Is this a standard scenario ?
I'm having problems with my internet connection; it seems to be working fine then every other click of a page there is no connection, then I click it again a second later and it works. I am using a wired network connection plugged into an addon wireless router.
When I use ping under network tools it seems to be fine, then freezes halfway through and doesn't receive those few packets, giving me a transmission percentage of about 70%.
I am using haproxy for the first time.I downloaded the latest version 1.4.7 and then unpacked it.then opened the terminal and wrote the command
After which an executable haproxy file was created which I copied to /usr/local/sbin. then i wrote $sudo make install. then I make a configuration file in /etc/haproxy.cfg which is as follows
But it's not working it is various kind of errors intially it was showing "cannot bind to socket" so tried changing the port number but didn't help. I also used command like $sudo sysctl net.ipv4.ip_nonlocal_bind=1 But didn't help.
I am working on a load balancing project. The type of routing I am implementing is direct routing (LVS-DIR).
The following is a script that sets up the Linux Virtual Server (LVS) or the load balancer:
On both, the LVS and Real Server 1, the firewalls (iptables) are not running.
A few questions I have are: 1) On the LVS, is apache supposed to be running? 2) If so, what would be the ServerName for apache on the LVS? 3) What would be the ServerName for apache on the real server1, is it the server real IP or the VIP?
When I try to access the web content on real server1 in a browser on the LVS, I get Failed to Connect. A connection to the server cannot be established.
The load balancer has two NICS, eth0 and eth1. The real servers will connect to the load balancer via eth1, and the client will connect via eth0.
My requirement is to route ssh sessions from a single head node to multiple slave nodes. So what i want is, for a client there is just one point of entry (master/head node) to ssh into, it evaluates the load on the slave nodes connected on to internal network and routes the ssh session, kind of a ssh load balancer. Do you have any idea what open source solution i can apply for my problem?
I have tried using LVS piranha, it works well for http and https load balancing but not for ssh load balancing.
I just installed Ubuntu 10.04 . Need to get my wireless router working on my HP laptop. Have been using a Linksys WRT54G Router with windows and it is working properly. Tried setting up in NetworkManager but it does not work.
When looking at things in the Ubuntu terminal it says the network is DISABLED.
I have tested several Linux Distros over the last weeks, and with all of them my DSL connection have been working out of the box (for intance Mandriva, Ubuntu, Mint). But it does not work on Dreamlinux, neither on Live CD or now where Dreamlinux is installed on my harddisk.
According to the guidelines provided by my Internet provider I need to use TCP/IP and activate DHCP. And make sure that PPPoE is not activated.
I see nowhere I can do this in Dreamlinux. In the controle panel i can run Wicd. Then I can chose to de-activate Wicd - this gives me an option of entering Adress, Networking mask, Gatway and Nameserver - for static ip it says - and this is the opposit of DHCP, right??
SO - what to do? Should I get a debian package or something? (Dreamlinux is using debian packages, as far as I could see)
I dual boot windows xp and ubuntu 10.04 LTS and the wireless card works perfectly fine in xp so I know its not a hardware/network issue. In ubuntu, it detects wireless networks, will connect to network and work for about 20 seconds.
and it continues on after this alternating between a normal 20ms and high ping over 200ms. The connection refuses to load anything off the internet/local network.
In the last week I have noticed that sometimes my Mobile Broadband connection just goes off without me doing anything! I have credit on the dongle account, so it isn't that. I'm using fedora 14 on an acer aspire one netbook. Dongle is a Huawei E160 on o2 here in the UK Kernel is 18.104.22.168-83.i686.fc14
Sometimes unplugging and replugging the usb dongle works. Othertimes, I have to leave it out for several hours. It does seem to happen daily, though.
Using my usb mobile broadband dongle I am able to access the internet about 25% of the time. I am able to make a connection to the '3' wireless network 100% of the time, but often Mozilla and all other applications that rely on an internet connection do not recognise that this connection has been successfully established, and give me error messages claiming there is no internet connection.
I can't discern any pattern as to whether the connection will be recognised or not. When it isn't recognised, the only solution is to disconnect and reconnect to the network. Sometimes this works and sometimes it doesn't. Sometimes restarting the computer fixes the problem, and sometimes it doesn't. I also have access to a wireless network at uni. I have no problems using this network whatsoever. Housemates using the same dongle on Windows have no problems. I'm using an Acer Aspire one, the dongle is a Huawei e220, I'm running Ubuntu 9.10. I have only recently reinstalled the operating system and have not needed to mess around with any network settings to get the usb dongle to 'work' the way it is currently.
I've got UNE 10.10 installed on a Samsung N150 that uses the RTL8192E for wireless. When the wireless works then it generally works okay, but I'm having problems with reboots and long-running connections. This is different to the mass of posts (mainly from 2009) about the card not working at all, so I started a new thread.Basically, 90%+ of cold boots result in a successful wireless connection, with Network Manager remembering my WPA password.
When the wireless is up then it never obviously drops out, but I've got an app with a long-running connection that seems to disconnect itself occasionally. Looking at Wireshark then it appears that there are a number of retransmits, and a big batch just before it disconnects (which implies that the app is dropping its connection because it thinks the other end disappeared). Running the app on another machine with a different card but through the same release of Ubuntu and the app and the same router doesn't result in retries or drop-outs.On the times when a cold boot doesn't successfully reconnect then it asks for the WPA password, then continues trying, then asks for the WPA password again, then continues trying, then asks...and so on until I rmmod and modprobe the driver.
I originally had problems with the machine refusing to restore after a hibernate/suspend, but this was solved by a tip to rmmod the driver on hibernate/suspend and modprobe it on restore.The wireless will now work okay on some restores, but is more likely to repeat the behaviour described above for the failed cold boot.
I have been running 10.10 server with no GUI for a few months without issue. I decided to install ubuntu desktop (GUI), because I want to turn it into a media server, and I'm finding that my Internet browsing fails intermittently. i.e. I can get [URL] sometimes and sometimes not. I have tried traceroute and found that I do not reach my local router on addresses that fail, and yet I get a full trace on addresses that are ok. Ping tests too.I remember from some time ago that the GUI may cause a network problem but I'm not sure. By the way, other computers on the network can access this host through Samba so the NIC is working fine.
i have just installed 10.10 under wubi, first time trying to use this network card under ubuntu. works fine on XP where it connects with good signal strength to a zyxel p-600 b/g router (my 3 other machines also connect fine to this router)
i am using WPA2, it takes 30secs to 1min to connect in the first place, then runs slowly and with intermittent disconnects, reports good signal strength in network manager.
i have been fortunate enough to have 3 machines that run ubuntu flawlessly out of the box..
I am trying to setup a High-Availability HTTP Load Balancer With HAProxy & Heartbeat using the below links.
I have all RHEL 5.4 servers hosted on VMWare.
This is the scenario, as given in the links as wells as my setup.
Load Balancer 1
Load Balancer 2
Web Server 1
Web Server 2
I have followed all the steps mentioned in the links religiously except the 2.2 here, in which it is asking to configure the vhosts. I could not really understand , what is to be placed in /etc/httpd/conf.d/vhosts.conf file and in which Web Server.
Due to this step only, I think I am failing in Failover test given in Point 4.1 here. I am able to open the webpage by [url] which gives the content of Web Server 1 (http1.example.com). But, when I try to shutdown the http service (to check failover), it does not shows the contents of Web Server 2 (http2.example.com)
Although, I am able to succeed in Failover Test 4.2, in which shared IP 192.168.0.120 switches when I try to start/stop the any of the Load Balancers.
I just upgraded to Ubuntu 10.10 because I was facing internet problems with previous Ubuntu 9.04 after I upgraded it with downloaded software. And now, 10.10 connects to wireless, but shows web-page some-times and repeatedly disconnects. Earlier it wasn't reaching Internet at all. Some of the topics here helped a lot. But this intermittent internet seems not going anywhere. Wired Internet connects easily though.
I've tried :-
-disabling ipv6..... first in Firefox, then in Kernel also -Setting DNS.....System> Preferences> Network Connections -setting static Ip
I'm having a bizarre problem where my network connection stops working randomly. At first I thought it was a DNS issue since Firefox simply chilled out on "Looking up [hostname]" until it timed out, but after further investigation (pinging IP's, "host" and "dig" being unable to reach servers) it became apparent that I couldn't even access the DNS servers i.e. the Wicked Connection of the East was most sincerely dead.
There are two strange things about this: one, there are no errors except "timeout". The network manager is happy, Firefox is happy until the lookup fails... Two, the failures only start *after* DHCP configuration. DHCP configuration never has any trouble sending or receiving packets. I'm going to try static IP and whatnot to see if that helps, more information later.
I have a Dell laptop with a bcm4312 wireless card. Every once in a while though, the laptop is unable to send or receive any data for 30 seconds. The connection is not dropped, and nothing shows up in any system logs. Both the wl and b43 drivers have this problem, but it works fine under vista.
I have just installed Linux Mint 8 Helena & it appears to be working well alongside my xp system. The problem I do have is setting up the much needed broadband connection. I have an adsl speedtouch330 usb modem, with tesco.net as my server, which works just fine on xp hence this mail. Am I missing something obvious, or have I got myself into depths much deeper & complex than I thought.
I am running Ubuntu 10.10, and I would like to use my computer to share the internet connection from an ethernet port. For example, I would like to set up my computer as a wireless access point so I can create a network that other computers can connect to for internet.
The problem isn't with thew new computer but with my computer running Ubuntu. The problem is that I'm having trouble getting the Internet to work. Before the router I just plug my PC straight into the modem but now with the router I can't get on the Internet. I can get a connection to the router but no Internet. I know the it is not the router because I use my PS3 and it worked fine. I spend like an hour just trying to get the connection but can't figure out the Internet problem. What I did to get the connection is copy the ip address, Mac, and etc. from the PS3. Then I made a new connection and put the data in the IPV4 settings and it got a connection but I'm not sure if I did that right or just got lucky
I just installed 10.10 (2.6.35-24-generic) and my wired network connection is cutting out. I'm dual booting with Windows 7, and it works fine over there. I'm confident it's not a hardware issue. It works initially, but after a few minutes (this varies) the connection will drop out. If I'm on Firefox, I'll get "Loading" until the connection times out. If I'm using RDP to a local computer, I'll lose the connection. When it happens, if I ping a local computer, I'll get:
So I'm getting a bunch of packet loss. Some of the time, once the packets do start going through again, Firefox will finish loading the page. Other times, I have to click on network manager and click on "Auto eth0" which will give me the "connection established" message, and kick the network card back into gear. Sometimes I have to do this several times. It never shows as disconnected, but this somehow gets it going again.
I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.
Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).
Any clues over here? I'm using pand 4.91 and blueman.
I am new to Linux and Debian. I have Compaq Presario R3000 laptop, which is 5 years old now. I have RealTek RTL8139 family PCI Fast Ethernet NIC. Currently I have a broadband connection at home. I have dual boot Windows XP Professional and Debian (which I installed a week ago through CD). I have done some preliminary tests for the network and I am posting the screenshots for the tests (e.g. lspci, ifconfig, etc.). I also did two more commands. For 'cat /etc/network/ifstate' the output was 'No such file or directory'. Same output was for the command 'cat /etc/network/options'.
I have successfully set up a cable internet connection in Ubuntu (created a new DSL connection by typing login and password and connected the cable - it worked). But I have no idea how I can set up a wireless internet connection.I have a wireless access point TL-WA501G, laptop and a cable internet connection with fixed IP address.My laptop can see the wireless access point. But I really do not know how to make it all work and what to start from.
I performed an update that has caused issues with my wireless. Errors relating to wireless firmware missing and consequently no internet connection.
I've been through this before with my 2008 macbook air BCM card whose firmware isn't included in installs. In the past I've manually installed the b43-fwcutter package an extracted some firmware... That doesn't seem to be working here.
I've used [URL]i ... cefirmware to troubleshoot. I have not been able to get b43 or wl to work.
I attempted to install the "firmware-b43-installer_015-14.1_all.deb" package; however it depends on wget to download and install "broadcom-wl-5.100.138.tar.bz2" from wlfinger.com.
So I manually installed b43-fwcutter and used it to extract the broadcom-wl-5 file referenced....
modprobe wl says wl doesn't exist and modprobe b43 doesn't seem to work.
Code: Select allsudo dpkg -i broadcom-sta-dkms_22.214.171.124-8_all.deb Setting up broadcom-sta-dkms (126.96.36.199-8) ... Loading new broadcom-sta-188.8.131.52 DKMS files... Building only for 3.2.0-4-amd64 Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed.
I tried something from broadcom that produced make errors "/lib/modules/3.2.0-4-amd64/build: No such file or directory"... I think this means I need some kernel development packages, broadcom says:
Code: Select allOn Fedora install 'kernel-devel' (Development Package for building kernel modules to match the kernel) from the Package Manager (System-> Administration-> Add/Remove Software).
On Ubuntu, you will need headers and tools. Try these commands: # apt-get install build-essential linux-headers-generic # apt-get build-dep linux
I'm having trouble install this stuff without the net and not sure installing generic headers and build-dep outside of apt-get is the way to go... linux-headers-3.2.0-4-amd64_3.2.57-3+deb7u2_amd64.deb has alot of dependencies that would take me a while to find and download.