Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Mar 2009 10:08:43 -0600
From:      Adam Vande More <amvandemore@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Bridging-(How to test and verify that bridging is enabled)
Message-ID:  <49AC048B.7000109@gmail.com>
In-Reply-To: <BLU149-W58CADD4A3EFC9060C0FC7B6A90@phx.gbl>
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> <BLU149-W184C647F07F59A0FEB0460B6A90@phx.gbl> <49ABECF1.9070900@gmail.com> <BLU149-W58CADD4A3EFC9060C0FC7B6A90@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Faizan ul haq Muhammad wrote:
>
> > >
> > > i noted that, following information is missing
> > > member: sk0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
> > > ifmaxaddr 0 port 1 priority 128 path cost 2000000
> > > member: sk1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
> > > 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!!!
> > >
> > > 
> <http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009>;
> > 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, but it did not. and here with these commands, 
> it is working.. I am able to get reply to ping
>
Make sure you got the full config in there adjusted to your settings:

cloned_interfaces="bridge0"
ifconfig_bridge0="addm fxp0 addm fxp1 up"
ifconfig_fxp0="up"
ifconfig_fxp1="up"

And that you've rebooted.  Assuming you've done those steps correctly, 
it should work.  Generally issue's like that are rooted in typo's and 
misconfigurations.  As your typo count gets incremented,  you will learn 
humility.  ;)  Least that's how it was for me.  Another good rule of 
thumb is if you're following the handbook and it's still doesn't work 
then you're not following the handbook.

Glad it works for you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49AC048B.7000109>