Date: Fri, 17 Aug 2007 13:27:40 +0100 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: rajneesh rana <rana.rajneesh@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: routing local traffic w/o using loopback interface Message-ID: <46C5943C.6070000@FreeBSD.org> In-Reply-To: <228b46650708170059j3813f81sdd6974337d7ce4cb@mail.gmail.com> References: <228b46650708170059j3813f81sdd6974337d7ce4cb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
rajneesh rana wrote: > 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. > I am confused by your question because to the best of my knowledge the SO_BINDTODEVICE socket option does not exist in FreeBSD. > Is it possible two route traffic b/w two interfaces of same machine w/o > using loopback interface and kernel hacking. Yes, I use if_bridge for this on a daily basis. regards, BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C5943C.6070000>