Announcement

Collapse
No announcement yet.

How to renew an IP address?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to renew an IP address?

    What's the best way to renew an IP address? What would be the equivalent of "ipconfig /release" and "ipconfig /renew" in "ifconfig" (the man page for ifconfig doesn't give me an idea). Or should I restart a service? ... if so... how?

    Thanks beforehand...

    #2
    Re: How to renew an IP address?

    The equivalent (for eth0) is:

    Code:
    sudo ifdown eth0
    sudo ifup eth0
    If you're using eth1, then use that instead of eth0, of course.

    Comment


      #3
      Re: How to renew an IP address?

      Thanks a lot randcoop! It worked fine.

      ...hasta la vista!...

      Comment

      Working...
      X