Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

sudo dhclient -r
dhclient

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.