From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 09:35:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95428106564A for ; Mon, 2 Mar 2009 09:35:46 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 1A78A8FC22 for ; Mon, 2 Mar 2009 09:35:45 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id n229WeSx076936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Mar 2009 16:32:40 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id n229ZXXo090477; Mon, 2 Mar 2009 16:35:33 +0700 (ICT) Date: Mon, 2 Mar 2009 16:35:33 +0700 (ICT) Message-Id: <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> From: Olivier Nicole To: faizi62@hotmail.com In-reply-to: (message from Faizan ul haq Muhammad on Mon, 2 Mar 2009 09:08:36 +0000) References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: fbsd.questions@rachie.is-a-geek.net, fbsd1@a1poweruser.com, freebsd-questions@freebsd.org Subject: Re: Bridging-(How to test and verify that bridging is enabled) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 09:35:46 -0000 Hi, > > Are you using properly crossed cables? > Isnt it enough check for the that two linux can ping each other.. Yes and no. You must used crossed Ethernet cable between your FreeBSD bridge and each of your Linux boxes. As someone suggested, what is ifconfig saying on the FreeBSD box? You should see that both sk0 and sk1 have a status: active. Else it means you have a cable problem. An example of ifconfig for a bridge (FreeBSD 4.xx): fxp0: flags=89c3 mtu 1500 ether 00:07:e9:xx:xx:xx media: Ethernet autoselect (100baseTX ) status: active fxp1: flags=89c3 mtu 1500 ether 00:07:e9:yy:yy:yy media: Ethernet autoselect (100baseTX ) status: active Once you make sure that both interfaces on your FreeBSD box are up and running, you can procced to the next step: > > On the FreeBSD box=2C you can tcpdump(8) and see the packets moving: > > tcpdump -i sk0 and tcpdump -i sk1 and you will see the pick request > > and ping echo packets. > it says arp: who has 192.168.0.4 tell 192.168.0.5 You'd need to give more information about your connection; something like: Linux 192.168.0.4 <---> sk0 FreeBSD sk1 <---> Linux 192.168.0.5 And you should also specify if ou where tcpdump'ing on interface sk0 or sk1. Once your bridge is working, you will get the same thing for tcpdump on both interfaces. Olivier