Results 1 to 7 of 7

Thread: How to set a static IP

  1. #1
    Join Date
    Jan 2006
    Beans
    587
    Distro
    Ubuntu 10.04 Lucid Lynx

    How to set a static IP

    Hello

    I am trying to set a static IP in my Ubuntu computer. Usual methods don't seem to work, (right click 'edit connections').

    I always have to set it back to DHCP and it works.

    Thanks
    Insert a very forum friendly signature here.

  2. #2
    Join Date
    May 2008
    Location
    Baker, OR USA
    Beans
    887
    Distro
    Ubuntu Development Release

    Re: How to set a static IP

    Did you set DNS addresses when you tried it? That was what I was doing wrong. IIRC 4.2.2.1, 4.2.2.2, 4.2.2.3, 4.2.2.4, 4.2.2.5, 4.2.2.6 are ones that I used and worked. (You really only need one or two, but I'm just a little perfectionist)

    Second, your router could support assigning addresses by MAC address, which would have the same result as a static address, but might work around your problem.
    I don't want to Live in a Life without Walls-too many viruses get in...
    Ubuntu user 23101 Linux user 472132
    Two ways to live: the choice we all face

  3. #3
    Join Date
    Jan 2006
    Beans
    587
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to set a static IP

    Quote Originally Posted by SoftwareExplorer View Post
    Did you set DNS addresses when you tried it? That was what I was doing wrong. IIRC 4.2.2.1, 4.2.2.2, 4.2.2.3, 4.2.2.4, 4.2.2.5, 4.2.2.6 are ones that I used and worked. (You really only need one or two, but I'm just a little perfectionist)

    Second, your router could support assigning addresses by MAC address, which would have the same result as a static address, but might work around your problem.
    Yes I did set a DNS. Hmmmm. You think I'd be used to Ubuntu's weirdness by now but little things that should work still seem to bite me.
    Insert a very forum friendly signature here.

  4. #4
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to set a static IP

    Does it fail to get the static address, or does it just fail to work with the static address?
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #5
    Join Date
    Nov 2005
    Beans
    209

    Re: How to set a static IP

    I have very good experiences with wicd instead of network manager. It can be downloaded from here:

    http://wicd.sourceforge.net/download.php

  6. #6
    Join Date
    Jan 2007
    Beans
    5,549

    Re: How to set a static IP

    post output of ifconfig and try pinging your router via ip

  7. #7
    Join Date
    May 2008
    Location
    Baker, OR USA
    Beans
    887
    Distro
    Ubuntu Development Release

    Re: How to set a static IP

    Also, there's still the possibility of setting the router to assign the same address to your computer every time. Your computer would still think it is getting a dynamic address, but the router would be giving it the same one every time.
    I don't want to Live in a Life without Walls-too many viruses get in...
    Ubuntu user 23101 Linux user 472132
    Two ways to live: the choice we all face

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
  •