Re: Two internet connections

From: Hans du Plooy (hansdp_at_sagacit.com)
Date: 05/29/05

  • Next message: Adam Majer: "Re: HP 3325 Inkjet on Sarge"
    To: debian-user@lists.debian.org
    Date: Sun, 29 May 2005 19:46:35 +0200
    
    

    On Sat, 2005-05-28 at 10:57 +0200, Meni Shapiro wrote:
    > Hi,
    >
    > You failed to mention what SMTP server you are running.
    Sorry, I didn't think that would make a difference. The SMTP issue is a
    side effect of the routing problem. The machine responds to all
    connections from foreign networks via the default gateway, instead of
    the interface that the connection was made two. It's postfix by the
    way :-)

    The setup looks like this. eth0 is local network, 192.168.1.1 is the
    default gateway (IP-COP firewall). eth1 is connected to a router, which
    is connected to a least line. For argument's sake, lets say eth1 is
    203.203.203.21 (and the router is .20). eth1 is a publicly routeable
    IP. It used to be the only internet connection, but the leased line is
    going to be axed soon. This machine used to be the firewall for the
    network too, doing NAT with iptables, nothing fancy, as well as being
    the mail gateway for an exchange server in the network. Now it's just
    running postfix.

    So what happens is a connection comes in on eth1 from somewhere on the
    internet, and the box tries to reply via the default gateway, which is
    connected to a different ISP.

    I found this:
    http://linux-ip.net/html/adv-multi-internet.html
    which seems to be the answer to my problem, will try it out tomorrow
    when I have access to the building.

    Thanks

    -- 
    Hans du Plooy
    SagacIT (Pty) Ltd
    hansdp at sagacit dot com
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Adam Majer: "Re: HP 3325 Inkjet on Sarge"

    Relevant Pages

    • Re: VPN and remote gateway
      ... 317025, we could know that if you use local gateway, your internet connection will not be a problem, but, you could not access your ... remote network since there is no route between you computer and your remote company network. ...
      (microsoft.public.windows.server.sbs)
    • Re: Network connected but no IP address
      ... To make sure that the NIS firewall isn't blocking the gateway ??router??, open NIS and add the gateway ??router?? ... To minimize any conflicts while working to resolve this issue Uninstall Any/All devices listed in Device Manager> Network Adapters. ... Shut down and remove the wireless NIC. ... What components/protocols are listed as installed in the NIC connection properties? ...
      (microsoft.public.windowsxp.general)
    • Baffling DNS Problem
      ... Network Diagnostics for Windows XP also states a DNS problem in the log ... - internet connection works just fine when switched over to my MacBook ... Gateway Diagnostic ... Wireless Diagnostic ...
      (microsoft.public.windowsxp.network_web)
    • RE: Remote Access problems
      ... I have been unable to attempt changing the gateway as of yet. ... Over the PPP connection, Outlook connects to exchange fine, you can print, ... > Since the remote client uses a SBS VPN connection package, ... Click Start, click Control Panel, click Network and Internet ...
      (microsoft.public.windows.server.sbs)
    • Re: Internet Gateway
      ... the network services for gateway, and all seems back to normal (well, I then ... connection', and this was the only connection that was ever enabled. ... However, today there has appeared another connection, under Internet ...
      (microsoft.public.windowsxp.network_web)