eth0
and eth1
, bonded interface is named as bond0
, VLAN over bond is named as bond0.402
and a bridge over this VLAN is named as br0
./etc/sysconfig/network-scripts/ifcfg-eth0 ----------------------------------------- DEVICE=eth0 ONBOOT=yes NM_CONTROLLED=no MASTER=bond0 SLAVE=yes HWADDR=XX:XX:XX:XX:XX:XX BOOTPROTO=none USERCTL=no /etc/sysconfig/network-scripts/ifcfg-eth1 ----------------------------------------- DEVICE=eth1 ONBOOT=yes NM_CONTROLLED=no MASTER=bond0 SLAVE=yes HWADDR=XX:XX:XX:XX:XX:XX BOOTPROTO=none USERCTL=no /etc/sysconfig/network-scripts/ifcfg-bond0 ----------------------------------------- DEVICE=bonde0 ONBOOT=yes NM_CONTROLLED=no USERCTL=no BOOTPROTO=none BONDING_OPTS="mode=1 miimon=100" /etc/sysconfig/network-scripts/ifcfg-bond0.402 ---------------------------------------------- DEVICE=bond0.402 ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=none VLAN=yes BRIDGE=br0 /etc/sysconfig/network-scripts/ifcfg-br0 ---------------------------------------- DEVICE=br0 TYPE=Bridge BOOTPROTO=static ONBOOT=yes NM_CONTROLLED=no IPADDR=X.X.X.X NETMASK=X.X.X.X GATEWAY=X.X.X.X
/etc/modprobe.conf
so as to load module.alias bond0 bonding
NOTE: RHEL6 does not need above step.
service network restart
http://xxxxxx/Linuxjc/1183946.html TechArticle
交叉編譯總結 libosscore.a libcurl.a libmysqlclient.a
Java中a=a+b 與 a+=b區別 以及和類型轉換的關系
Configure a VLAN (on top of a bond) with NetworkManager (nmcli) in RHEL7,nmclibond
Create a bridge using a tagged vlan (8021.q) interface,tagged8021.q
Configure a bridged network interface for KVM,bridgedkvm
How do I set up VLAN (802.1q) tagging on a network interface?,802.1qtagging