LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , , , ,

Reply
 
Thread Tools
Old 06-04-2009, 09:08 PM   #1
kinetic
Member
 
Registered: Aug 2007
Location: Denver, Colorado
Distribution: Gentoo
Posts: 32
Thanked: 0
Cool Need advice on how to set up LAN


[Log in to get rid of this advertisement]
Ok so here's the skinny: I am "in charge" of my household's LAN which consists of 4-6 computers (3 connected through ethernet and 1-3 connected via wireless) plus a headless "server" running off of an HP ThinClient. The whole thing goes through this crappy Actiontec modem (wireless included) which is highly prone to overheating, clogging, paper jams, etc... What I've decided to do is have all the traffic route through the ThinClient (set up using Gentoo) before hitting the modem and heading out into the internet. The problem with this is that the ThinClient only has 1 NIC, and I don't intend on buying another one.

What would be the best way to set this up? The way I originally had it was to have everything on the LAN on the same subnet, using the ThinClient as the default gateway, then have the ThinClient use the modem as its default gateway. Some clever NAT tables, and it worked... sort of. I had to turn off ICMP warnings that kept telling the clients to switch their default gateways. Plus the whole thing seemed kind of clunky.

The other idea I had was to set up TWO subnets, one between the ThinClient and the modem using a bridged TUN interface, and the other being the straightforward eth0 interface connecting to the rest of the LAN. I assume this would work although I haven't tried it yet.

So what are your ideas? Do either of these solutions sound reasonable, or is there another solution that I haven't thought of yet?

Please, no solutions involving buing another NIC. People telling me to go out and buy another NIC will be shot on sight.
kinetic is offline  
Tag This Post , , , , , , ,
Reply With Quote
Old 06-04-2009, 10:57 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,434
Thanked: 24
Quote:
Originally Posted by kinetic View Post
The whole thing goes through this crappy Actiontec modem (wireless included) which is highly prone to overheating, clogging, paper jams, etc... What I've decided to do is have all the traffic route through the ThinClient (set up using Gentoo) before hitting the modem and heading out into the internet.
The wireless traffic will pass through the modem either way. In fact, if you want to route the wireless (for firewalling, throttling, or whatever), it must traverse the modem twice.

Quote:
Originally Posted by kinetic View Post
The other idea I had was to set up TWO subnets, one between the ThinClient and the modem using a bridged TUN interface, and the other being the straightforward eth0 interface connecting to the rest of the LAN. I assume this would work although I haven't tried it yet.
If you want 2 subnets, you can use IP aliasing on one interface rather than a bridged TUN interface (requires less setup, behaves almost exactly like a second interface).

Quote:
Originally Posted by kinetic View Post
Please, no solutions involving buing another NIC. People telling me to go out and buy another NIC will be shot on sight.
Buying a second interface (which, btw costs around 5 USD where I'm from) would still make the wireless clients seem more awkwardly configured (you would have a separate setup for the wireless than the wired).

The only problem with a 1-NIC solution is weirdness with DHCP, which I assume is a non-issue with your modem.
osor is offline     Reply With Quote
Old 06-05-2009, 05:11 AM   #3
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 52
Thanked: 6
You may also need to stop ICMP redirect messages, or your hosts will use the direct route to the modem.
TimothyEBaldwin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
WiFi LAN and NAT - seeking for advice dom_lochet Linux - Wireless Networking 3 01-26-2005 06:55 AM
Advice on setting up VPN/LAN DNS rwalkerphl Linux - Networking 2 10-03-2004 01:32 PM
LAN party for BDay, need advice, info, etc. RHLinuxGUY Linux - Networking 3 06-30-2004 07:26 AM
Advice for home LAN setup dkaplowitz Linux - Networking 7 08-09-2003 07:02 PM
Wireless LAN Advice Please Shak Linux - Hardware 8 05-17-2003 03:18 AM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration