Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I have a problem that has been bugging me for quite a while now. I have a home network with about 7-10 computers connected at all times. The topography is as follows:
Main router (Linksys) with four ports, acting as gateway to internet
Connected to it is 3 computers
1 (different) linksys wireless router
on the second linksys router, 3 computers are wired and several
people use the wireless at any given time.
Now, here is my problem...
All computers on the network see only the other computers connected to the router in which the computer is connected to. In other words, any computer connected to the second router cannot ftp/ssh/telnet or anything to the computers on the main router, and visa/versa. I have tried setting the second router up as only a router, and disable dhcp service on it, yet when I do that, none of the computers on the second router can access the internet. How can I make ALL computers on BOTH routers appear as they are on the same network? In other words, how can I make all computers on BOTH routers get their IP address only from the main gateway router? I really hope this is a simple thing to do, as I really do not want to set up static routing on my entire network as it is not feasible, especially since I have odd things connecting to it, such as playstation 2's etc...
If anyone can help me, it would be greatly appreciated.
Thanks in advance,
Jeff
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216
Rep:
Basically what you want to do is make the Linksys Wireless Router (which, I'm guessing, is a WRT54G) an access point only. So on the wireless router, turn off DHCP and routing and assign it a static IP address on the same subnet as the other Linksys router but its default of 192.168.1.1. Then cable the routers together using a crossover cable. All your computers should get their IP config from the DHCP server on the main router and the wireless router acts only as an access point and ethernet switch.
Thanks for the info, I will try it out and see what happens... Since I have a button on the main router that says "press for uplink" I guess I do not need a crossover cable in that case or do I still? I don't need a crossover cable normally as it is now, I just press the uplink button and it works. I will be back on if this doesn't work.
Thanks again,
Jeff
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I am guessing you don't want to purchase a switch?
One way to do this with existing hardware is to move the wireless router to the location of the first router. Configure the wireless router the same as the first router. Now this is example so change as needed.
Wireless router
wan configure as needed
lan side IP 192.168.1.1 netmask 255.255.255.0
turn on dhcp and set range from 192.168.1.100 to 192.168.1.150.
Now modify the fisrt router
wan side say 192.168.3.1 ( anything you want because not needed anyways)
lan side IP 192.168.1.2 netmask 255.255.255.0
turn off dhcp service and anything else not needed.
This router becomes an extended switch for added ethernet ports.
Now connect the the wired first router lan port 1 to the lan port 1 on the wireless with a crossover cable. There will be no cable connected to the wired first router wan side. The wireless wan port will be connect to modem. Then connect any of the computers to the rest of the lan ports. Then turn everthing on.
Now all computers will get there IP from the wireless router no matter which one they are attached to.
What this does is use the wired router as an extended switch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.