I have to configure a Linux system as a web server and my choice is Ubuntu Server v.10.04. I installed it with a single NIC card (the server is VM and initial setup was with single NIC card) and installed GUI as well. Later on I added a 2nd NIC card, I booted up Ubuntu Server with GUI and when I run ifconfig on the command line I can see both Eth0 (default NIC that I setup during the initial OS setup) and Eth1 however I couldn't figure out how to manually configure the IP settings on eth1. I'm new to Linux and any help will be greatly appreciated.
Open in new window
I am assuming that it is already maked as eth1. If it is not recognized, you will have to follow the detailed instructions below.
In order to permanently assign an IP address (persistent after reboot) you have to modify file /etc/network/interfaces. See details below.
Detailed instructions are here: