Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

This article was written a long time ago. It should be improved to match the tone of the rest of the website. Update this article with recent work done on secondary IP.

These instructions are for Ubuntu Desktop. Servers by default do not use DHCP.

Assuming your existing install is picking up DHCP correctly and your network is working fine.
First you should be running this from a console. In other words, not via ssh.If you are learning using virtual machine softare like VMWare, ensure your guest OS network is set to use Bridged Networking. This will not work with sharing the network.

If possible, it is advised to sure you can reach your machine via a console mechanism or experiment on a test machine first.

Code Block
languagebash
ifconfig

...

Now I don't know how to get the rest on Ubuntu quite yet (now I do), so I go to a Windows machine on the same network and type,

...

Code Block
languagebash
sudo apt-get remove isc-dhcp-client dhcp3-client dhcpcd

Notes

Some instructions mention you need network and broadcast, but they are automatically calculated from the address and netmask values. In fact adding the wrong ones can prevent things from working so I recommend leaving them out.


If you have more than one dns server use the format, dns-nameservers 208.78.97.155 208.75.87.250

...