Re: Odd networking problem.
From: Antoine EMERIT (gnagnagna_at_incredebilous.blackhole)
Date: 15 Aug 2005 10:02:28 GMT
> "email@example.com" <firstname.lastname@example.org> writes:
>>I was assigned two IP numbers at the co-location center. I had two
>>NIC's in that machine, and instead of having two virtual IP's on ONE
>>NIC, I thought I'd balance the load on the NIC's by having the IP's go
You may use two NIC on the same ip network, but it need to use the
iproute2 linux features ('ip' command, ...) combined with iptables to
mark the packets according to their NIC input.
However, did you realy need this ? The first question is "do you fill
your available network bandwidth ?" If not, you shouldn't need two NIC.
Graph your network trafic with sommething like MRTG to have an idea on
the long term.
>>I've experienced packetloss before when having ~3000 simultaneous
>>connections to the same NIC.
So, that's your fondamental problem ?
Do you mean 3000 web connections ? 3000 tcp connections (all services) ?
You may have reach a limit in your linuxbox configuration :
- max apache server simultaneous request
in httpd.conf :
- max local connections
- max connections tracking
- timeout connection because of your server load
increase the timeout (tcp, udp, ...)