Date: Mon, 2 Mar 2009 14:21:17 +0000 From: Faizan ul haq Muhammad <faizi62@hotmail.com> To: <amvandemore@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: RE: Bridging-(How to test and verify that bridging is enabled) Message-ID: <BLU149-W184C647F07F59A0FEB0460B6A90@phx.gbl> In-Reply-To: <49ABE795.1070306@gmail.com> References: <BLU149-W30AA22383B41E0B5F3E951B6A90@phx.gbl> <200903020828.n228SAN7080657@banyan.cs.ait.ac.th> <BLU149-W4004210FC05DBF9A1D024B6A90@phx.gbl> <200903020935.n229ZXXo090477@banyan.cs.ait.ac.th> <BLU149-W39D17E34A52D39B08A8503B6A90@phx.gbl> <49ABE3B8.1010801@gmail.com> <BLU149-W811D1335B14B340BA3738DB6A90@phx.gbl> <49ABE795.1070306@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 enabled) >=20 > 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 enable= d) > > > > > > 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=20 > > freebsd-questions@freebsd.org=3B fbsd1@a1poweruser.com > > > >> Subject: Re: Bridging-(How to test and verify that bridging is=20 > > enabled) > > > >> > > > >> Hi=2C > > > >> > > > >> > > > >>>> 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 Free= BSD > > > >> bridge and each of your Linux boxes. > > > >> > > > > Frankly i am not sure about the cables type but they works PC to=20 > > PC connectivity. > > > > > > > >> As someone suggested=2C what is ifconfig saying on the FreeBSD box= ? You > > > >> should see that both sk0 and sk1 have a status: active. Else it me= ans > > > >> you have a cable problem. > > > >> > > > > > > > > sk0: flags=3D8943<UP=2CBROADCAST=2CRUNNING=2CPROMISC=2CSIMPLEX=2CMU= LTICAST>=20 > > metric 0 mtu 1500 > > > > > > > > options=3Db<RXCSUM=2C TXCSUM=2C VLAN_MTU > > > > ether 00:0a:5e:1a:69:25 > > > > media: Ethernet autoselect (1000baseTX <full-duplex=2C flag0=2C fla= g1=2C=20 > > flag2>) > > > > status: active > > > > > > > > > > > > > > > > > > > > > > > > sk1: flags=3D8943<UP=2CBROADCAST=2CRUNNING=2CPROMISC=2CSIMPLEX=2CMU= LTICAST>=20 > > metric 0 mtu 1500 > > > > > > > > options=3Db<RXCSUM=2C TXCSUM=2C VLAN_MTU > > > > ether 00:0a:5e:1a:67:ee > > > > media: Ethernet autoselect (1000baseTX <full-duplex=2C flag0=2C fla= g1=2C=20 > > flag2>) > > > > status: active > > > > > > > > > > > > > > > > here is the ifconfig output for the bridge interface: > > > > > > > > bridge0: flags=3D8943<UP=2CBROADCAST=2CRUNNING=2CSIMPLEX=2CMULTICAS= T> metric=20 > > 0 mtu 1500 > > > > > > > > options=3Db<RXCSUM=2C TXCSUM=2C VLAN_MTU > > > > 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 add=20 > > them? > > > > ifconfig bridge0 addm sk0 addm sk1 up > > ifconfig sk0 up > > ifconfig sk1 up > > > > this configuration exists in rc.conf > > > > =20 > if ifconfig doesn't print out something like this: >=20 > bridge0: flags=3D8843<UP=2CBROADCAST=2CRUNNING=2CSIMPLEX=2CMULTICAST> met= ric 0 mtu=20 > 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<LEARNING=2CDISCOVER=2CAUTOEDGE=2CAUTOPTP>= =20 > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > member: sk1 flags=3D143<LEARNING=2CDISCOVER=2CAUTOEDGE=2CAUTOPTP> > ifmaxaddr 0 port 2 priority 128 path cost 200000 >=20 > Then you need to add the member interfaces. i noted that=2C following information is missing member: sk0 flags=3D143<LEARNING=2CDISCOVER=2CAUTOEDGE=2CAUTOPTP> =20 ifmaxaddr 0 port 1 priority 128 path cost 2000000 member: sk1 flags=3D143<LEARNING=2CDISCOVER=2CAUTOEDGE=2CAUTOPTP> 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!!! > _______________________________________________ > 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: Life without walls. http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_allup_1a_explore_032009=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU149-W184C647F07F59A0FEB0460B6A90>