Re: IP routing with remote DNS, but server & client on same subnet - how?



Now, what I'm wondering is this: When I am physically on my home
network, on one of my WinXP clients and I browse to www.mydomain.net,
is the Linksys router, or Apache (or both) smart enough to say "wait a
minute -- the domain and client are on the same subnet, so let me just
route the packets completely within the 192. domain" (?)

Yes and no.

I'm asking this because when I am on my home network I'd rather not
have HTTP being served out through my ISP's network, and back to me.
It would be much more efficient if that traffic just stayed on my
private network.

Rest assured that it will not go out to your ISP.

There are 2 possibilities:
1 - it won't work because the port remapping is only applied to packets
coming in from outside rather than from the local network.
This can happen depending on the details of how the port-forwarding
is done.
2 - it will work and the packets will go from the client to the router, then
to the server and the reply will go from the server to the router back
to the client.

I.e. it all goes through the router, but not through the cable modem.


Stefan
.



Relevant Pages

  • Re: Weird net connection problem
    ... across the Internet) to throttle or not the traffic). ... Depends how many packets in your connection are lost. ... you connect to some ISP via a router (not a home ADSL one, I should add, ... be advertising to the rest of the Internet, the address of your network, ...
    (uk.comp.sys.mac)
  • Re: Strange networking problems after update 5.2.1->5.3
    ... I cannot ping it even from a host connected to the same ... My network at home is somewhat simpler (192.168.1.0/24 is local, ... is another notebook that is acting as NAT and default router). ... not even the obviously outgoing ping packets. ...
    (freebsd-stable)
  • 2000 Server Login Woes
    ... and several XP Pro clients which each have two mapped network drives. ... I have deployed this router in home and office environments before. ... However, whenever I set it up, every XP client will hang trying to ... Two NICs, one NVidia integrated, one 3Com. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Nmap questions concering my router
    ... It's a bit off topic - but down at the Ethernet level, the packets are ... so your router masquerades for you. ... it may differ from other applications - we just send data to a network ... >> the Ethernet header is the MAC address of the 10.0.0.138 interface. ...
    (comp.security.firewalls)
  • Re: Awful performance and millions of packets transferred
    ... I ran the same test on a separate network and found ... >that normally around 4000 packets were transferred for that perticular ... >The PC, switches, routers and the server were all checked for network ... The client was passing requests to the server and the ...
    (comp.databases.ms-access)