From owner-freebsd-net@FreeBSD.ORG Mon Mar 13 18:51:54 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F4E016A401 for ; Mon, 13 Mar 2006 18:51:54 +0000 (UTC) (envelope-from list@talha.com) Received: from dione.webserversystems.com (dione.webserversystems.com [216.118.97.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC27343D48 for ; Mon, 13 Mar 2006 18:51:53 +0000 (GMT) (envelope-from list@talha.com) Received: from talha by dione.webserversystems.com with local (Exim 4.52) id 1FIs92-0006Gp-28 for freebsd-net@freebsd.org; Mon, 13 Mar 2006 13:51:52 -0500 To: freebsd-net@freebsd.org MIME-Version: 1.0 Date: Mon, 13 Mar 2006 13:51:52 -0500 From: sheeda In-Reply-To: 88e4c6d9ae3b630849eaef06bfb8fb0b@talha.com Message-ID: <0be9859c231bc10fb899957a22c72dc2@talha.com> X-Sender: list@talha.com User-Agent: RoundCube Webmail/0.1-20051021 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - dione.webserversystems.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [33056 500] / [47 12] X-AntiAbuse: Sender Address Domain - talha.com X-Source: /usr/bin/php X-Source-Args: /usr/bin/php index.php X-Source-Dir: talha.com:/public_html/mail Subject: Re: netgraph issue 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 Mar 2006 18:51:54 -0000 sorry for the typo, the freebsd version is release 6.0 sheeda On Mon, 13 Mar 2006 11:33:25 -0500, sheeda wrote: > > hello everyone, > > i am new to netgraph and have been experimenting with few very basic > configurations and facing some issues. > > i have got 2 machines, A & C, connected via third machine B with dual > nics, with everything in same subnet. > > A <-----> B <-----> C > > i have used the bridge script in /usr/share/examples/netgraph and i am > successfully able to ping between A and C. > > i did some experiments and getting weird results: > > 1. i cleaned up the tee node and compiled a pipe node by removing the > lefttoright and righttoleft hooks. once i load the ng_pipe.ko module and > place it between the two ether nodes on lower hooks, i can't ping between > A and C. i even switched the 2 interfaces to promisc mode and disabled the > mac auto source thing through the msg command. > > (lnc0)-----(pipe)-----(lnc1) > > the ping strangely starts working if i start and stop the bridge script > and then connect my pipe node, even after unloading the ng_bridge module. > > 2. i suspected some issue with my pipe netgraph node, therefore connected > the two ether nodes directly via lower hooks and had the same issue. the A > & C starts communicating again once i start and stop the bridge script and > then connect the lower hooks and set the promisious modes. > > (lnc0)----------------(lnc1) > lower > > all my 3 machines are freebsd release 3 in vmware. i have even tried > setting up the static arps on A and C but it makes no difference. > > another interesting thing i found was that if i shutdown my pipe node, the > two ether nodes connect directly on lower hooks and the ping continues to > work. > > please let me know if this is all the default behaviour or if i am missing > something. > > thanks to everyone for their help in advance. > > regards, > > sheeda > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"