Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: create/destroy causes all domu to briefly loose network (SOLVED)



> cirr%sdf.org@localhost writes:
>
>>> On Tue, Apr 06, 2021 at 07:57:32AM -0700, Stephen M. Jones wrote:
>>>> I've noticed in that there is a brief (about 30 second) outage across
>>>> all
>>>> domu when one of the domu is created or destroyed.  This occurs even
>>>> when the
>>>> domu being created or destroyed is not on the network.
>>>>
>>>> What is the cause of this and is there any work around to this
>>>> behavior?
>>>> If not, is create / destroy only to be used sparingly to not affect
>>>> all
>>>> other hosts?
>>>
>>> I don't have this problem. it looks like some spanning tree issue;
>>> do you have STP enabled on the bridge ? Could the physical interface be
>>> doing a reset ?
>>
>> ifconfig.bridge0 looks like this:
>>
>> create
>> !brconfig $int -learn wm0 static wm0 00:30:48:bf:91:c6
>> !brconfig $int -discover wm0
>> !brconfig $int add wm0 stp wm0 up
>> !brconfig $int ipf
>>
>> as well as in rc.local I have:
>>
>> /sbin/ifconfig tap0 create
>> /sbin/ifconfig tap0 205.166.94.45 up
>> /sbin/brconfig bridge0 add tap0 stp tap0 up
>>
>> So, yes stp is enabled.  Should both of these lines then be removed
>> or should they should be changed to something else?
>
>
>
> I am pretty sure you want to leave the "wm0 stp" and "tap0 stp" parts
> out of those lines.  The rest will be needed I believe.

That solved it.  The stp arguments had been in the configuration of the
DOM0 since NetBSD 7.x/Xen3 and likely was implemented that way using this
page as guidance:

https://wiki.netbsd.org/tutorials/how_to_set_up_a_guest_os_using_xen3/

Thank you!




Home | Main Index | Thread Index | Old Index