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 - 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-13-2004, 02:28 AM   #1
jtwJGuevara
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Home Networking - Linux/Windows as a DHCP Server


I'm not very knowledgable about networking ideas and concepts, so here are some concerns.

Here is the current situation. I am soon about to acquire a subscription to a cable modem service, and I have three boxes that will need access to it - two windows 2000 boxes and a linux box running on the 2.4 kernel series (it's slackware 9.0). I however, am trying to come up with a cheap but effective solution to doing this. My first idea was to just buy a router and hook all of the boxes up to this, but then it was suggested that I set one box up as a DHCP server to take place of the router, and then just purchase a hub to connect the other two boxes to the DHCP serving one.

My concerns are the ability of a Linux box to act as a possible DHCP server for Windows boxes, or the ability of a Linux box to connect to a Windows DHCP service. Are there issues that I need to be concerned about? Will the box acting as the DHCP server need two network cards and need to have %100 uptime? Would this solution end up being cheaper with the purchase of a hub and a possible additional network card? Would a router allowing access to all computers regardless of the uptime of the others be worth an extra cost?

Thanks in advance
 
Old 03-13-2004, 07:30 AM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I bought a router when I went to broadband. Saved me a lot of configuration. Plug it in and go. foreward ports with your web browser, etc. too easy.

I did have two computers networked when i was on dialup (since dialup routers cost a fortune). Since I wanted to use the Windows-only internet call manager software, I used ICS and connect them through a hub. The computer running the ICS (NAT/DHCP) had to be on for the "client" to access the internet. It cost less, but it required one to always be connected. I set the IPs static after a bit so that I could get a faster bootup on the client (no DHCP poll).

Routers aren't that expensive. I'd suggest that you go that route unless you've a burning desire to learn how to do it the other way (and buy a second NIC for one of the computers...). If so, look here for some linux-specific help.
 
Old 03-13-2004, 05:57 PM   #3
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
i would recommend going with a router if you are just looking for something to get the job done. it is much easier to configure/troubleshoot and you dont need a machine running 24/7 they are not much more expensive than a hub or switch + an extra network card.

however, as vectordrake said, if you are really interested, then you have the perfect oppurtunity to learn something.

regarding your compatibility questions, dhcp is dhcp. a windows box should be able to get a lease from a linux dhcp server and a linux box SHOULD (stressing the SHOULD ) be able to get a lease from a windows dhcp server.

i think probably the only compatibility issue you might run in to would be sharing filesystems (ie netbios shares for windows and nfs (and others) in linux). samba is probably your ideal solution for this problem.
I believe the official website for samba is http://www.samba.org.

if you don't already know about samba you should check it out, you will probably find it useful.

skel
 
Old 03-13-2004, 06:19 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by skel
regarding your compatibility questions, dhcp is dhcp. a windows box should be able to get a lease from a linux dhcp server and a linux box SHOULD (stressing the SHOULD ) be able to get a lease from a windows dhcp server.
Yes, I did that with my dialup setup. Windows serving and Linux taking the lease (Mandrake, Debian, and actually FreeBSD for a while)

Quote:
i think probably the only compatibility issue you might run in to would be sharing filesystems (ie netbios shares for windows and nfs (and others) in linux). samba is probably your ideal solution for this problem.
I believe the official website for samba is http://www.samba.org.
That also works, but the frontend is not quite as friendly to use as dragging and dropping yet.
 
  


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
Redhat 9 Server & Windows XP Home Networking kingtas Linux - Networking 5 01-21-2005 03:01 PM
Setting up linux networking on windows server david.cormie Linux - Networking 8 07-22-2004 08:20 AM
Suse 9.1 Pro as server for windows + linux home network geeb777 Linux - Newbie 8 07-17-2004 11:04 AM
Intranet Networking with Windows Server and Linux Desktops rupak Linux - Networking 2 01-04-2004 10:27 PM
HELP! Trouble with Networking - Linux Client to Windows Server jclipsham Linux - Networking 3 03-09-2003 08:46 PM

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

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