摘要: #!/bin/shset -x switch=br0 if [ -n " $1 " ]; then /usr/sbin/tunctl -t $1 /sbin/ip link set $1 up sleep 0.5s /usr/sbin/brctl addif $switch $1 exit 0els 阅读全文
posted @ 2018-06-19 10:59 6six 阅读(727) 评论(0) 推荐(0) 编辑
摘要: Steps to install Fedora-23 in VM image Target:on the VM image, we can make gcc32bit and gcc64bit build. Set up a bridge on host We need set up a bridg 阅读全文
posted @ 2018-06-15 10:16 6six 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Steps to set up bridge Target: set up a bridge on the interface which connect to internet. Then we can attach other devices to the bridge to connect t 阅读全文
posted @ 2018-06-15 10:13 6six 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1. 添加br0 命令:brctl addbr br0 2. 新建ifcfg-br0文件 命令:Touch ifcfg-br0 [root:network-scripts]# cat ifcfg-br0 TYPE=Bridge DEVICE=br0 ONBOOT=yes NM_CONTROLLED= 阅读全文
posted @ 2018-06-15 10:08 6six 阅读(94) 评论(0) 推荐(0) 编辑