Jul19

Written by:David Aldridge
7/19/2011 10:44 AM 

The latest version of Ubuntu server (11.04) has Hyper-V integration modules built in.  The only slight gotcha is that during installation, it will not detect the network card.  To get around this, simply tell it to ignore the error and continue with the install.

Once the install completes, do an 'ifconfig -a' command to see the adapters - it should be listed as eth0, but it may not be.  You will need to adjust the following depending on what the name of the adapter is.

Once you know the name of the adapter, edit the /etc/network/interfaces file with the following for a static address:

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        gateway 192.168.1.1
        network 192.168.1.0
        broadcast 192.168.1.255


or the following for a DHCP address :

# The primary network interface
auto eth0
iface eth0 inet dhcp

 

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
You must be logged in and have permission to create or edit a blog.