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-05-2005, 10:44 PM   #1
crnchyfrog
LQ Newbie
 
Registered: Oct 2004
Location: Shanghai
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
adding second router to existing network


I have a netgear wireless router in one room and a linksys wirless router in a second room.

The netgear wireless router has a ip address of 192.168.0.1 and has DHCP enabled in the range of 192.168.0.1 - 50. And is connected to the internet via adsll

I want to add the computers in the second room to the existing network using the linksys router. Can they be in the same subnet of 192.168.0 ? Can those computers use the netgear router to get a DHCP assigned IP address?

I have the choice of setting up they Linksys router as a gateway or a router. I know I have to choose router.

When I had the connection setup as such: it didn't work.
Linksys Config:

Router
The destination IP address is: 192.168.0.1
The subnet is: 255.255.255.0
The gateway is: 192.168.0.1
DHCP ENABLED.

When I had the connection set up as:

Gatewau
The destination IP address is: 192.168.0.1
The subnet is: 255.255.255.0
The gateway is: 192.168.0.1
DHCP ENABLED

I could get onto the internet, but not see my internal network.


Do I have to set up a static route on the Netgear router to see my linksys router?
 
Old 06-06-2005, 11:51 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you have multiple routers, you will always be having trouble seeing an internal network as they will segment the network off from each other. Why do you need multiple routers? Using the linksys as a gateway is far more likely to work, if you really need the second access point.
 
Old 06-06-2005, 08:19 PM   #3
crnchyfrog
LQ Newbie
 
Registered: Oct 2004
Location: Shanghai
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
Why does everybody say that? The reason for this was because the wireless on the netgear was flakey, so i wanted more reliable wireless access and because the 2nd room had more computers than ethernet jacks. I could have gone out and bought a switch, but i already had the Linksys router on me. that gave me what i was looking for (wireless access point) and 2 extra ports. I disabled the wireless on the Netgear router and used the wireless from linksys.

I got it to work as an access point.

For it to work as a wireless access point:
I changed the settings of the Linksys Router to have a
static IP of 192.168.0.100
subnet 255.255.255.0
gateway 192.168.0.1 (netgear router IP)
DHCP is disabled (all clients get their ip from the netgear router)

I also gave the Linksys a Local IP address of 192.168.0.100 (as the router could have 2 ip addresses.)
then I changed the router setup from "gateway" to "Router"
Enabled RIP
I created a static route under advanced settings.
Desination LAN IP was 192.168.0.0 (this is key) it cannot be 192.168.0.1
subnet 255.255.255.0
default gateway 192.168.0.1

I connected a cat5 from the netgear router (which was going through another switch) to a REGULAR port on the linksys. The WAN port or UPLINK port on the linksys is not being used.
I could then connect to the entire network without any problems and access the internet.

This following webpage had info on what i was looking for.
http://www.tomsnetworking.com/Sectio...le51-page3.php



Last edited by crnchyfrog; 06-06-2005 at 08:21 PM.
 
  


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
Adding a new partition to an existing LV ntwrkguru Fedora 9 11-03-2005 08:22 AM
How can I set my Suse 9.0 system to work as a router on an existing network? ww6y Linux - Networking 1 02-04-2004 09:08 AM
Adding new os to existing one synapse Linux - Newbie 1 01-27-2004 10:58 AM
Adding linux box (wireless) to existing home network drwatts Linux - Wireless Networking 4 12-21-2003 03:31 PM
Setting up a router on existing network MRK Linux - Networking 3 12-09-2003 06:42 PM

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

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