It is currently Sat, 09 Dec 2023 04:51:16 GMT



 
Author Message
 Newbie - DHCP question
Is there a way to force my IP address to change if I have DHCP for my
cable internet connection?

I tried "dhcpcd -k" to clear the cache and restarted the DHCP client
daemon but it still kept the old address.

I'm using Linux Mandrake 7.2.

Thanks.

Luke



 Sun, 01 Feb 2004 12:49:18 GMT   
 Newbie - DHCP question
Most DHCP server keep track of the hardware MAC address when they dole
out IP addresses and try to assign the same address when a client
reconnects. When you request a new address, the server still
knows your MAC address and tries to give you the same IP address if it is
still available. Clearing the cache on the server, NOT the client (dhcpcd
is the client) might do the trick, but chances are the dhcp server will give
you the first available IP address which may very well be what you got
before.

The easiest way to change your IP address is to override it with
ipconfig. See the man or info pages on how to use it.

Ujwal

In article <3B79FF4E.85C87...@videotron.x-nospam-x.ca>, "Luke D."



 Sun, 01 Feb 2004 14:00:41 GMT   
 Newbie - DHCP question
Sorry, I menat to say ifconfig, not ipconfig.

Ujwal

In article <20010814.225820.1239036029.8...@omit.nonsense.bigfoot.com>,
"Ujwal S. Sathyam" <set...@omit.nonsense.bigfoot.com> wrote:



 Sun, 01 Feb 2004 14:05:41 GMT   
 Newbie - DHCP question
Sorry, I meant to say ifconfig, not ipconfig.

Ujwal

In article <20010814.225820.1239036029.8...@omit.nonsense.bigfoot.com>,
"Ujwal S. Sathyam" <set...@omit.nonsense.bigfoot.com> wrote:



 Sun, 01 Feb 2004 14:06:28 GMT   
 Newbie - DHCP question
On Wed, 15 Aug 2001 06:00:41 GMT, Ujwal S. Sathyam

(yes I saw your posting that you meant ifconfig).

Depending on how your ISP assigns you IP-numbers, I wouldn't do that - or you
wouldn't be able to. If it is a cable-provider, the provider gives you the IP
based on the MAC-adress of the cable-modem, which you can't change using
ifconfig.

Other providers base their entire system on the MAC-adress of your card.
Changing it could result in not being able to go onto the internet anymore.

But most providers probably don't...

--
  SwifT
  |- LUG : http://www.lugwv.be
  |- PGP Key-# : 0xCDBA2FDB
  `- "Happy GNU/Linux-user :)"



 Sun, 01 Feb 2004 17:26:40 GMT   
 
   [ 5 post ] 

Similar Threads

1. Newbie DHCP Question

2. Newbie DHCP Question

3. newbie question about DHCP server

4. RH7.0 newbie pump (DHCP) questions

5. newbie dynamic dns update via dhcp question

6. Samba/dhcp/dns question - Newbie

7. Netgear Route/Linux DHCP Question from Newbie

8. Newbie DNS/DHCP/Samba Question

9. dhcp??? (newbie question)


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software