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
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?
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
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
Summary: There is no way to release a DHCP lease from the client side. You can however renew your lease with the -l option. Using the -l option you can specify the time that a lease will last. The DHCP server ...
Summary: I need help setting up DHCP SERVER I have the rpm installed here is the configuration of my /etc/dhcpd.conf ddns-update-style interim # Redhat Version 7.2 subnet 192.168.0.0 netmask 255.255.255.0 { ...
Summary: I want to be able to boot a simple MSDOS from a linux server. I setup a dhcp server and a TFTP server on the linux system. On the PXE side I copied the pxelinux.0, created the dir pxelinux.cfg as well...