#vim ifcfg-br0
DEVICE=br0
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
DNS2=61.134.1.4
TYPE=Bridge
HWADDR=c8:60:00:29:45:82
IPADDR=172.17.19.229
GATEWAY=172.17.19.254
DNS1=218.30.19.40
IPV6INIT=no
USERCTL=no
#vim ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
#IPADDR=192.168.1.254
#GATEWAY=192.168.1.1
#NETMASK=255.255.255.0
ONBOOT=yes
BRIDGE=br0
IPV6INIT=no
USERCTL=no
时间: 2024-10-10 16:37:14