Results 1 to 5 of 5

Thread: How to refresh IP address????

  1. #1
    Join Date
    Jun 2007
    Location
    Shreveport, Louisiana USA
    Beans
    72
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Question How to refresh IP address????

    The way my network is set up is that my router is a little schizo. If my internet connection goes down for even one second--I have to reset my router and when it reboots it can assign any of 50 IP's to any computer in any order. What I need to know is how to get my computers to refresh their IP without rebooting? All my computers have Ubuntu 8.10 installed.

  2. #2
    Join Date
    Oct 2006
    Location
    Binghamton, NY
    Beans
    1,850
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to refresh IP address????

    Sorry, wrong thread
    Last edited by gettinoriginal; December 17th, 2008 at 04:24 AM. Reason: wrong thread
    Never wade in water you're afraid to swim in unless it's the Linux pond, cause there's always a life ring in the forums

  3. #3
    Join Date
    Oct 2006
    Location
    Binghamton, NY
    Beans
    1,850
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to refresh IP address????

    Ok, now this problem. I only unplug my router to change mine, but check out this thread to see if there is anything that will help you:

    http://ubuntuforums.org/showthread.php?t=541887
    Never wade in water you're afraid to swim in unless it's the Linux pond, cause there's always a life ring in the forums

  4. #4
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: How to refresh IP address????

    Quote Originally Posted by glenngds
    The way my network is set up is that my router is a little schizo. If my internet connection goes down for even one second--I have to reset my router and when it reboots it can assign any of 50 IP's to any computer in any order. What I need to know is how to get my computers to refresh their IP without rebooting? All my computers have Ubuntu 8.10 installed.
    The title of this post is misleading, what you have described is a situation which exists because of the way that your router is configured, not something about Ubuntu. You may have problems with your Ubuntu installs but they aren't causing what you described.

    The DHCP server only issues 50 different IPs because it is configured to issue 50, you could drop that down to the number you need. In addition, most router/gateways can always hand out the same IP to a given computer by being configured to hand them out by the MAC address of the computer's interface card, so they would each get the same IP each time, similar to static addressing. This should all be covered in the router documentation.

    As to this question (which appears to be unrelated to the rest of what you are asking:
    Quote Originally Posted by glenngds
    What I need to know is how to get my computers to refresh their IP without rebooting?
    Down the interface and bring it back up if it is set to "auto" DHCP. You might try dhclient to ask for a lease if the interface isn't set to "auto".

  5. #5
    Join Date
    Apr 2007
    Beans
    Hidden!
    Distro
    Ubuntu 6.10 Edgy

    Re: How to refresh IP address????

    you can also manually type:
    Code:
    dhclient eth0
    Personally I would configure your router to use MAC addresses to assign IP address (DHCP address reservation) This way you can make sure all your IP addresses are the same every time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •