digital adj. Having digits.     peer n. A comrade; a companion; a fellow; an associate. inmotion    
   
Recent Articles
Stop DNSMasq From Forwarding Local Hostnames
Saturday, September 25, 2010
Securing your Wireless LAN
Wednesday, August 18, 2010
Some tips and things you might not know about your wireless network.
Using Different Subversion Client Versions
Wednesday, August 18, 2010
Handling a Subversion Repository URL Change
Sunday, May 3, 2009
If your repository URL changes, you can use the following command to fix existing snapshots.
vfat Mounts Default to Lowercase Shortnames
Tuesday, April 21, 2009
I want a "this is brain-damage" quote from Linus for this mess.
VirtualBox or VMWare Virtual Machine at Login
Sunday, April 12, 2009
How to start a virtual machine in X when a user logs in.
Dialog Progress Bar Through Pipe
Sunday, April 12, 2009
How to use dialog to display a script progress bar and communicate progress to it through a named pipe.
Mount JFFS2 Image
Saturday, October 25, 2008
Example of how to mount a JFFS2 image using mtdblock.

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
- Kernighan

Sys Admin-Home Network...

Home Network Layout

Sunday, August 8, 2004 by digitalpeer, updated Sunday, August 8, 2004

The following diagram shows an existing and proven to work home network layout. You may be able to use this in setting up your own network if you have the resources to accomidate this type of design.

image-324

The Layout Explained


Ultimately, Internet access is routed through the wireless router. However, DP1 is the actual DNS and DHCP server. DP1 and the router are the only machines with static IP addresses. The DNS server acts as both a caching nameserver and a nameserver for the local LAN (see Configuring a BIND DNS Server for more information). The DHCP server allocates IP addresses for both the wired and wireless computers and dynamically updates DNS to make the resources reachable by name (see Setting up Linux DHCP Server with Dynamic DNS Support for more information). If the wireless router were to crap out, DP1 is fully capable of taking over routing with a second network card and an iptables NAT configuration (see Configuring an iptables Firewall and Gateway for more information). If DP1 where to crap out, any of the other Linux machines can easy take over DNS and DHCP services. It's a fairly redundant system in many aspects. Make sure and check out Securing your Wireless LAN if you plan on having wireless support with 802.11b.
Comment Saturday, April 5, 2008 by  by anonymous
Can DP1 run with just one NIC?

Would it be a simple case of disabling DHCP on the router and setting up the DHCP on DP1 and all clients will connect to it automatically get an IP from DP1?

Submit Comment to This Article
Please post a comment if you have something to add, find something wrong, or would like more information on the topic at hand. Do not use the comment form to contact the author about unrelated concerns!

Name: Email (optional):
Enter verification number here: