Bridging-(How to test and verify that bridging is enabled)
Adam Vande More
amvandemore at gmail.com
Mon Mar 2 08:09:14 PST 2009
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.
More information about the freebsd-questions
mailing list