The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Subdividing a network while sharing an internet connection ?

    Discussion in 'Networking and Wireless' started by 00940, Feb 20, 2011.

  1. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
    Here's my problem: I've been asked to reorganize a network in order to reduce cost but I've to do it on a shoestring (it's for a non-profit thing)

    Currently, they have three distinct ADSL lines for three groups of computers: 1/ a public computer room, 2/ the administration office and 3/ the staff's rooms. They want to do away with the redudant ADSL lines and keep only one. But they insist that the three computer groups should not be able to see one another.

    The wiring is a mess but mostly in place. I've also three integrated modem/router (linksys WAG354G) and a ton of hubs.

    If anyone had any pointers on how to do this in the cheapest possible way, I'd be very grateful.
     
  2. ATG

    ATG 2x4 Super Moderator

    Reputations:
    3,306
    Messages:
    4,461
    Likes Received:
    344
    Trophy Points:
    151
    I think you can achieve what you describe with NAT, configuring one port for each group of computer(meaning subnetworks), that way all the groups could reach Internet and remain in their own separated network.
    However I have no idea if it can be done with the router you have.
     
  3. merlin_72032

    merlin_72032 Notebook Evangelist

    Reputations:
    117
    Messages:
    523
    Likes Received:
    0
    Trophy Points:
    30
    Get Cisco switch and implement VLAN and private VLAN. That is all you need to do. You also need to configure static route for the internet connection.
     
  4. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
  5. blue68f100

    blue68f100 Notebook Virtuoso

    Reputations:
    1,020
    Messages:
    3,439
    Likes Received:
    0
    Trophy Points:
    105
    Depending on who's router and/or switch that you have, it may already support vlans. A cheap way if all 3 groups are on their own switch, using a router on the front end could work. My netgear router supports vlans, as well as reserved IP's, static routes, among other options.

    dd-wrt firmware is good if your router supports it.
     
  6. chimpanzee

    chimpanzee Notebook Virtuoso

    Reputations:
    683
    Messages:
    2,561
    Likes Received:
    0
    Trophy Points:
    55
    VLAN.

    If I remember correctly, OpenWrt does support vlan so DD-WRT should too.

    edit:
    the above recommendation of 3 different switches may be simpler and cheaper.
     
  7. merlin_72032

    merlin_72032 Notebook Evangelist

    Reputations:
    117
    Messages:
    523
    Likes Received:
    0
    Trophy Points:
    30
    You can use another switch. It doesn't have to be Cisco, but your keyword is VLAN. That is the only thing that can help you accomplish what you want.
     
  8. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
    VLAN it is then... I don't think I can do it much cheaper than with the flashed wrt54gl. It's about 55€ new, no switch with vlan support is as cheap.

    Thanks a lot everyone, I'll post my success or failure :D
     
  9. newsposter

    newsposter Notebook Virtuoso

    Reputations:
    801
    Messages:
    3,881
    Likes Received:
    0
    Trophy Points:
    105
    any way you do this, you're probably going to have to spend money in order to set the company up to save money.

    Depending on the cost of your multiple adsl lines, what kind of new hardware you might have to buy, and the amount of hours needed to get the new setup running and fully segmented/isolated/protected, the 'payback' for this could be years. Many years.

    De sure to do this analysis BEFORE you commit to any action.
     
  10. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
    Actually, I did that analysis.

    The two ADSL lines are 40€ and 25€ per month (the one they keep is more expensive).

    The wrt54gl is 55€.
    The hours of work are taken out of my free time; I'm no professionnal (I wouldn't ask otherwise). I expect to spend a week-end on this. It'll cost them a pair of meals. ;)
    I might need some meters of CAT5 to tidy up the network layout.

    Unless I'm missing something, the investment would be recovered in a pair of months.

    Here's a schema of what I've in mind:
     

    Attached Files:

  11. merlin_72032

    merlin_72032 Notebook Evangelist

    Reputations:
    117
    Messages:
    523
    Likes Received:
    0
    Trophy Points:
    30
    I would get rid of the hub and combine one DSL line. I don't know how you are going to route the the traffice between VLAN with the equipment you have. If I were you, I would just buy one gigabit manage switch and plug everyone into that switch. You just segment the user by VLAN/subnet, and you have one static route to your DSL.

    This is just me. I hope it would help.
     
  12. chimpanzee

    chimpanzee Notebook Virtuoso

    Reputations:
    683
    Messages:
    2,561
    Likes Received:
    0
    Trophy Points:
    55
    I think the hub is a way to 'save money' :)

    The WRT router should be able to support VLAN but there is only 4 LAN port there(usually). By using some very cheap/free hubs(basically using its uplink/downlink support), he can aggregate more machine into the same WRT router. In other words, the hub is as dumb as it can be, just using its ports to relay to the WRT router.

    Of course, as you said a slightly more expensive smarter switch may be easier but being an non profit organization, funding can be a concern.

    EDIT:
    BTW, if the WRT has problem, you can always find a used PC(donated, unloved etc.) and put 2 NIC into it and run linux to serve as the router. May actually be easier and faster too. Power consumption is a slight concern though.
     
  13. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
    I'm affraid you've lost me.

    If I understand what you suggest, you'd use the wag354 as modem and router and follow it by a manageable switch to set up the VLANs ?

    What is the difference with a setup using the wag354 as modem and the wrt54gl as router and manageable switch to set up the VLANs ? The wrt54gl (once using dd-wrt or open-wrt) is just a router + a manageable 4-ports switch in one box (well, plus a wireless section but it'll be disabled in the end).

    The only difference is that the wrt54gl is 55€. The cheapest manageable switch with VLANs I can find is like twice as much.

    edit : message written while chimpazee was answering
     
  14. merlin_72032

    merlin_72032 Notebook Evangelist

    Reputations:
    117
    Messages:
    523
    Likes Received:
    0
    Trophy Points:
    30
    I just look at your chart. It looks fine, and I assume that the router can assign multiple scopes of IP subnet. I also assume that you are using class C 192.168.x.x. With just few clients you have, I don't know why you need VLAN?

    Just put them on the same subnet should be more than fine. It isn't like you are going to have cross-talk between port on the switch. Of course, it will happend when you use hub.
     
  15. chimpanzee

    chimpanzee Notebook Virtuoso

    Reputations:
    683
    Messages:
    2,561
    Likes Received:
    0
    Trophy Points:
    55
    yup, manually sub-divide them into different class C based on MAC is another option too.
     
  16. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
    The chart is a simplified one. There's a total of about 25 computers, plus laptops from visitors connecting in rooms and in the public computer room.
     
  17. blue68f100

    blue68f100 Notebook Virtuoso

    Reputations:
    1,020
    Messages:
    3,439
    Likes Received:
    0
    Trophy Points:
    105
    I would add one thing, loose the hubs. Any place you see a hub use a switch. Hubs will kill any performance since the traffic is broadcasted through all ports. With switches if users are sharing files it will not need to go all the way back to the router for routing.
     
  18. 00940

    00940 Notebook Consultant

    Reputations:
    13
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    30
    You're right. Unmanaged switches are pretty cheap those days anyway. :)