LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Using 2 routers as switches only (https://www.linuxquestions.org/questions/linux-networking-3/using-2-routers-as-switches-only-134233/)

bruce1271 01-13-2004 12:54 AM

Using 2 routers as switches only
 
Here is my set-up.

I have my internet connection coming in to my linux. Out Of my linux I have eth1 cat5 going to a router. I am not using anything on the router as a router...only a switch. I then have a 2nd router. The 2nd router is wireless and wired.
I want to connect 1 PC upstairs, wirelessly to the 2nd router. I then want to connect the 1st(wired) router to the 2nd router using a cat 5 cable.

My question is, do I have to use a different gateway on the 2nd router? Also, do I connect the 2 routers using one of the WAN uplink ports or just plug it into a normal port as if it were another pc?

My linux eth1 ip is 192.168.0.1 and I have my gateways on my pc's that are connected to the 1st router(192.168.0.5 ip) and the PC's IP's are 192.168.0.10,11. What should be my third pc thats connected on the 2nd router? Can it be 192.168.0.12? How about the router IP of the 2nd?

I am trying different stuff, and I am can ping the wireless pc, but after 6-10 pings, it drops the connection although the 2 wireless cards are only 25 feet apart.

Thanks

david_ross 01-13-2004 12:50 PM

They should all be on the same subnet and thereforeable to communicate with your linux router.

bruce1271 01-13-2004 04:25 PM

What about uplink ports. also, what IP do I give the routers? Shoudl I enter anything for an internet connection( Like the IP address of the other router that is connected to linux)?

thanks

david_ross 01-14-2004 12:26 PM

If you are only using the router is a switch then you shouldn't need to configure anything.


All times are GMT -5. The time now is 02:49 PM.