View previous topic :: View next topic |
Author |
Message |
lorano n00b
Joined: 27 Sep 2003 Posts: 66
|
Posted: Sun May 20, 2007 10:02 pm Post subject: Gentoo Home Router Multiple ISP Connections |
|
|
I have a home router built using Gentoo and following the Wiki article. I have 2 connections in the apartment. Qwest and Comcast. I'm trying to get both the Comcast and Qwest Connections routing properly. As it stands right now ping -I <comcast> <webaddress> works, however ping -I <qwest> <webaddress> does not work it comes back with 100% packet loss. It is resolving names but not receiving a response from whatever web address I attempt to ping.
I've tried setting dns_servers_eth0 in /etc/conf.d/net for both connections with the same results.
Here are the relevant lines from iptables from the nat table
506K 43M MASQUERADE all -- any Comcast anywhere anywhere
116 9304 MASQUERADE all -- any Qwest anywhere anywhere
I've attempted to use DNAT and SNAT instead of Masquerading but my machines on my LAN are no longer able to ping out to anything. Any help is appreciated, this is getting extremely frustrating. |
|
Back to top |
|
|
Stever Apprentice
Joined: 01 Mar 2005 Posts: 151 Location: North Carolina
|
Posted: Tue May 22, 2007 1:20 pm Post subject: |
|
|
Getting multiple ISP's working on a router is not the simplest task. I got mine working with shorewall, following this document:
http://www.shorewall.net/MultiISP.html |
|
Back to top |
|
|
lorano n00b
Joined: 27 Sep 2003 Posts: 66
|
Posted: Tue May 22, 2007 3:13 pm Post subject: |
|
|
If that works then that works and I'll give it a shot, since that's an iptables based firewall does that mean I need to redo my iptables rules? |
|
Back to top |
|
|
Stever Apprentice
Joined: 01 Mar 2005 Posts: 151 Location: North Carolina
|
Posted: Tue May 22, 2007 4:39 pm Post subject: |
|
|
I think Shorewall will overwrite your iptables rules, so you probably need to go through the complete Shorewall setup to replace whatever you are currently doing with iptables. The shorewall website has lots of howtos that describe most any setup you are likely to want. |
|
Back to top |
|
|
|