关于 VMware 的网络配置一直以来一知半解的,今天遇到了点问题,所以仔细研究了下:
使用环境: fedora15
①没有为系统配置网卡的时候,系统正常启动时:
这两个网桥来自 :/etc/rc.d/rc.local 文件
[root@localhost /]# more /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
ifconfig eth0 0.0.0.0 promisc up
brctl addbr br0
brctl addif br0 eth0
ifconfig br0 up
ifconfig br0 192.168.1.101 netmask 255.255.255.0
ifconfig eth1 0.0.0.0 promisc up
brctl addbr br1
brctl addif br1 eth1
ifconfig br1 up
ifconfig br1 192.168.0.101 netmask 255.