-
Administrator
Site Admin-
Re: what are the benefits of dhcp in a LAN?

Originally Posted by
user unknown
I see a lot of people, using dhcp for their lan, and don't understand the benefits.
With DHCP, IP addresses are assigned automagically. Without DHCP you have to assign an unique IP address in your subnet to every computer in your system.
While it might not be that big of a deal to set up a static IP address on a ciouple of computers in a home system, if you are testing other equipment DHCP takes care of this for you. If someone comes over with a notebook and you plug them into your system, DHCP assigns them a unique IP address on your network, even if the IP address they had on their home system is already in use by another of your computers (very handy for a lan party when several people come over). And, of most relavence to a Knoppix forum; if you boot Knoppix from CD and have DHCP available, you will be on the network as soon as you boot, with no set-up needed at all (assuming the boot version of Knoppix has support for your NIC and some evil company that hates Linux hasn't played games with your NIC's EEPROM in a "security update:, but that's another story).

Originally Posted by
user unknown
I'm used to static IPs.
My example is: I have a /etc/host:
192.168.4.2 desktop
192.168.4.3 laptop
To make a filetransfer, I start
on the desktop, and
on the laptop.
When I use dhcp, will the laptop find the desktop too?
That's not DHCP exactly, that's Name Resolution. How it works in Linux I'm not sure. Yes, it works that way in Windows just fine, I can talk to my VPN server by telling the VPN client that I want to connect to 192.168.2.100 or that I want to connect to "AMD". I can ping by IP address or by name. And so on. Name resolution should work in a system independent of using DHCP or static addresses (in fact, there is no reason why you can't have a network with some static addresses and some dynamic ones. There are actually some good reasons for doing this if your DHCP server doesn't allow you to permanently lock some computers to dedicated addresses).

Originally Posted by
user unknown
I need a hardware-router for this - or an additional service running permanently in the background, don't I?
Well, for DHCP, something has to be a DHCP server. If you have a high speed connection, I personally wouldn't consider runnng it without a router. (Please note: I'm talking about even a mininal $10 home DSL/cable router, not some expensive piece of Cisco equipment.) And certainly this is even more true if you have multiple computers on the network. In fact I'm wondering how you think it is that you are running a network with two computers on the private 192.168.xxx.xxx subnet without a router to provide NAT services (unless that's a completely independent network from the one you access the Internet with). But while a DHCP server needs to be somewhere, there is at least one simple case where you can and do use DHCP without having a router or other hardware or an additional service running in the background: Most high speed cable users connect to their provider and get their IP address from the cable company's DHCP server. So if you are on cable you can usually boot and have Knoppix come right up on the Internet on a computer connected directly to the cable modem (this is not true for cable companies who assign each user a sttatic IP address that they have to configure into their software before connecting, not is it true for DSL users without a router who must run PPPoE to connect to their modem). I certainly don't recommend connecting to the Internet this way, as a router provides an extra and important lever of firewall security as well, but it can and is frequently done.
Similar Threads
-
By DiabloGN in forum General Support
Replies: 3
Last Post: 04-19-2005, 06:22 AM
-
By syco in forum Networking
Replies: 9
Last Post: 10-14-2004, 03:59 AM
-
By jreiser in forum Customising & Remastering
Replies: 3
Last Post: 02-01-2004, 09:45 PM
-
By tyiooo in forum Networking
Replies: 19
Last Post: 06-11-2003, 09:28 AM
-
By kcbnac in forum General Support
Replies: 5
Last Post: 04-10-2003, 08:51 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$11.00

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

DELL Precision 5820 Workstation Xeon W-2123 3.6ghz/NO RAM/NO SSD/P400 Vid
$139.99

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor
$249.99

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00