Hello, I want to connect multiple DSL connections on a Linux box the issue I have is that both of the DSL are from the same provider so both of them give me the same remote gateway, is there a way for this to work?? Is there a place where I can read about this ?? Thanks a lot for your help
> I want to connect multiple DSL connections on a Linux box the issue I have > is that both of the DSL are from the same provider so both of them give me > the same remote gateway, is there a way for this to work?? Is there a place< where I can read about this ?? In the list archives. There you will learn tht the fact that both providers have the same default gateway is totally immaterial. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
On Monday 26 December 2005 18:15, Tom Eastep wrote:> > I want to connect multiple DSL connections on a Linux box the issue I > > have is that both of the DSL are from the same provider so both of them > > give me the same remote gateway, is there a way for this to work?? Is > > there a place > > < where I can read about this ?? > > In the list archives. There you will learn tht the fact that both providers > have the same default gateway is totally immaterial.Actually, that isn''t totally true. If your DSL "modems" are configured in bridge mode and your internet interfaces are just ethernet interfaces (ethX) then there are some considerations. Most important of these is that your ISP''s router MUST ACCEPT GRATUITOUS ARP -- if it doesn''t, then you won''t be able to get this to work for the first N minutes (hours) after you reboot (N determined by how often your ISP''s router refreshes it''s ARP cache). A couple of hints: a) Don''t set ''logmartians'' on your internet interfaces because martians are unavoidable. b) You must be running Shorewall 3.0 and you must set arp_ignore=1 on both interfaces. c) In /etc/shorewall/start, you should include this command for each of your internet interfaces (ethX): arping -U -c 2 -I ethX <IP address of ethX> For more information about ''arping'' and ''arping'' packages, see http://www.shorewall.net/ProxyARP.htm. d) Proxy ARP won''t work without considerable extra work. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
Actualy the connection is done using 2 ppp interfaces But my doubt is this Link encap:Point-to-Point Protocol inet addr:201.155.70.252 P-t-P:148.223.255.127 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:1557795 errors:0 dropped:0 overruns:0 frame:0 TX packets:1855822 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:607985821 (579.8 Mb) TX bytes:877870506 (837.2 Mb) Both interfaces give me the same ptp address, and on the other hand im using openswan to make a vpn .. Thanks .. -----Mensaje original----- De: shorewall-users-admin@lists.sourceforge.net [mailto:shorewall-users-admin@lists.sourceforge.net] En nombre de Tom Eastep Enviado el: Martes, 27 de Diciembre de 2005 10:09 a.m. Para: shorewall-users@lists.sourceforge.net Asunto: Re: [Shorewall-users] re: Multiple WAN On Monday 26 December 2005 18:15, Tom Eastep wrote:> > I want to connect multiple DSL connections on a Linux box the issue I > > have is that both of the DSL are from the same provider so both of them > > give me the same remote gateway, is there a way for this to work?? Is > > there a place > > < where I can read about this ?? > > In the list archives. There you will learn tht the fact that bothproviders> have the same default gateway is totally immaterial.Actually, that isn''t totally true. If your DSL "modems" are configured in bridge mode and your internet interfaces are just ethernet interfaces (ethX) then there are some considerations. Most important of these is that your ISP''s router MUST ACCEPT GRATUITOUS ARP -- if it doesn''t, then you won''t be able to get this to work for the first N minutes (hours) after you reboot (N determined by how often your ISP''s router refreshes it''s ARP cache). A couple of hints: a) Don''t set ''logmartians'' on your internet interfaces because martians are unavoidable. b) You must be running Shorewall 3.0 and you must set arp_ignore=1 on both interfaces. c) In /etc/shorewall/start, you should include this command for each of your internet interfaces (ethX): arping -U -c 2 -I ethX <IP address of ethX> For more information about ''arping'' and ''arping'' packages, see http://www.shorewall.net/ProxyARP.htm. d) Proxy ARP won''t work without considerable extra work. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
On Tuesday 27 December 2005 08:54, Fernando Rodriguez wrote:> Actualy the connection is done using 2 ppp interfaces > > But my doubt is this > > Link encap:Point-to-Point Protocol > inet addr:201.155.70.252 P-t-P:148.223.255.127 > Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 > RX packets:1557795 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1855822 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:607985821 (579.8 Mb) TX bytes:877870506 (837.2 Mb) > > Both interfaces give me the same ptp address, and on the other hand im > using openswan to make a vpn ..Should work fine. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key