LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-27-2010, 11:41 AM   #1
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Rep: Reputation: 16
2 subnets over the same cable


Hi everyone.

Here's my odd request.

I have a 2-floor house, with a single ethernet cable from the ground floor to the 1st.

Downstair there is my ADSL modem, which is connected to the router upstair through this one cable.

Now, I would like to have some more ethernet ports on the ground floor, but there's no room left to run another cable between the floors, so here's the big question: can I run both the modem-router connection and my regular LAN (which are on different subnets) through that one cable, with a switch at both ends?


To make it a little more clear, here is my present configuration
Code:
DOWNSTAIR           UPSTAIR
ADSL Modem -------  Router --- Clients
Here is what i would like to do:
Code:
DOWNSTAIR                     UPSTAIR
ADSL Modem ---- Switch ------ Switch ----(WAN Port) Router --- Clients         
   Clients ----                      ----(LAN Port)
Would it work?
 
Old 11-27-2010, 11:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You're not very clear on what these two different networks are, is it a small uplink subnet between the router and the modem, and then a client subnet behind the natting router? If so, why not just move the router downstairs next to the modem? As for the technicalities of what you're asking, given that you're basically just asking to run two ip subnets on a single untagged physical subnet, then yes it will work. It's an awful awful thing to do, but it'll work.
 
Old 11-27-2010, 12:03 PM   #3
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Original Poster
Rep: Reputation: 16
Thanks for your reply, Chris!

I'm not moving the router downstairs because it has built-in wireless, and i need it mostly on the first floor, so I'd have to get another access point to get a decent speed upstairs.
I understand that it's not a good thing to do, but it shouldn't be a problem as long as bandwidth is concerned: my connection is really bad, since I'm far far away from the exchange (about 6 km), so it's only a ridiculus 640/256 kbps, and I only need a few tens of megs from the LAN.
 
Old 11-27-2010, 12:15 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
How big are your floors? My WAP is on the first floor of my house and I can still get 70%+ signal setting in my attic (yes, I've tested), and all the way out to the back street that I park along I can still get a strong connection.
 
Old 11-27-2010, 12:23 PM   #5
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Original Poster
Rep: Reputation: 16
they're not that big and i have a good signal all over the house, more than good enough to surf the internet, but not enough to get files from the nas, as the speed is less than 1 megabyte per second
 
Old 11-28-2010, 09:35 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
How about go here, & build one of these:
  1. Deep Dish Cylindrical Parabolic Template
  2. Ez-12 Parabolic Reflector
  3. Ez-10 10 dBi Corner Reflector
Then you could move the router downstairs.

I have had a half-size #2 working for about a year at the end of our computer club's suite. It's set up to beam the signal back toward the center of our space.


Chris mentions "a single untagged physical subnet", I think he'd like to recommend 1 or more VLAN-ing switches or routers. Unfortunately, their price may be prohibitive. If you're interested, I could get some (comparatively) low-cost recommendations from a friend that has several installed at his work. If you can afford it, this is probably the most robust & elegant solution.


Finally, a (horrible?) h/w kluge occurs to me: build custom adapters for each end of the ethernet cable that split the 2 unused pairs off into a 2nd ethernet circuit. (Assuming it's 10/100.)


BTW, it's normally bad form here to question the OP's constraints on a solution; but how bad is the problem of stringing another ethernet cable? -- I do some cabling & some carpentry, so I am curious.
 
Old 11-28-2010, 10:55 AM   #7
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 71

Original Poster
Rep: Reputation: 16
With a pair of antennas like the 2nd you mentioned I managed to get stable a 2,5+ km link 2 years ago

Anyway I set up what I described on my 1st post and it seems to work quite reliably, for my needs it's sufficient.

BTW, upstairs everything is gigabit, while downstairs it's 100 Mbit, so the custom adaptor solution would work, but it would be too much trouble to build them...
 
  


Reply

Tags
lan, switch, wan



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
coax cable connector has come loose? need to learn how to terminate coax cable? asif2k General 4 03-20-2009 10:05 PM
LXer: Blue Jeans Cable Strikes Back - Response to Monster Cable LXer Syndicated Linux News 0 04-15-2008 08:30 PM
Connecting two computers with a USB cable (data cable) seran Linux - General 5 08-01-2006 04:51 PM
Bandwidth Pooling ADSL + CABLE + CABLE bosdmeg Linux - Networking 1 04-02-2005 08:28 PM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM

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

All times are GMT -5. The time now is 03:06 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