LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2006, 04:41 AM   #1
ox3r
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Howto get new ip from DHCP server


In windows if I need tell to DHCP server that I don`t use this ip any more I need write ipconfig -release and then I can join new computer. My provaider give me only one ip address and if I this take (he cotrol mac address) by linux I can`t to join other computer while not gone 12h and if I write in windows ipconfig -release I can join other computer.
Wich command is the same in Linux?
 
Old 03-03-2006, 05:25 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Then rerun the dhcp client :
Code:
dhclient eth0
 
Old 03-03-2006, 05:26 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
I don't know. Never need this before. Reading the dhcpcd man page (the dhcp client daemon) it says about the option "-n":

"Sends SIGALRM signal to the dhcpcd process that is currently running which forces dhcpcd to try to renew the lease. If dhcpcd is not running, the flag is ignored and dhcpcd follows the normal startup procedure."

I hope this can help you,
 
  


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
DISCUSSION: DHCP Server Howto SiegeX LinuxAnswers Discussion 30 12-10-2006 09:40 PM
howto configure portsentry to use dhcp?? pingvina Linux - Networking 3 02-08-2006 07:57 PM
DHCP Server Howto SiegeX Slackware 7 10-15-2004 01:51 PM
howto relay ISPs dhcp ip's though linux router to LAN deice Linux - Networking 0 09-20-2004 11:40 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 PM.

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