ex:
edit file SUSE Linux Enterprise Server.vmx
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00
ethernet0.generatedAddressOffset = "0"
ethernet1.present = "TRUE"
ethernet1.connectionType = "nat"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.addressType = "generated"
ethernet1.generatedAddress = "00
ethernet1.generatedAddressOffset = "10"
2. get ent1 MAC address via ifconfug with root user
ex:
ifconfig -a grep eth
eth0 Link encap:Ethernet HWaddr 00:0C:29:80:8A:23
eth1 Link encap:Ethernet HWaddr 00:0C:29:80:8A:2D
3. make ent1 configure file
ex:
cd /etc/sysconfig/network
cp ifcfg-eth-id-00:0c:29:80:8a:23 ifcfg-eth-id-00:0c:29:80:8a:2d
4. re-start network
ex:
/etc/init.d/network restart
Shutting down network interfaces:
eth0
eth0 configuration: eth-id-00:0c:29:80:8a:23 done
eth1
eth1 configuration: eth-id-00:0c:29:80:8a:2d done
Shutting down service network . . . . . . . . . . . . . done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8 done
eth0
eth0 configuration: eth-id-00:0c:29:80:8a:23
eth0 (DHCP) . IP/Netmask: 192.168.40.128 / 255.255.255.0 done
eth1
eth1 configuration: eth-id-00:0c:29:80:8a:2d
eth1 (DHCP) . IP/Netmask: 192.168.40.129 / 255.255.255.0 done
Setting up service network . . . . . . . . . . . . . . done
沒有留言:
張貼留言