Re: How to looparound and not loopback?
- From: "maruk2@xxxxxxxxxxx" <maruk2@xxxxxxxxxxx>
- Date: 19 Mar 2007 21:40:41 -0700
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.
.
- Follow-Ups:
- Re: How to looparound and not loopback?
- From: Floyd L. Davidson
- Re: How to looparound and not loopback?
- References:
- How to looparound and not loopback?
- From: maruk2@xxxxxxxxxxx
- Re: How to looparound and not loopback?
- From: kurt
- How to looparound and not loopback?
- Prev by Date: Re: Unmounting NFS directory when it is not available
- Next by Date: flushing a socket buffer
- Previous by thread: Re: How to looparound and not loopback?
- Next by thread: Re: How to looparound and not loopback?
- Index(es):
Relevant Pages
|