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.
Hello all,
My question to you all is how can I go about getting computers on different subnets (behind different routers) to communicate with each other? My specific situation is this: I have a Linksys WRT54G serving wireless to the building, and a Netgear FVS850 that is handling the wired networking of all the workstations. I want everyone to play nice with each other so that samba/windows shares can be accessed by those on the trusted wireless LAN (I plan also to fit in another Linksys WRT54G that will not be as security restrictive that will only route to the internet at a later date) and by those on the wired LAN. I've looked around and read up on transparent bridges and other tricks to try to get them to at least be able to ping each other, but so far have had no success. Maybe this hardware isn't appropriate? Or maybe I just need a little help to get it to work. TIA
The onlu thing you have to do is to set up the routing. You need to explain to each computer how to reach the other LANs.
Behind heach router, you have a different LAN. Each LAN should (must) have a different address. For example LAN1 = 10.0.1.0/24 LAN2=10.0.2.0/24 LAN3 = 10.0.3.0/24
Once done, just tell each computer that his local router can lead to every LANs: this is the default route. And tell each router where are those LANs.
If you describe your setup, I can give you the exact commands/figures/etc.
jouxte:
That would be different ip sigments, but still the same subnet (255.255.255.0) for all ip sigments..
The poster talked about different subnet sigments (though deligated fixed end ip's, deligated/asigned as it is now configured, and reasigning the scheme is not an option).
fictional example to make it clearer: 253.255.1.45 subnet and a 149.33.45.0 subnet how to let them communicate.
At least that is what i understood from the posters question/situation case.
Correct me if i misread.
if i didn't misread the question.. then a vlan (a.k.a vpn) between the wireless and the wrt would be the only possible way, without much rearranging ip plans on working networks, which give outages etc..
My setup is as follows: DSL modem -> Linksys (ISP DHCP:192.168.5.0/24 wireless) -> Netgear FVS318 (192.168.5.103:192.168.0.0/24)
How do I tell everyone to talk to each other? I've found that computers on the wired LAN(Netgear) can ping everyone on their own LAN plus those clients on the wireless, but the other way around doesn't work.
[EDIT] I should add that the Netgear's WAN port is wired to port #1 on the Linksys [/EDIT]
Is your Netgear FVS318 a "real" router or not ? ie can you tell it to route 192.168.x.0/24 network to one of its sockets ? If no, your setup can't work because this is basically a switch. And a switch is only a physical multi-socket connector for Ethernet.
If yes, you only have to configure your router on each of its Ethernet sockets. It then know where is what. Once done, each computer only have to be configured to use the routeur as the default gateway.
Yeah I dont think I can do that with this netgear. Say I could, though, what do you mean by each one of its sockets? Each LAN port? it only has one WAN port.
Socket... LAN port yes, please excuse my poor english :-)
Then your Netgear is a switch on the internal side. You can't do what you explained.
A routeur allow to have several networks (and your Netgear does it between "external" and "internal" side). A switch don't.
If you really need to have several networks, you need a router. I may be wrong, but you probably don't need to have several networks. Configure every computers for the same 192.168.x.0/24 for example, and it's done.
192.168.x.0/24 = 192.168.x.1 to 192.168.x.254 x = 0 to 254
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.