From owner-freebsd-net@FreeBSD.ORG Mon Aug 13 08:51:57 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1654316A418 for ; Mon, 13 Aug 2007 08:51:57 +0000 (UTC) (envelope-from rana.rajneesh@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 1F29F13C442 for ; Mon, 13 Aug 2007 08:51:55 +0000 (UTC) (envelope-from rana.rajneesh@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1618156muf for ; Mon, 13 Aug 2007 01:51:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=BGaRXQnGRclQj3qvIwP3GWydGDEeydt6hco/6L/TmJTFum/qODen1FCiwvf0RBP4D0Y3N/qVvA6Zftu8KPE2ubGT3QL4rV5wGY3Z6a00br21KHRxZ4sCnSxrVZu6GPfshSG4A2oBgc1WHWmy60GFs4vlBZL/O8/7iXX9hw0D0aE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fUMR8SP/74HGHQ5bbv+Z7ajCo6Wfe6Uj7NlSGxOnJct8eLPA4FNvx7gj31xzi3uVkzs16jL6Ygim6HZ3xIIAD3LIosIsih/YgGf8QQItrIuz9NLtYpKVkXHkWnbFJ5+GXuvTcW86fHKWh7J8zXdpRw9dbKXOmFsEkaSQlyQW+Q8= Received: by 10.82.136.4 with SMTP id j4mr7632605bud.1186993458522; Mon, 13 Aug 2007 01:24:18 -0700 (PDT) Received: by 10.82.169.13 with HTTP; Mon, 13 Aug 2007 01:24:18 -0700 (PDT) Message-ID: <228b46650708130124w6c5f4adfqd727b52d41b23143@mail.gmail.com> Date: Mon, 13 Aug 2007 13:54:18 +0530 From: "rajneesh rana" To: freebsd-net@freebsd.org. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: tcp connection b/w two modules using tap devices. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 08:51:57 -0000 i am writing two modules on same machine which interacts with each other through tcp connection using two taps: tap1 tap2 with IP address of class C. Both taps are connected to bridge. Module1 opens a client tcp socket, bind that socket to tap1 and write to socket with destination IP of tap2. Module2 opens a server socket connection listening on IP address of tap2. Problem is connection is not getting established and i am getting error connection timeout.