# Configure Network Using Ifconfig and Route

Setting up your network consists of three steps. First we assign ourselves an IP address using ifconfig. Then we set up routing to the gateway using route. Then we finish up by placing the nameserver IPs in /etc/resolv.conf.

### 3

Now open /etc/resolv.conf with your favorite editor (in our example, we use nano):

Now fill in your nameserver(s) using the following as a template. Make sure you substitute ${NAMESERVER1} and${NAMESERVER2} with the appropriate nameserver addresses: