Results 1 to 3 of 3

Thread: Server drops static IP and interface comes back up as DHCP

  1. #1
    Join Date
    Aug 2006
    Location
    Ontario, Canada
    Beans
    242
    Distro
    Ubuntu 7.04 Feisty Fawn

    Server drops static IP and interface comes back up as DHCP

    This was happening to me under 7.10 and I thought the issue would be fixed under 8.04. No such luck. My interfaces file looks like this:
    Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
            address 207.81.162.204
            netmask 255.255.255.0
            gateway 207.81.162.1
    Pretty normal, right? When I went to access the server today at .204, it didn't respond. I went to the server physically and logged on and lo and behold, the server had switched to DHCP. However, the interfaces file hadn't changed. Indeed, doing an ifdown eth0 and ifup eth0 brought the server back up at the static address. For the time being, I setup a cron job to do an ifdown/ifup at midnight every night, but that isn't a good long-term solution. Anyone have any ideas?
    Learn about DRM. Use Linux. "Never underestimate that a small group of thoughtful, committed people can change the world; indeed it's the only thing that ever has." ~Margaret Mead

  2. #2
    Join Date
    Apr 2008
    Beans
    69
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Server drops static IP and interface comes back up as DHCP


  3. #3
    Join Date
    Aug 2006
    Location
    Ontario, Canada
    Beans
    242
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Server drops static IP and interface comes back up as DHCP

    I'm having one of those days. Just posted my reply to the other thread by accident. Thanks Deathrend.
    Learn about DRM. Use Linux. "Never underestimate that a small group of thoughtful, committed people can change the world; indeed it's the only thing that ever has." ~Margaret Mead

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
  •