Re: How to looparound and not loopback?



On Mar 19, 11:38 pm, kurt <k...@xxxxxxxxxxxxxxxxx> wrote:
mar...@xxxxxxxxxxx wrote:
Suppose you have two network cards on the same PC
and connect them to a Linksys router 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, the table route seem to force a loopback,
i.e. it knows 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?

That's not the way it works. You'd be trying to implement the TCP/IP
protocol in a way it wasn't intended. If you want to route between, you

How it should work or how it was intended have nothing to do with
anything.
You possibly do not believe that any protocol, esp. a popular protocol
like
TCP/IP was developed (i.e. thousands of ideas tested thousands of
times by thousands of people) by networking physical computers. Then
take the applications that use such protocols. All such testing
requires
looparounds, loopbacks, and many tricks of the trade that do not have
anything to do with the intent of the protocols or applications.

.



Relevant Pages

  • RE: VPN to SBS through Comcast router
    ... The only thing I can find is to open TCP/UDP port 47 ... "What's GRE?". ... >> workaround for the hardware router which is not supporting PPTP connection. ... GRE is a client protocol of IP ...
    (microsoft.public.windows.server.sbs)
  • Re: What provides default router via DHCP?
    ... >> same thing can be done better using RIP. ... I'd also note that IPv6 has a similar router discovery mechanism. ... protocol and without substantial changes. ... if you run DHCP as a client on Solaris and the DHCP ...
    (comp.unix.admin)
  • Re: Problem in connectivity with ISP
    ... If you change channels on your router, are you using a wireless NIC? ... NIC protocols (except for Internet Protocol (TCP/IP) and reinstalled ...
    (microsoft.public.windowsxp.help_and_support)
  • 2503/WS-1103 intermittant ping
    ... I installed a 2503/WS-1103 which is a catalyst 3200 with a router ... blade installed on my network. ... BRI0 is administratively down, line protocol is down ... IP fast switching on the same interface is disabled ...
    (comp.dcom.sys.cisco)
  • 500 Networking Interview questions for routers , firewall , VPN and lot
    ... Can you explain IP protocol? ... On what layers do router, switched, bridges and hubs operate? ... Can you explain how in detail how routing table looks like? ... How can you see route tables on the router? ...
    (microsoft.public.windowsxp.network_web)