Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

3.1.9 Hosts and IP to use for LAN

Example of LAN configuration (C subnet: 192.168.1.0/24):

     Internet
        |
        +--- External ISP provides POP service (accessed by fetchmail)
        | 
       Access point ISP provides DHCP service and SMTP relay service
        |                     :
       Cable modem         (Dialup)
        |                     :
     LAN Gateway machine external port: eth0 (IP given by ISP's DHCP)
      use old notebook PC (IBM Thinkpad, 486 DX2 50MHz, 20MB RAM)
      run Linux 2.4 kernel with ext3 filesystem.
      run "ipmasq" package (with stronger patch, NAT, and firewall)
      run "dhcp-client" package configured for eth0 (override DNS setting)
      run "dhcp" package configured for eth1
      run "exim" as the smarthost (mode 2)
      run "fetchmail" with a long interval (fallback)
      run "bind" as the cache nameserver for Internet from LAN
                 as authoritative nameserver for LAN domain from LAN
      run "ssh" on port 22 and 8080 (connect from anywhere)
      run "squid" as the cache server for the Debian archive (for APT)
     LAN Gateway machine internal port: eth1 (IP = 192.168.1.1, fixed)
                              |
              +--- LAN Switch (100base T) ---+
              |                              |
     Some fixed IP clients on LAN     Some DHCP clients on LAN
     (IP = 192.168.1.2-127, fixed)    (IP = 192.168.1.128-200, dynamic)

See Network configuration, Chapter 10 for the details of configuring the network. See Building a gateway router, Section 10.12 for the details of configuring the LAN gateway server.


Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire