Often, the dhcp client will take care of that. To do it manually, you can use kcontrol for a graphical frontend, or you can edit the file /etc/network/interfaces to set things the way you like. For setting up the netorking of the cluster, the pelican_setup script will do it for you.