Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Ubuntu Server keeps overriding static IP.

  1. #11
    Join Date
    Feb 2007
    Location
    Slovenia
    Beans
    251
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu Server keeps overriding static IP.

    Well it can't be fixed, as this happened today. It happens roughly once a day. Sometimes 2 or 3 days apart.

    I have however found something else: the /var/lib/dhcp3/dhclient.leases file.

    This is the content:
    lease {
    interface "eth0";
    fixed-address ***.***.***.***;
    option subnet-mask 255.255.0.0;
    option routers 89.212.0.1;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 84.255.209.79,84.255.210.79;
    option dhcp-server-identifier 89.212.0.1;
    option domain-name "t-2.net";
    renew 3 2010/1/27 18:00:08;
    rebind 4 2010/1/28 03:14:59;
    expire 4 2010/1/28 06:14:59;
    }
    lease {
    interface "eth1";
    fixed-address 192.168.2.199;
    option subnet-mask 255.255.255.0;
    option routers 192.168.2.1;
    option dhcp-lease-time 600;
    option dhcp-message-type 5;
    option domain-name-servers 192.168.2.1;
    option dhcp-server-identifier 192.168.2.1;
    option broadcast-address 192.168.2.255;
    option domain-name "example.org";
    renew 1 2008/7/21 20:06:01;
    rebind 1 2008/7/21 20:10:27;
    expire 1 2008/7/21 20:11:42;
    }
    lease {
    interface "eth0";
    fixed-address ***.***.***.***;
    option subnet-mask 255.255.0.0;
    option routers 89.212.0.1;
    option dhcp-lease-time 86400;
    option dhcp-message-type 5;
    option domain-name-servers 84.255.209.79,84.255.210.79;
    option dhcp-server-identifier 89.212.0.1;
    option domain-name "t-2.net";
    renew 4 2010/1/28 03:14:50;
    rebind 4 2010/1/28 15:00:08;
    expire 4 2010/1/28 18:00:08;
    }
    Apparently it is scheduled to renew tomorrow.
    Where did this come from?


    EDIT: I've deleted the file. We'll see what happens.
    Last edited by unimatrix; February 2nd, 2010 at 12:34 PM. Reason: Censored the IP

  2. #12
    Join Date
    Feb 2007
    Location
    Slovenia
    Beans
    251
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu Server keeps overriding static IP.

    Yes, deleting the file seems to have worked.

    I'm sure a more elegant solution exists though.

    Marking as solved.

  3. #13
    Join Date
    Sep 2005
    Location
    Baton Rouge
    Beans
    709
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu Server keeps overriding static IP.

    Did you find a more elegant solution?

  4. #14
    Join Date
    Feb 2007
    Location
    Slovenia
    Beans
    251
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu Server keeps overriding static IP.

    Quote Originally Posted by harisund View Post
    Did you find a more elegant solution?
    Unfortunately no, but at least deleting the file works for sure.

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •