LARTC
[Top] [All Lists]

[LARTC] Multiple uplinks, ssh connections hang

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Multiple uplinks, ssh connections hang
From: "Korey O'Dell" <korey@zaneray.com>
Date: Mon, 26 Feb 2007 14:43:29 -0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
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 &amp; 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>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Thunderbird 1.5.0.7 (X11/20060909)
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

---


The 192.168.200.x (lan) network gets to the internet via another gateway (192.168.200.1). Client machines on the 200.x network work ok except for ssh connections to machines on the internet hanging. It asks for a password and hangs.
Any ideas? Thanks Korey


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>