Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Home Router Multiple ISP Connections
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lorano
n00b
n00b


Joined: 27 Sep 2003
Posts: 66

PostPosted: Sun May 20, 2007 10:02 pm    Post subject: Gentoo Home Router Multiple ISP Connections Reply with quote

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
View user's profile Send private message
Stever
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 151
Location: North Carolina

PostPosted: Tue May 22, 2007 1:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
lorano
n00b
n00b


Joined: 27 Sep 2003
Posts: 66

PostPosted: Tue May 22, 2007 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Stever
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 151
Location: North Carolina

PostPosted: Tue May 22, 2007 4:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum