brctl

来源:互联网 发布:网络云音乐 编辑:程序博客网 时间:2024/04/29 16:50

 brctl: 用于建立桥设备的工具

 

配置举例:

        机器上两块网卡:eth0, eth1

        brctl 配置命令如下:

 

                 brctl     addbr        testbr

                 brctl     addif         testbr      eth0

                 brctl     addif         testbr      eth1

                 ifconfig testbr up

                     

原创粉丝点击