Route breaks firewall's local access

From: AcCeSsDeNiEd (dillon_at_SpamMinuSaccessdenied.darktech.org)
Date: 08/31/04


Date: Tue, 31 Aug 2004 10:58:13 +0800

I have 2 gateways/systems setup:

Gateway A:
eth0= 10.10.1.1
eth1= 10.30.1.15

Gateway B:
eth0=10.30.1.1

I have set up a static route that says if the 10.10.1.0 network wants to reach the
10.30.1.0 network, use the 10.30.1.1 gateway. This works, both the network's users
(10.10.1<->10.30.1) can reach each other.

However, this breaks Gateway A's local access to the 10.30.1.0 network.
I suppose it's because locally on A, the packets get routed via 10.30.1.1.
When it reaches B, B detects that it's a local IP (10.30.1.15) and sends it back directly to
10.30.1.15
(as opposed to 10.30.1.1).

I hope I've explained properly.

Any ideas/help?

How can I tell A not to use 10.30.1.1 if wants to locally access 10.30.1.0?

Thanks.

To e-mail, remove the obvious



Relevant Pages

  • Re: [SLE] connection redundancy
    ... which is the router just this side of the ... >>because it's own gateway is still up. ... You'll also need three network cards to put into this Linux box. ... your internal LAN can route packets to the Internet. ...
    (SuSE)
  • Re: Cant access secure Web pages
    ... and which need to be contacted via the Default Gateway. ... The Default Gateway being the software process that does the network ... Gateway (as set up by your ISP's DHCP packet to the router), ... me so I can send it directly (to the MAC address discovered by ARP). ...
    (uk.comp.sys.mac)
  • Re: Problem with Cable Moden & Router.
    ... gateway is the way in or out. ... a gateway leads to another network. ... Where two routes with different network masks overlap ...
    (comp.os.linux.misc)
  • Re: [9fans] Do we have a catalog of 9P servers?
    ... experience with plan 9 to comment with any sort of authority. ... redundant resources on the gateway. ... gateway and the host on the internal network. ... "Whoa, here comes a network, we're going to need some more syscalls!" ...
    (comp.os.plan9)
  • Re: Dual NICs, Routing Problem
    ... There can only be one default gateway (unless you are using extra stuff as ... network that is NOT directly attached to one of your interfaces. ... >> Do all the hosts on 192.1.36.0 know that if they want to talk to any host on ... Here, the web server needs to know the IP of eth0 on the DataBase Server, ...
    (alt.os.linux.suse)