Change NIC (card)

Ubuntu Server

Replacing your NIC in ubuntu server means editing the intefaces file and removing the persistent-net.rules file

The interfaces file

Your existing card may be using an unintiative alias. Change the interfaces file to something more generic, like eth0

sudo vim /etc/network/interfaces

# The primary network interface
auto eth0
iface eth0 inet dhcp

The persistent-net rules file

This file makes sure that the card with mac X always comes up as the same ethX alias. Remove this file so that the new card takes the place of the old one. It _should_ replace it with one that specifies eth0 as the alias. Check it if something doesn't work.

rm /etc/udev/rules.d/70-persistent-net.rules