Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bridge with one port, log is full of strange messages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RomikB
n00b
n00b


Joined: 03 Aug 2024
Posts: 23

PostPosted: Sat Aug 03, 2024 12:40 pm    Post subject: Bridge with one port, log is full of strange messages Reply with quote

I migrate to Gentoo from another distrib and try to configure static network with one bridge on one port.
My /etc/conf.d/net is:
Code:
config_eth0="null"

bridge_forward_delay_br0=0
bridge_hello_time_br0=1000
bridge_stp_state_br0=1

bridge_br0="eth0"
config_br0="192.168.x.16/24 2a03:x::16/64"
routes_br0="default via 192.168.x.1
default via 2a03:x::1"
dns_servers_br0="192.168.x.7 192.168.x.1 2a03:x::7 2a03:x::1"
dns_search_br0="my.search.domain"

rc_net_br0_need="net.eth0"

The network is work without any visible issues but the syslog sometimes starting to fill up with "errors":
Code:
Aug 03 14:35:26 [kernel] [272986.554275] br0: port 1(eth0) received tcn bpdu
Aug 03 14:35:26 [kernel] [272986.554296] br0: topology change detected, propagating

The messages appear every 10 seccond and not disapper on reboot.

I do not find any issues with cable (router not detect any disconnects). I do not find any issues with ip4 or ip6 addres duplications.
On my previous distrib I have basicly the same config and have no issues.

How can I fix this?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2419

PostPosted: Sun Aug 04, 2024 12:30 pm    Post subject: Reply with quote

One user reports bad contact on one of the connectors and another has solved it this way:

https://forums.unraid.net/topic/40141-server-keeps-losing-connectivity/?do=findComment&comment=393406

Best Regards,
Georgi
Back to top
View user's profile Send private message
RomikB
n00b
n00b


Joined: 03 Aug 2024
Posts: 23

PostPosted: Sun Aug 04, 2024 1:35 pm    Post subject: Reply with quote

logrusx wrote:
One user reports bad contact on one of the connectors and another has solved it this way:

https://forums.unraid.net/topic/40141-server-keeps-losing-connectivity/?do=findComment&comment=393406

Best Regards,
Georgi


Thank you. I already found this solution but it didn't help. I already change the cable and my connection is stable.

Is any tools or configs can help me found the source of this filling log messages?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Sun Aug 04, 2024 1:38 pm    Post subject: Reply with quote

RomikB wrote:
Is any tools or configs can help me found the source of this filling log messages?

You could use wireshark and check from which network device you receive these tcn bpdu ... maybe you have more than one bridge in your network ... you know the loop problem ?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
RomikB
n00b
n00b


Joined: 03 Aug 2024
Posts: 23

PostPosted: Sun Aug 04, 2024 2:09 pm    Post subject: Reply with quote

pietinger wrote:
RomikB wrote:
Is any tools or configs can help me found the source of this filling log messages?

You could use wireshark and check from which network device you receive these tcn bpdu ... maybe you have more than one bridge in your network ... you know the loop problem ?

I don't know anything about "loop problem" can you give me a link?
My network is very simple:
-A gentoo pc with one port and one bridge. A pair of lxd containers connected to the bridge. All of them have static addresses.
-A router with dhcp.
-Some ethernet and wifi clients.
All of them share the same ip4/24 and ip6/64 subnet.
DHCP and Static addresses are different.
And any strange logs are only on gentoo pc :-(
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5104
Location: Bavaria

PostPosted: Sun Aug 04, 2024 2:25 pm    Post subject: Reply with quote

If your router is a small home router it usually has some ethernet ports (4 ? 8 ?) ... this is an integrated switch ... do you have an additional switch in your network ? If yes, how are they connected ?

Best is really to use wireshark because you can examine the packet and see the reason:
https://en.wikipedia.org/wiki/Spanning_Tree_Protocol#Bridge_protocol_data_units
https://networklessons.com/spanning-tree/spanning-tree-topology-change-notification-tcn
( https://forum.huawei.com/enterprise/en/hybrid-sep-rrpp-ring-networking/thread/667270856499412992-667213852955258880 )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum