LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2009, 08:47 AM   #1
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Rep: Reputation: 32
dhcp confusion


Hiya,
I'm reading alien bob's wiki on networks and i'm getting very confused about where the dhcp server "lives".
I have a router, a wired desktop, and a wireless laptop. I'm trying to iron out some wireless problems and have decided to start from the very beginning. Could anyone please tell me where the dhcp server is located? Is it in my router or my laptop?? Alos, should i actually be using dhcp or assigning my laptop a static ip?

Sorry if these are really dumb questions,

mute
 
Old 12-03-2009, 09:00 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Almost all home routers supply a DHCP server. You can run a DHCP server in linux as well. If you haven't configured one, then the DHCP server that is working is in your router.

Static IP address means it is not assigned by a DHCP server, but is defined by the admin of the system. ie you key it in.

You can get kind of a 'static' address from some routers. There is a function in there that, you the admin tell the router for a specific MAC address, to always assign a specific IP address. Just to clarify, MAC stands for Media Access Control address. Sometimes this is referred to as a 'burned' address since the manufacturer of the card 'burns' the address in the card.

Home this clarifies your questions.
 
Old 12-03-2009, 09:02 AM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Depends on how you have your network setup. Most of the time by default it is the router. You can assign you laptop a static if you want, just make sure its not one that any other machine is using.

edit: camorri beat me to it

Last edited by manwichmakesameal; 12-03-2009 at 09:03 AM. Reason: too late
 
Old 12-03-2009, 09:06 AM   #4
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Thanks guys, i think this helps my tiny mind understand a bit more

Thanks again,

mute
 
Old 12-05-2009, 01:47 AM   #5
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
mutexe, who is your ISP(internet service provider) and what type of internet service do you have? DSL, Dialup - probably DSL which is ethernet & or wireless that communicates with an internel card on your Computer. Your internet service provider sold you a modem/router so you can connect to the internet, that handles the DHCP protocol -> provides you with your IP address which probably changes from time to time automatically - this is called Dynamic IP address as opposed to a static one that doesn't change. DHCP stands for (Dynamic Host Configuration Protocols) your main host is your internet service provider(ISP). Although the main IP that provides your service connection is dynamic - u can still have static or non changing IP on your laptop and probably have one designated by your modem/router. You don't have to assign your laptop an address unless you are trying to setup your computers to communicate with one another as opposed to sharing the internet connection.
 
Old 12-05-2009, 02:35 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by mutexe View Post
Could anyone please tell me where the dhcp server is located? Is it in my router or my laptop?? Alos, should i actually be using dhcp or assigning my laptop a static ip?
The most common setup has two DHCP servers -- one at your ISP's and one in your modem/router.

The ISP's DHCP server gives the modem/router its public IP address (as shown, for example by http://checkip.dyndns.org/) also known as the wide area network (WAN) IP address.

The modem/router's DHCP server gives devices on your local area network (LAN) their private IP addresses (usually in the 192.168.x.x range, as shown for example by the ifconfig command on Linux and the ipconfig command on Windows).

For small LANs, static IP addresses (that is not given out by DHCP) are simpler to set up and troubleshoot. But, if a laptop will be plugged into other LANs, DHCP is simpler because it saves having to reconfigure the computer with a new static address to suit each LAN it is plugged into.
 
Old 12-05-2009, 09:04 AM   #7
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Thank you all for your advice and help. Sorry i'm such a pain. You've all been very helpful. Last night I logged onto my router via my web broswer and checked to see if the router is set up to be a DHCP server. It was indeed! So I'm not going to assign a static ip to my laptop.

Thanks again for all your help, muchly appreciated!

mute
 
  


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
DHCP Fixed IP Address confusion noir911 Linux - Server 1 03-23-2008 08:10 AM
DHCP confusion silver007 Linux - Newbie 3 10-23-2007 04:13 PM
modprobe & dhcp confusion argonian Slackware 5 08-23-2005 03:32 PM
wireless router DHCP confusion yocompia Linux - Wireless Networking 1 07-25-2003 11:01 AM
DHCP & Static IP Confusion! MikHud Linux - Networking 1 01-12-2002 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:50 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