Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 10621  |
|  ROBERT WOLFE to mike.lovell@null.local  |
|  RE:iptables NAT forwarding adding 75-100  |
|  31 May 12 14:42:36  |
 -> ->I have a strange occurrence of lag on my local networking. I have a ->cable modem that plugs into a Debian server, then that Debian server is ->plugged into a switch that all other machines in the house connect to. -> ->So something like: -> ->wan0 -> wan ->eth0 -> lan -> ->The relevant forwarding/NAT rules are: -> -> ->#iptables -A FORWARD -i wan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ->ACCEPT ->#iptables -A FORWARD -i eth0 -o wan0 -j ACCEPT -> ->#iptables -t nat -A POSTROUTING -o wan0 -j MASQUERADE -> -> ->So pretty standard boring NAT. -> ->Lag is occurring (between 75ms and 100ms) on all forwarding rules. Apart ->from the lag they function fine (no connectivity issues). -> -> ->Ping: LAN Machine -> Debian Router = ~0.7ms ->Ping: Debian Router -> Google = ~20ms ->Ping: LAN Machine -> Google = ~121ms !!! -> -> ->The Debian server has plenty of free RAM, the load is showing as low, ->it's (at this time) entirely dedicated to routing - Why is it ->introducing 100ms of lag into forwarded traffic??? -> ->Anyone else seen similar to this??? Have you tried running a traceroute and seeing what the results there are? That might help you pinpoint where the lag lies. Just a thought. Feel free to correct my assumption. ...Learn from your parents mistakes - use birth control! ---BapStats Module (bsDBASE v6.1 Build 1) * Origin: Omicron Theta BBS (1:261/20) |
[ << oldest | < older | list | newer > | newest >> ]