Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I connect to internet via my dorm's ethernet and IP addresses are assigned by DHCP. I tried

sudo dhclient -r

but that doesn't work. are there another commands i can issue?

p.s: I don't want to get a static IP, just get a new one.

share|improve this question
I must ask why do you want a different address? – grawity Mar 5 '11 at 19:13
sites like rapidshare, fileserve etc. – sterz Mar 6 '11 at 4:52
up vote 4 down vote accepted

It is entirely up to the DHCP server. It probably will give you (the MAC address owner) the same address as long as the lease has not yet passed its expiration time.

share|improve this answer

Make sure your /etc/network/interfaces file has a line similar to this:

auto eth0
iface eth0 inet dhcp

Use this command to restart networking (and request DHCP IP in the process.)

sudo /etc/init.d/networking restart

You can also use this command to request DHCP: Ubuntu Request DHCP

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .