When booting up the VM (Scientific Linux 6.4) in VirtualBox (4.3), I'm getting the same ip address for both network interfaces.VirtualBox has NAT for the first network adapter, and Host-Only for the second network adapter.VM is configued as follows:ifcfg-eth0DEVICE=eth0BOOTPROTO=dhcpONBOOT=yesNM_CONTROLLED=noType=Ethernetifcfg-eth1DEVICE=eth1BOOTPROTO=staticIPADDR=192.168.56.107NETMASK=255.255.255.0NM_CONTROLLED=noONBOOT=yesType=EthernetResults of ifconfigeth0      Link encap:Ethernet  HWaddr 08:00:27:E8:14:8B            inet addr:192.168.56.107  Bcast:192.168.56.255  Mask:255.255.255.0          inet6 addr: fe80::a00:27ff:fee8:148b/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1eth1      Link encap:Ethernet  HWaddr 08:00:27:92:0A:6D            inet addr:192.168.56.107  Bcast:192.168.56.255  Mask:255.255.255.0          inet6 addr: fe80::a00:27ff:fe92:a6d/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1If I execute the following:# ifdown eth0# ifup eth0Then eth0 gets the correct ip address.eth0      Link encap:Ethernet  HWaddr 08:00:27:E8:14:8B            inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0          inet6 addr: fe80::a00:27ff:fee8:148b/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1Why is it not picking up the correct ip address on boot? How do I configure it to have the correct ip for eth0?
VirtualBox: Same IP address for both network interfaces on same machine (scientific linux)?
virtualbox;scientific linux
If you are not changing your network adapter every time you boot the VM add HWADDR=08:00:27:E8:14:8B to the ifcfg-eth0 configuration and remove NM_CONTROLLED=no as in case of DHCP assignment it won't make a difference and reboot to see if helps.