Computing.Net > Forums > Linux > Release from DHCP server

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Release from DHCP server

Reply to Message Icon

Name: bigcc
Date: May 29, 2004 at 21:02:01 Pacific
OS: linux
CPU/Ram: p4,256
Comment:

How can I release my MAC address from a DHCP server, like "ipconfig /release" in windows? Within the leased time, I can't use another PC to get IP address as my MAC address is recorded. Would it be different on Sol or Linux?


-



Sponsored Link
Ads by Google

Response Number 1
Name: drigz
Date: May 30, 2004 at 12:51:37 Pacific
Reply:

i believe that, in linux, it is (as root):
/sbin/ifconfig eth0 down
replacing eth0 with whatever interface linux uses for ur network. type:
/sbin/ifconfig
to list all interfaces. lo is ur comp to ur comp, and is always (i think) there. it will probably be eth0


0

Response Number 2
Name: bigcc
Date: May 30, 2004 at 23:52:47 Pacific
Reply:

I did down the interface, but I couldn't get IP address with another machine. Any idea?

-


0

Response Number 3
Name: 3Dave
Date: June 2, 2004 at 03:45:45 Pacific
Reply:

How about releasing it on the DHCP server?
Alternatively set up a reservation on the
DHCP server for your MAC address with an
alternative IP, and then bring up the
interface again. You could try faking your
MAC address on the other computer to match
the original one, eg:
# ifconfig eth0 hw ether
00:4F:49:1D:8B:5E


0

Response Number 4
Name: bigcc
Date: June 2, 2004 at 20:03:03 Pacific
Reply:

I guess the DHCP server is located in ISP, I can't release my MAC add from it. Plus, I have one linux and one windows, can I use fake MAC in windows as well?


-


0

Response Number 5
Name: 3Dave
Date: June 4, 2004 at 00:49:20 Pacific
Reply:

I would speak to the ISP. Here in the UK,
you sometimes have to register any
additional MAC addresses that you want to
use, usually up to about 5 without having
to pay any more.


0

Related Posts

See More



Response Number 6
Name: chan005
Date: June 4, 2004 at 17:45:15 Pacific
Reply:

try /sbin/pump -r
the -r is /release and no param is /renew

some of the newer distro use
/sbin/dhclient instead


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Release from DHCP server

How can I release a dhcp lease? www.computing.net/answers/linux/how-can-i-release-a-dhcp-lease-/5417.html

Dhcp server setup www.computing.net/answers/linux/dhcp-server-setup/20723.html

bootdos from PXE server www.computing.net/answers/linux/bootdos-from-pxe-server/27295.html