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


  Search this Thread
Old 03-28-2002, 10:29 PM   #1
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Redhat 9
Posts: 35

Rep: Reputation: 15
Question Small Network -- Linux Web, DNS, SAMBA server -- Help/suggestions please!

I need quite a lot of help figuring out how I'm going to setup this home network so any help or suggestions would be greatly appreciated.

Basically I have this new Mandrake Linux 8.2 box (I am still fairly new to Linux) which I want to host a Web server, with registered URL(s) -- so a DNS server, and a SAMBA server so that the other computers on the network can have filesharing access to it.

The other computers on the network are 1 of each:
Windows XP, Windows NT 4, and Mac OS 9.2

I have 768/384 aDSL (Covad) with a modem that plugs directly into the LinkSys 10/100 Etherfast Hub 'uplink' port.

From this hub I have connected all of the computers I mentioned (including the Mandrake box) and they all have internet access with their OWN IPs (we have multiple static IPs).

I have a problem here as well, as the static IPs seem to be assigned rather randomly, one day my XP box will be and after a week or two it might suddenly become, and my Mac OS box has taken the .192 adress. All of the computers at present are configured to use DHCP, but I dont really understand where they are picking up the DHCP signal from (I just chose DHCP with default options and it always seems to work). Would my ISP be assigning the IPs to each computer, would the hub somehow be doing this, or what? What I want is to be able to assign the IP of my choice to each computer!

As far as the linux box goes, I presume I cant really start hosting a proper web server until I have the last problem (IPs/DHCP) sorted out... because I have URL(s) that I want to use with the server (yes it will be running 24/7 by the way) and if the IP changes I would have to reconfigure all of the DNS information!

I also need help understanding exactly how DNS works, I already own a URL that I have administrative access (DNS etc.) to, but I am unclear about what the DNS server running on my Linux box will be doing exactly-- and for that matter how to set it up (it is installed and running, apparantly).

There is a lot of stuff here, so if you can give me any tips, suggestions, ideas, etc. I would be forever in your debt... thanks a lot!
Old 03-29-2002, 04:37 PM   #2
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Did your ISP assign you a range of IP's? or are you just assuming they are static... because it doesn't sound to me like they are static at all. The only way you could have static IP's from your ISP is if they specifically associated the MAC addresses from your network cards to that IP, and that's obviously not happening.

The other possibility is that they gave you static IP's but left it up to you to configure your machines with them. If that's the case, you don't need to use DHCP at all.
Old 03-30-2002, 09:55 AM   #3
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Let's just start parting out the problem here.

1. Your DHCP addresses. As Sixpax mentioned you had better check your ISP agreement and make sure you are getting static IPs. My DSL provider uses a MAC address scheme to match an IP addy to a machine. Even though I got static IPs I still used DHCP and got the same numbers for evewry machine. All I had to do was register the MAC addy on their servers.
2. DNS - If you already have access to a reliable DNS farm then you would probably want to either just depend on that or run your own DNS as a slave of the master name server. I can't really recommend placing both of your name servers on your single subnet as there is no failover during a local outage (your servers) or a network outage (your ISP). Look for "DNS and Bind" on the network. The book is available online.

3. http server - Start reading the apache docs after you get the above issues resolved.

4. Samba - It's usually pretty strightforward, but again you should read about it on (I believe there's linkage from the site).

5. Look into a firewall (or two). I can;t remember the last time I hooked up a machine to the Internet directly. I'd rather chew on broken glass.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
suggestions for web/email server fretbrner Linux - Networking 1 09-09-2005 01:18 PM
Help with writing a small web server Diederick Programming 2 08-19-2005 07:46 PM
DNS Server suggestions Drfarfrompuken Linux - Networking 1 08-10-2005 01:50 PM
Perfect DNS Server Suggestions imsam Linux - Newbie 3 10-19-2004 11:58 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:48 PM.

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