routing local traffic w/o using loopback interface

rajneesh rana rana.rajneesh at gmail.com
Fri Aug 17 01:00:01 PDT 2007


hello all,

i am opening up two tap interfaces, both connected to bridge, assigning them
IP addresses and want to open up tcp connection b/w them without using
loopback interface, so i bind client socket to first tap using
SO_BINDTODEVICE option and socket server listening on other tap device.
The problem is that when i m calling connect, it is giving timeout error.

Is it possible two route traffic b/w two interfaces of same machine w/o
using loopback interface and kernel hacking.

thanx


More information about the freebsd-net mailing list