# systemctl stop NetworkManager
# systemctl disable NetworkManager
# systemctl enable network 
         

Physical interface (em1) setting:
# vim /etc/sysconfig/network-scripts/ifcfg-em1
-------------------------- 
DEVICE=em1
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes   
TYPE=Ethernet
BRIDGE=br0
-------------------------- 

    

Virtual interface (br0) setting:
# vim /etc/sysconfig/network-scripts/ifcfg-br0
--------------------------
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp 
ONBOOT=yes
--------------------------


# systemctl restart network

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()