LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2001, 01:03 AM   #1
davidpurple
LQ Newbie
 
Registered: Oct 2001
Posts: 9

Rep: Reputation: 0
IP releasing


I asked this question before, but seems to have been forgotten. Will Linux lock my static IP address so that when I reboot into Windows my internet connection will not work? If so, how will I be able to release my IP address (on a LAN) from linux?
 
Old 10-12-2001, 01:38 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
The moment you shutdown/reboot your computer the ip assignment to the network card is lost, no matter what OS.
 
Old 10-12-2001, 02:34 PM   #3
ejtbrown
Member
 
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
IP release

The only reason I can think of that you might have an IP address problem booting between two OSes is if you are using DHCP for automatic assignment of IP address. The DHCP server does usually allow the booting OS to specify a preference as to IP address (e.g. the last IP address it was assigned).
 
Old 12-05-2001, 07:43 AM   #4
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
Question releasing IP

I am having a similar problem with my @home connection... the IP I get is from a dhcp server that seems to never expire. How do I release it so i can swith to another machine? ie: I need to do the equivalent of RELEASE using winipcfg in windoze. Rebooting or assigning new IPs to the NIC does nothing, and i think the ip is tied to the MAC address from the dhcp server's point of view.
 
Old 12-05-2001, 02:08 PM   #5
ejtbrown
Member
 
Registered: Mar 2001
Location: Santa Maria CA USA
Distribution: RedHat 6.0 & RedHat 7.0
Posts: 36

Rep: Reputation: 15
The DHCP server doesn't tie the MAC address to the IP permanantly. The way it works is that the DHCP client remembers the last IP address it had and sends it to the DHCP server as a prefered IP. If it's available, the server will give it to the client. Or at least, that's the way it's *supposed* to work.
 
Old 12-05-2001, 03:39 PM   #6
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You can actually, from the dhcp server side, make a static assignment of an IP and in that case the MAC address would be the reference for dhcp server to know what IP to assign. This is probably not the case here.

Let's take a look on how the dhcp thing works.
When booting the client sends out a dhcp request on the broadcast address. Every dhcp server within that broadcast domain, in other words computers on the same side of a router, sends a response to the client with a dhcp offer.
If more than one server respond the client can choose from the offered leases and then it sends an acknowledge response to the server from which it decide to use the IP. The other servers not getting a response assume their IP wasn't selected.

Most of the time when having problem with dhcp the problem are on the client. Clients can be pretty stubborn. Forgot to tell that the client can request for a preferred IP when asking the servers and if that IP are available the servers might offer it.
Also the previously leased IP tend to be tried the next time and if it still is free then the server suggest it.
The lease time can also be set to not expire, called a permanent assignment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm not releasing the prompt ekdya Debian 1 10-07-2005 07:44 AM
Releasing / Renewing IP Verbal Kint Linux - Networking 2 12-07-2004 11:52 PM
updatedb not releasing memory? Mephisto Slackware 2 07-18-2004 11:37 PM
Is Redhat not releasing 10? subzero80 Linux - Software 12 05-28-2004 10:28 PM
Releasing Ports robins Linux - Networking 0 03-23-2001 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration