1、建立网桥
touch /etc/sysconfig/network-scripts/ifcfg-br0
建立网桥配置文件ifcfg-br0
vi /etc/sysconfig/network-scripts/ifcfg-br0
2、添加网卡到网桥把eth0和eth1两网卡添加到网桥中。修改eth1网卡配置文件vi /etc/sysconfig/network-scripts/ifcfg-eth0
修改eth2网卡配置文件vi /etc/sysconfig/network-scripts/ifcfg-eth2
3. 重启网络服务
service network restart
1、建立网桥touch /etc/sysconfig/network-scripts/ifcfg-br0建立网桥配置文件ifcfg-br0vi /etc/sysconfig/network-scripts/ifcfg-br02、添加网卡到网桥把eth0和eth1两网卡添加到网桥中。修改eth1网卡配置文件vi /etc/sysconfig/network-scripts/ifcfg-eth0修改eth2网卡配置文件vi /etc/sysconfig/network-scripts/ifcfg-eth23. 重启网络服务service network restart欢迎分享,转载请注明来源:内存溢出
评论列表(0条)