Re: How to force looparound and not loopback?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



OTOH be aware that only one IP ( adapter ) used to send data to destination
( in the case of remote IP ) and that with lowest metric ( high priority )
in the route table
Arkady

"Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
news:etwzRrxaHHA.4552@xxxxxxxxxxxxxxxxxxxxxxx
That's not possible - routing is not even involved. The
TCP/IP stack detects that the target address is local and
automatically uses the loopback adapter. It never needs
to check the routing table.

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================

<maruk2@xxxxxxxxxxx> wrote in message
news:1174350691.771684.226390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Suppose you have two network cards on the same PC (with Vista)
and connect them to a Linksys router. The connections are set up
with "Obtain an IP address automatically" and the router assigns
192.168.1.100 and 192.168.1.101

I want to test a UDP code that sends to one of these IP addresses
through the router.

However, winsock and the table route seem to force a loopback,
i.e. they know that the destination IP address is on the same PC so
the router is never reached.

I want to force a looparound, where datagrams destined for IP2 go out
on IP1 card to the router, and back on card IP2, obviously making sure
they do not go out again on IP1 in a loop but to the receiving code.

Is making changes to the route table the only solution? How?





.



Relevant Pages

  • Re: Windows 2k arp table problem
    ... >When a Cisco router has the best route to some ... >destination, in can proxy-arp for that destination, that is, reply ... a 192.168.2.x host sending a packet to the wrong router will ... >>the gateway since we are not allow every user has the internet access rights. ...
    (microsoft.public.win2000.networking)
  • Dial up connection stops working, disconnecting leaves ghost adapter
    ... I'm having this problem on a Windows XP Pro 'router' running WinGate ... a route delete * or a route delete 203*) remains on disconnection. ... Here is an example of a route print before my connection dies. ... Here is an example after I reconnect showing the ghost adapter: ...
    (microsoft.public.windowsxp.network_web)
  • Re: Q: multi-homed server with multiple default routers
    ... Instead only the destination address and routing table are used ... to determine the interface and hardware destination. ... A "default" router is one used when no other router matches.. ... Install IP filter and have it route based on packet content. ...
    (comp.unix.solaris)
  • Re: [fw-wiz] Rationale for BSD (I)PF rule order?
    ... > a router cares only about the destination IP address. ... the traffic to the destination via any valid working route, ... I'm a router, I really don't care all that much which way things go, so ...
    (Firewall-Wizards)
  • Re: VPN routing with W2K RRAS
    ... without a static route on each router the traffic will not be able to reach its destination. ... A route on the corporate RRAS server is required for return traffic to reach its destination. ...
    (microsoft.public.win2000.ras_routing)