On Sat, Dec 23, 2006 at 02:55:45AM +0800, Edy wrote:
> Issue resolved!
> 
> It seems like in 4.0 current you are not allowed to have hellotime 
> parameter in /etc/bridgename.bridge0
> 
> by removing that sentence from the file stops the error message.
> 
> Cheers,
> Edy
> 

thanks for the hint, i will add a note to the brconfig(8) manpage:

the hellotime can only be changed in STP mode but the bridge has been
changed to use RSTP mode by default in -current.

try "brconfig bridge0 proto stp" to enable STP-only mode.

> Edy wrote:
> >Hi
> >
> >I am trying to execute the following command from CLI (as root user)
> >
> >brconfig bridge0 add fxp0 add fxp1 stp fxp0 stp fxp1 hellotime 2 
> >maxage 20 fwdelay 15 up
> >
> >but it says the following
> >
> >brconfig: bridge0: Operation not permitted
> >
> >After that I executed brconfig bridge0 and it shows that bridge is up??!!
> >
> >shu:/root# brconfig bridge0
> >bridge0: flags=0<>
> >       priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 
> >proto rstp
> >       designated: id 00:03:47:08:a3:66 priority 32768
> >       fxp1 flags=ab<LEARNING,DISCOVER,STP,AUTOEDGE,AUTOP2P>
> >               port 2 ifpriority 128 ifcost 200000 discarding role 
> >designated
> >       fxp0 flags=ab<LEARNING,DISCOVER,STP,AUTOEDGE,AUTOP2P>
> >               port 1 ifpriority 128 ifcost 200000 discarding role 
> >designated
> >       Addresses (max cache: 100, timeout: 240):
> >
> >any idea?
> >
> >Thanks,
> >edy

Reply via email to