| To: | lartc@mailman.ds9a.nl |
|---|---|
| Subject: | Re: [LARTC] Multiple uplinks, ssh connections hang |
| From: | "Denny Zulfikar" <dennyzulfikar@gmail.com> |
| Date: | Tue, 27 Feb 2007 08:12:17 +0700 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | lartc-list@securepoint.com |
| Delivered-to: | lartc@outpost.ds9a.nl |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jpULLw5KLYW0fSyg2KqCGzNGDyAbOcStSx4GIGyIE+t1KN7VHlQQ4d8e+xW47/0NY3tWddNrp/fuo6Wg37oseNhrWZBMR9ohiSXf7MoGga4nLWkW3T6DB9mhQwxpTWghg8YhgHyYVw5urr+I+i5/abXXSpS/PbTdiGbG6m6J0JE= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d2aPQnUrqbnN+5sxt/wSHnm31Sd4ndXFg1fMKbpIfGbDXZ5SC5aigunpbfSVAqie5Ai2k4XZNH5uK3CCkf8htL7tNpbVSLMzuBKDlJSpSR2HSRfxuc6rjSub2EVRN7XFQLm0dUe/kALli0VXGNnzEulRC0YUm9mMkcel4sPx7lU= |
| In-reply-to: | <45E35481.5020106@zaneray.com> |
| List-archive: | <http://mailman.ds9a.nl/pipermail/lartc> |
| List-help: | <mailto:lartc-request@mailman.ds9a.nl?subject=help> |
| List-id: | "Mailinglist of the Linux Advanced Routing & Traffic Control project" <lartc.mailman.ds9a.nl> |
| List-post: | <mailto:lartc@mailman.ds9a.nl> |
| List-subscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe> |
| List-unsubscribe: | <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe> |
| References: | <45E35481.5020106@zaneray.com> |
| Sender: | lartc-bounces@mailman.ds9a.nl |
Hello korey, I don't think your configuration will work well, because there're balancing using "weight" connection. So, if you have connection-oriented-application that must sure passing their traffic only from one connection (such as ssh and https-please try to test open and login to hotmail.com), it will fail when the default routing switch from one gateway to another (round robin). Dont use this config for connection-oriented application. it's round robin rule, that will switch from one gateway to another without notice/know about traffic type. "ip route add default scope global nexthop via 192.168.200.1 dev eth2 weight 1 nexthop via x.175.244.1 dev eth1 weight 1" please refer to this documentation howto develop multpile internet connection gateway. http://linux-ip.net/html/adv-multi-internet.html Best Regards, Denny Z On 2/27/07, Korey O'Dell <korey@zaneray.com> wrote: Folks, Ive got two ISP connections that I am using with: --- ip route add 192.168.200.0/24 dev eth2 src 192.168.200.11 table connection1 ip route add default via 192.168.200.1 table connection1 ip route add x.175.244.0/24 dev eth1 src x.175.244.2 table connection2 ip route add default via x.175.244.1 table connection2 ip rule add from 192.168.200.11 table connection1 ip rule add from x.175.244.2 table connection2 echo "Enabling load balancing between ISP connections..." ip route add default scope global nexthop via 192.168.200.1 dev eth2 weight 1 nexthop via x.175.244.1 dev eth1 weight 1 iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to x.175.244.2 iptables -t nat -A POSTROUTING -o eth2 -j SNAT --to 192.168.200.11 _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [LARTC] Multiple uplinks, ssh connections hang, Ming-Ching Tiew |
|---|---|
| Next by Date: | [LARTC] Creating a contended section of bandwidth with HTB and IMQ, Charles Price |
| Previous by Thread: | Re: [LARTC] Multiple uplinks, ssh connections hang, Ming-Ching Tiew |
| Next by Thread: | Re: [LARTC] Multiple uplinks, ssh connections hang, Alex Samad |
| Indexes: | [Date] [Thread] [Top] [All Lists] |