Re: How to *ENABLE* icmp redirect on windows xp workstation ?




"Zealot" <Zealot0630@xxxxxxxxx> wrote in message news:2f1daac0-621c-420f-8737-e0c7254fd2fd@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On May 22, 9:54 am, "Ace Fekay [MVP]" <PleaseAs...@xxxxxxxxxxxxxx>
wrote:
Innews:7394304a-c24f-47c9-af41-98f63b72524c@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
Zealot <Zealot0...@xxxxxxxxx> typed:





> Thanks for your reply.

> I have tested on Windows XP SP2. It doesn't work. But on linux box, it
> works

> There are 2 gateways in my innernet. One for internet, the other for
> innernet.
> I'm using DHCP on the LAN and point default gateway to the internat
> gateway,
> and the internet gateway forward the packet to innernet gateway. but
> there
> are some application which requires low latency and high bindwidth
> need to
> access the service on the other LAN of innernet. It is very hard to
> install
> route entry on every mechine in the LAN.

I'm not completely following your explanation in relation to the need of
ICMP redirects. I'm trying to follow and understand the differences between
"innernet" and "intranat" as you described it.

From the looks of things, it sounds like a static route configured in your
default gateway router pointing to the "innernet," which I assume you mean
that is a separate subnet on your INTRANET (inside private network) may just
do the trick. If the app is on a server on that subnet, and the server is
defined in DNS or WINS with a private IP on that subnet, a static route will
"redirect" (or simply send) the packet to that other router. Have you tried
that?

Ace- Hide quoted text -

- Show quoted text -

Yes, I already set up a static routing entry on the default gateway
pointing to the innernet gateway, but it takes an unnecessary hop from
default gateway to innernet gateway. I want the packet go directly to
the innernet gateway or there will be bandwidth and latency problems.
Set up a static routing entry on every machine can solve this problem,
but as I mentioned, a lot of work will be taken to set up a static
routing entry on every machine in the LAN. So I'm considering ICMP
redirect as a simple solution.

Ok. You have the static route in place and the traffic is being redirected.
You also have ICMPRedirect enabled on the workstation.
Are you saying that the static route is not being added to the workstation's routing table?

When the router redirects the packet, it will also send an ICMP redirect message to the workstation. If EnableICMPRedirect is set the route should be added to the routing table of the workstation, so that next time it needs to access the intranet subnet it will have a route to access it by the alternate gateway.

Have you checked the routing table on the workstation soon after a redirect to see if the route is there? The route is not persistent. It will disappear after a while if it is not used (about ten minutes, i think).

If you want a persistent route you will need to add it to each workstation as a persistent static route.

.



Relevant Pages

  • Re: Routing and Remote access
    ... You can send traffic for a particular site through a particular gateway ... A static route takes priority over a default route. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Routing question
    ... can the default gateway contain a static route to another ... internal host of the same LAN that will be the real gateway for that route? ...
    (comp.os.linux.networking)
  • Re: Connection issue
    ... You say that it will work by adding a static route to a particular ... segment if you add the route to the router which is their default gateway. ... > b) could even ping them.They access data fine now. ...
    (microsoft.public.windows.server.networking)
  • Re: Why this default route doesnt work ?
    ... We had this discussion here and folks told me that the default route should ... gateway to go. ... >> If the network ID is correct but the mask is wrong, ... >> you can use a static route with the host IP and a full mask: ...
    (microsoft.public.win2000.networking)
  • Re: VPN and remote gateway
    ... > It seems you use the wrong route add command. ... > when the VPN connection is established. ... > | using the remote network as my gateway. ...
    (microsoft.public.windows.server.sbs)