LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-24-2008, 08:51 PM   #1
herbie_popnecker
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Rep: Reputation: 0
2 routers 1 pipe


I have one feed coming into a gigabit switch.
Feeds WAN ports of 2 routers, floor 1 and floor 2. They are different companies so I don't want them to access each other.

Any advice? Any need to change the LAN settings?
My computers are also plugged into the switch with real static IPs, so I can access either router by it's static WAN IP...
 
Old 03-24-2008, 10:13 PM   #2
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
Do you control the two routers? If so, then you should be okay. If not, it'd be best to stick in another router in place of the switch. That way you can firewall off the two lans from each other. I guess you've got a router upstream somewhere anyway, giving out ip addresses to the two existing routers. Maybe it's possible to directly connect the two lans to that (without the switch), and do the firewalling form there.

Last edited by beadyallen; 03-24-2008 at 10:15 PM.
 
Old 03-24-2008, 10:24 PM   #3
herbie_popnecker
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Everything plugs into the switch to access the pipe and has a public IP, as does each router. Remote management is set to my public IP only.

We're just having an argument over the LANS, someone is claiming that if Router1 has a 192.168.0.101 and Router2 has a 192.168.0.101 they will somehow interfere with each other, it will 'confuse' the DNS requests.
Everything I remember says they won't, they can't as they're firewalled off. The DNS will see requests from the public IP, not the LAN side.

Last edited by herbie_popnecker; 03-24-2008 at 10:25 PM. Reason: sp
 
Old 03-25-2008, 10:31 AM   #4
lsteacke
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

Rep: Reputation: 16
Well having 2 routers with the same IP in the same subnet will most certainly cause some problems. Mostly likely one router will just never get used, as routes to 192.168.0.101 will always goto one of the routers. Perhaps you could just subnet the network for each of these companies, and segment the 2 logically. They wouldn't be able to access each other being on different subnets.
 
Old 03-28-2008, 06:09 PM   #5
herbie_popnecker
LQ Newbie
 
Registered: Sep 2007
Posts: 8

Original Poster
Rep: Reputation: 0
What routers have the same IP?
They won't bloody work at all if they have the same WAN IPs.
I dunno why I posted the question, it's obvious. LAN1 and LAN2 can't talk to each other unless I go out of my way to make them.
You can access either router by it's IP without bothering to subnet anything.
 
Old 03-28-2008, 09:40 PM   #6
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Quote:
Originally Posted by herbie_popnecker View Post
What routers have the same IP?
They won't bloody work at all if they have the same WAN IPs.
I dunno why I posted the question, it's obvious. LAN1 and LAN2 can't talk to each other unless I go out of my way to make them.
You can access either router by it's IP without bothering to subnet anything.
You are correct.

You can have 90 routers side-by-side with the exact same internal IP scheme, and as long as all their external IPs are differently, they'll happily pass packets all day long without issue.
 
  


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
routers psuchan Linux - Networking 2 09-21-2006 07:04 PM
can i have more than 1 routers? dimgr Linux - Wireless Networking 19 11-21-2004 01:47 PM
2 routers? Buckyjunior Linux - Networking 5 08-15-2004 04:34 PM
Routers New2Lindows Linux - Hardware 5 08-16-2003 06:51 PM
Routers... bac()n Linux - Newbie 3 03-28-2003 11:26 PM

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

All times are GMT -5. The time now is 03:00 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