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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Router to Router Connections

Suppose you have, for example, a DSL504 ADSL Moden/Router which is a 4 port router (in addition to being an ADSL modem). You've bought a second (perhaps even a wireless) router and want to plug this into the network to share all local machines, and to share the Internet connection. Let's refer to the ADSL router as router A and the second router B.

Configure router A to issue DHCP addresses in some range that does not include one IP address that we will use for router B For example, router A might only issue IP's in the range to and we'll configure router B with This is all the setup that is required for router A, which otherwise has DHCP enabled and its usual WAN setup for your ISP.

Disable DHCP for router B, and configure its WAN to any STATIC IP. Specify a gateway IP of (or perhaps routers will not allow This will stop it sending traffic to its WAN (we won't be using this router's WAN connection). Further configure the WAN Type to be Static with a WAN IP of perhaps (should be different to the A network), and a Subnet Mask of

The LAN configuration for router B should be set to STATIC with an IP address within the subnet of router A but outside its DHCP range. We might set the LAN IP to with a Subnet Mask of and with DHCP Disabled. In fact, router A will serve as the DHCP server for anything connected to router B.

Make sure nothing is plugged into router B's WAN. Connect a LAN ethernet port of router B to a LAN ethernet port of router A to have them talking to each other.

   Router \textit{A}                   Router \textit{B}
   WAN: --> ISP modem           WAN: Empty ethernet
        Configured for ISP           Static IP with Gateway
   LAN:                         LAN:
     IP=               IP=
     Subnet         Subnet
     DHCP: Enabled                DHCP: Disabled
   LAN Ethernet Cabling:
     (1) <======================> (1)
     (2) --> PC1                  (2)
     (3) --> PC2                  (3)
     (4) --> PC3                  (4)

That's it!

Now, computers serviced by router B will be assigned DHCP by router A, within the 192.168.0.* network, together with DNS assignments. Router B is just another IP node on A's network. Any LAN computer can access and configure router B by accessing it as All computers will be on the same network subnet and so they will have access to each other for file and printer sharing.

Copyright © 1995-2006 [email protected]

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