Find the answer to your Linux question:
Results 1 to 3 of 3
Every time i type in the long ifconfig command to make my ips 20.0.0.2(example)... after a few minutes DHCP reassigns the ip ... any ideas how to disable the DHCP ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    15

    Exclamation Static IP...

    Every time i type in the long ifconfig command to make my ips 20.0.0.2(example)... after a few minutes DHCP reassigns the ip ... any ideas how to disable the DHCP from rewriting this setting.

  2. #2
    Linux Newbie
    Join Date
    Mar 2008
    Location
    Hyderabad
    Posts
    109
    #service dhcpd stop
    it wouldn't connect to any dhcp server.

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    67
    go to ur /etc/sysconfig/network-scripts/ifcfg-eth0 file

    change bootproto to none or static
    give ur ip address there and restart the network scripts.

    the command service dhcpd stop will stop the dhcp server running on ur machine ... but it will still look for ip from ur network dhcp server.

    So to make the ip static u have to do the above steps and also make sure no body has that ip assigned to them from dhcp ....


    hope this helps

Posting Permissions

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