LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   adding second router to existing network (https://www.linuxquestions.org/questions/linux-networking-3/adding-second-router-to-existing-network-330716/)

crnchyfrog 06-05-2005 10:44 PM

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?

Matir 06-06-2005 11:51 AM

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.

crnchyfrog 06-06-2005 08:19 PM

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




All times are GMT -5. The time now is 11:02 AM.