From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 14:39:12 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 6DF7C106566C for ; Mon, 2 Mar 2009 14:39:12 +0000 (UTC) (envelope-from faizi62@hotmail.com) Received: from blu0-omc2-s34.blu0.hotmail.com (blu0-omc2-s34.blu0.hotmail.com [65.55.111.109]) by mx1.freebsd.org (Postfix) with ESMTP id 2B2118FC1D for ; Mon, 2 Mar 2009 14:39:11 +0000 (UTC) (envelope-from faizi62@hotmail.com) Received: from BLU149-W5 ([65.55.111.73]) by blu0-omc2-s34.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 2 Mar 2009 06:39:11 -0800 Message-ID: X-Originating-IP: [194.237.142.21] From: Faizan ul haq Muhammad To: Date: Mon, 2 Mar 2009 14:39:11 +0000 Importance: Normal In-Reply-To: <49ABECF1.9070900@gmail.com> References: <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <49ABE3B8.1010801@gmail.com> <49ABE795.1070306@gmail.com> <49ABECF1.9070900@gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 02 Mar 2009 14:39:11.0066 (UTC) FILETIME=[A68623A0:01C99B44] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions 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 14:39:12 -0000 > Date: Mon=2C 2 Mar 2009 08:28:01 -0600 > From: amvandemore@gmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Bridging-(How to test and verify that bridging is enabled) >=20 > Faizan ul haq Muhammad wrote: > > > > > > > > > > > Date: Mon=2C 2 Mar 2009 08:05:09 -0600 > > > From: amvandemore@gmail.com > > > CC: freebsd-questions@freebsd.org > > > Subject: Re: Bridging-(How to test and verify that bridging is enable= d) > > > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > > Date: Mon=2C 2 Mar 2009 07:48:40 -0600 > > > > > From: amvandemore@gmail.com > > > > > CC: freebsd-questions@freebsd.org > > > > > Subject: Re: Bridging-(How to test and verify that bridging is=20 > > enabled) > > > > > > > > > > Faizan ul haq Muhammad wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Mon=2C 2 Mar 2009 16:35:33 +0700 > > > > > >> From: on@cs.ait.ac.th > > > > > >> To: faizi62@hotmail.com > > > > > >> CC: fbsd.questions@rachie.is-a-geek.net=3B > > > > freebsd-questions@freebsd.org=3B fbsd1@a1poweruser.com > > > > > >> Subject: Re: Bridging-(How to test and verify that bridging is > > > > enabled) > > > > > >> > > > > > >> Hi=2C > > > > > >> > > > > > >> > > > > > >>>> Are you using properly crossed cables? > > > > > >>>> > > > > > >>> Isnt it enough check for the that two linux can ping each=20 > > other.. > > > > > >>> > > > > > >> Yes and no. You must used crossed Ethernet cable between your= =20 > > FreeBSD > > > > > >> bridge and each of your Linux boxes. > > > > > >> > > > > > > Frankly i am not sure about the cables type but they works PC t= o > > > > PC connectivity. > > > > > > > > > > > >> As someone suggested=2C what is ifconfig saying on the FreeBSD= =20 > > box? You > > > > > >> should see that both sk0 and sk1 have a status: active. Else=20 > > it means > > > > > >> you have a cable problem. > > > > > >> > > > > > > > > > > > > sk0: flags=3D8943 > > > > metric 0 mtu 1500 > > > > > > > > > > > > options=3Db > > > > > ether 00:0a:5e:1a:69:25 > > > > > > media: Ethernet autoselect (1000baseTX > flag1=2C > > > > flag2>) > > > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sk1: flags=3D8943 > > > > metric 0 mtu 1500 > > > > > > > > > > > > options=3Db > > > > > ether 00:0a:5e:1a:67:ee > > > > > > media: Ethernet autoselect (1000baseTX > flag1=2C > > > > flag2>) > > > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > here is the ifconfig output for the bridge interface: > > > > > > > > > > > > bridge0: flags=3D8943=20 > > metric > > > > 0 mtu 1500 > > > > > > > > > > > > options=3Db > > > > > ether 0a:54:d7:7e:aa:66 > > > > > > > > > > > > inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 > > > > > > > > > > > > id 00:00:00:00:00:00 priortiy 32768 hellotime 2 fwddelay 15 > > > > > > > > > > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > > > > > > > > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > > > > > > > > > I think ifconfig bridge0 should list member interfaces. Did you a= dd > > > > them? > > > > > > > > ifconfig bridge0 addm sk0 addm sk1 up > > > > ifconfig sk0 up > > > > ifconfig sk1 up > > > > > > > > this configuration exists in rc.conf > > > > > > > > > > > if ifconfig doesn't print out something like this: > > > > > > bridge0: flags=3D8843= metric 0=20 > > mtu > > > 1500 > > > ether 4a:be:26:65:75:06 > > > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > > > maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 > > > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > > > member: sk0 flags=3D143 > > > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > > > member: sk1 flags=3D143 > > > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > > > > > Then you need to add the member interfaces. > > > > i noted that=2C following information is missing > > member: sk0 flags=3D143 > > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > > member: sk1 flags=3D143 > > ifmaxaddr 0 port 2 priority 128 path cost 200000 > > > > Now i need to know how to add the interfaces..? > > Any command do u knw and can help me..? > > > > Regards!!! > > > > > ifconfig bridge0 addm sk0 addm sk1 up > ifconfig sk0 up > ifconfig sk1 up Thanks a lot dear.. it worked. but i m still confused that i have the alternative configuration= in rc.conf as per guideline here on this page: http://www.freebsd.org/doc/en/books/handbook/network-bridging.html it should have worked=2C but it did not. and here with these commands=2C it= is working.. I am able to get reply to ping Thanks a lot /Faizan >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe=2C send any mail to "freebsd-questions-unsubscribe@freebsd= .org" _________________________________________________________________ Windows Live=99 Contacts: Organize your contact list.=20 http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-= cns!503D1D86EBB2B53C!2285.entry?ocid=3DTXT_TAGLM_WL_UGC_Contacts_032009=