LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-14-2010, 12:08 PM   #1
mvidberg
LQ Newbie
 
Registered: Jun 2007
Location: Ontario, Canada
Distribution: Ubuntu, Debian, CentOS
Posts: 28

Rep: Reputation: 16
Setting up two different LANs using three routers


So I have 3 home routers, 1 belkin and 2 netgear. I have my ISP internet connection coming into my belkin, which I then have the 2 netgear routers (from their WAN) plugged into Belkins LAN ports. Now the Ubuntu computers I have on Netgear LAN 1 and Netgear LAN2 can get to Belkin just fine (at 192.168.1.1), but I am unable to access a computer on LAN1 from a computer on LAN2 and vice-versa. My Belkin is 192.168.1.1, my Netgear1 WAN is 192.168.1.100 and Netgear2 WAN is 192.168.1.200. I have the netgears both assigning DHCP IP's from range of 192.168.0.100 to 192.168.0.150 on their LAN ports.

Now, I have set Netgear LAN1 port 80 NAT'd to go to one of my computers on it. I try to access 192.168.1.100:80 from a computer on Netgear LAN2 network and it say host unreachable.

What am I doing wrong?
 
Old 06-14-2010, 12:14 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
What am I doing wrong?
You're double-NATing (triple?). Why would you do that? Go ISP -> Belkin -> Switch(es) -> Computers; note switches instead of routers. If you don't have any real switches, see if your Netgears have an option to just act as a switch. It will make everything a lot easier.
 
  


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
How to set up VPN when the LANs are on stand-alone (ie: D-Link) routers gau_veldt Linux - Networking 1 08-26-2006 10:06 PM
Setting up multiple routers toejam Linux - Networking 3 06-09-2004 10:08 AM
Setting up wireless lans JonChristmas Linux - Wireless Networking 15 06-03-2004 06:14 PM
Setting up 2 LANS that can use the internet through same cable modem Yohhan Linux - Hardware 1 01-22-2003 03:46 PM
LANs andymay27 Linux - Networking 1 10-14-2001 02:14 PM

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

All times are GMT -5. The time now is 03:40 PM.

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