robgolding63
July 3rd, 2008, 12:44 PM
Hi,
I'm running Ubuntu Server 8.04 with VMware installed - but I think the virtualization software is somewhat irrelevant to this post.
Basically I have a NIC that is used by only one VM - as it is on a separate network to the host and all other VMs. As a result, the host does not have an IP configured for this NIC.
This means that unfortunately Ubuntu does not bring the NIC online at boot time - I have to enter
ifconfig eth1 up
to bring it online, before I can access the VM remotely.
I have added this command to /etc/init.d/rc.local, but I am unsatisfied with this fix and I wonder if there is a way of achieving this without such a hack?
Thanks for any help,
Rob
I'm running Ubuntu Server 8.04 with VMware installed - but I think the virtualization software is somewhat irrelevant to this post.
Basically I have a NIC that is used by only one VM - as it is on a separate network to the host and all other VMs. As a result, the host does not have an IP configured for this NIC.
This means that unfortunately Ubuntu does not bring the NIC online at boot time - I have to enter
ifconfig eth1 up
to bring it online, before I can access the VM remotely.
I have added this command to /etc/init.d/rc.local, but I am unsatisfied with this fix and I wonder if there is a way of achieving this without such a hack?
Thanks for any help,
Rob