>>>>> "Ravi" == Ravi Kumar <[EMAIL PROTECTED]> writes:

    Ravi> On 12/30/05, Binand Sethumadhavan <[EMAIL PROTECTED]> wrote:
    >> DHCP allocations are controlled by lease times. Why would
    >> anyone want to change an address allocated by DHCP, anyway? 
    >> Numerological considerations? :) If you really want to be able
    >> to fiddle around with your client IP address, allocate a static
    >> IP instead.
    >> 
    >> Binand

    Ravi> Binand, Not numerological considerations :) . But I was
    Ravi> wondering if it was possible to do it. Just a thought. I dug
    Ravi> around and I found a leases file in the location
    Ravi> /var/run/dhclient.eth0.leases . Will it help if I delete the
    Ravi> leases file ? I also found a dhclient.eth0.pid file in the
    Ravi> same location.

    Ravi> btw, this is my personal computer I am experimenting on. Is
    Ravi> it not possible to get a fresh IP address from the ISP ?

What's probably happening is that you are setting the IP through
ifconfig and then the IP is going back to the DHCP IP after a while.

If that's the case, killall dhclient before you do anything else.  If
dhclient keeps running in the background it'll periodically keep
getting a new IP from the provider.

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to