问题
1.非路由器,linux环境的设备使用什么命令配stp
2.网桥的引入的回环如何分析处理
3.网桥与网卡级联
4.vlan
5.stp相关延时及网卡的trace查看
参考文档
https://dandelioncloud.cn/article/details/1555409034268594178 (brctl命令实现)
https://cloud.tencent.com/developer/article/1876117?from=15425&areaSource=102001.1&traceId=P6J_FCbR471XBAonA2-LZ (ubuntu上配置网桥) https://cloud.tencent.com/developer/article/1831829?from=15425&areaSource=102001.2&traceId=P6J_FCbR471XBAonA2-LZ
https://www.linuxprobe.com/debian-hua-setting.html (网桥配置)
https://www.lxlinux.net/1511.html (良许网桥配置)
https://www.dbs724.com/78684.html (stp实现方式)
https://www.bbsmax.com/A/obzbbYAQzE/ ()
https://www.bbsmax.com/A/obzbbYAQzE/
https://blog.csdn.net/Yu1543376365/article/details/82356488 (虚拟网卡)
https://it.cha138.com/nginx/show-174158.html (网桥相关的查看命令)
https://blog.csdn.net/qingdao666666/article/details/114132107 (网桥会将eth0网络设备退化为一个端口!!!!)
# ip addr add dev br1 192.168.31.66/24
#route add default gw 192.168.31.1 dev br1
https://www.cnblogs.com/morphling/p/3458546.html(网桥回环)
https://it.cha138.com/nginx/show-1247.html (网桥环境简单搭建)
https://blog.csdn.net/weixin_31110741/article/details/116875894 (stp源码解析)
网桥
与hub不同的是网桥会检查mac地址,不在当前端口的mac地址就过滤掉
STP最核心的作用是在一组拥有多个物理连接的网桥中,选择一条路径,把网络的多个物理路径链接起来形成一条逻辑路径,同时清除其它无用的逻辑路径,形成一棵多叉树。从实现STP有以下几种方式:
1. Linux系统自带的STP。只需在网桥上执行以下命令,就能开启系统自带的STP协议:
2. 使用STPd实现STP。STPd是一款开源软件,可用于Linux系统上的STP实现
root#> stp_config.sh #!/bin/bash # Create the bridge brctl addbr br0 brctl stp br0 on # Add interfaces to the bridge brctl addif br0 eth0 brctl addif br0 eth1 # Set bridge MAC address brctl setmac br0 AA:BB:CC:DD:EE:FF # Set STP parameters /usr/sbin/stpd -d -p br0 -b AA:BB:CC:DD:EE:FF -s 60 -h 20
标签:brctl,html,网桥,https,STP,com From: https://www.cnblogs.com/tiange-137/p/17332328.html