LinuxQuestions.org
Visit Jeremy's Blog.
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 10-22-2009, 03:51 PM   #1
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
Traversing Subnets


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
 
Old 10-22-2009, 04:01 PM   #2
Jouxte
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
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.
 
Old 10-22-2009, 04:11 PM   #3
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
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..

Last edited by teebones; 10-22-2009 at 04:16 PM.
 
Old 10-22-2009, 04:19 PM   #4
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Original Poster
Rep: Reputation: 35
Thanks for the quick replies!

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]

Last edited by gankoji; 10-22-2009 at 04:24 PM.
 
Old 10-23-2009, 02:41 AM   #5
Jouxte
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
I understand better now.

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.
 
Old 10-23-2009, 10:46 AM   #6
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Original Poster
Rep: Reputation: 35
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.
 
Old 10-24-2009, 01:14 AM   #7
Jouxte
LQ Newbie
 
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
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
 
  


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
traversing in parsed xml document naveenisback Programming 1 07-16-2009 08:59 AM
traversing in parsed xml document naveenisback Linux - Software 1 07-16-2009 02:36 AM
C Shell - Traversing a file lundq1kp Linux - Newbie 1 06-06-2008 06:41 PM
Recursively traversing sub-directories ark86 Linux - Newbie 2 01-29-2006 01:15 PM
Traversing from previous post c0rk3y *BSD 1 07-26-2002 09:15 PM

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

All times are GMT -5. The time now is 06:05 AM.

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