Author Topic: Building a router...  (Read 1927 times)

obob

  • Member
  • **
  • Posts: 86
  • Kudos: 122
Building a router...
« on: 10 September 2006, 08:14 »
Ok, after realizing that my DI-604 is quite possibly a flaming POS, I want to build my own router out of a box of hardware (also I think it'd be super cool to say I have a router with a 3dfx Voodoo2, lol)

SO!
I'm thinking multiple CPU systems, running openmosix so that it works like an SMP (not so it has a higher GFlop rating, but so it can do more things @ once)

SO
my question is how do I connect it into the network? modem -> eth card 1 -> it -> eth card 2 -> switch, that should work right?

also, what OS would be good to run in addition to openmosix and Debian (or can I just pick another OS entirely and still get firewall/routing features?)

edit
just remembered i have a P4 2GHZ, I could just use that, lol
What OS is best though? ClarkConnect? m0n0wall? smoothwall GPL?

Jack2000

  • Guest
Re: Building a router...
« Reply #1 on: 10 September 2006, 08:47 »
I have strong evidence that my isp uses something like squid(/2.5.STABLE3)
to do its biding

bedouin

  • VIP
  • Member
  • ***
  • Posts: 654
  • Kudos: 443
    • http://homepage.mac.com/alqahtani/
Re: Building a router...
« Reply #2 on: 10 September 2006, 21:56 »
Leave 1999 behind.   There's no need to have a huge, ugly beige, noisy box running 24-7 and consuming electricity (perhaps alongside a CRT) when you can buy a $50 Linksys router and install DD-WRT on it (or other 3rd party firmware of your choice).  Look into the WRT-54GL.

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
Re: Building a router...
« Reply #3 on: 10 September 2006, 22:57 »
Depends on what you want your router to be able to do.  Can the linksys do everything a full beige box can?  No.  

However, I think the beige box is probably serious overkill for home network applications.  

There is the coolness factor of it all though...
In brightest day, in darkest night, no evil shall escape my sight....

solemnwarning

  • Member
  • **
  • Posts: 747
  • Kudos: 338
    • http://www.solemnwarning.net
Re: Building a router...
« Reply #4 on: 11 September 2006, 00:11 »
I've got an Athlon XP 2500+ acting as an NAT router and webserver for my LAN, and why would you have a monitor running on it??
-----BEGIN GEEK CODE BLOCK-----
 Version: 3.1
 GCS/CM d- s+:+ a--- C++ UL++++>$ P+ L+++ !E W++ !N !o !K-- w !O !M !V PS+ PE- !Y !PGP !t !5 !X !R tv b+ DI+ !D G e- h !r y-
 ------END GEEK CODE BLOCK------

pofnlice

  • Member
  • **
  • Posts: 999
  • Kudos: 650
Re: Building a router...
« Reply #5 on: 11 September 2006, 00:17 »
uh huh....

I have a Motorola surfboard SB5101E connecteed to a hewlett-packard pavilion 6465 (pentium II, 466MHz w/ 128Mb ram) to a Lincsys 5 port router then to the rest... do what you like...it's your stuff!
Quote from: "Orethrius"
After all, running Windows without a decent anti-virus is like walking through a Red Light District after eating five metric tonnes of Viagra.

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
Re: Building a router...
« Reply #6 on: 11 September 2006, 04:29 »
So you're saying you wanna make a router out of a computer. Well I could think of many better things to with that computer than make it into a router. Just buy a router and use the computer as a computer is meant to be used. And why would a router need a 3dfx Voodoo2 ? :rolleyes:

Pathos

  • Member
  • **
  • Posts: 518
  • Kudos: 416
Re: Building a router...
« Reply #7 on: 11 September 2006, 04:37 »
I would set it up to do more than routing.

add a large hard drive for backup and storage with SAMBA.
add a wireless card and set it up as a wireless access point.
set it up as a torrent client/scheduler.

worker201

  • Global Moderator
  • Member
  • ***
  • Posts: 2,810
  • Kudos: 703
    • http://www.triple-bypass.net
Re: Building a router...
« Reply #8 on: 11 September 2006, 08:11 »
If you can't find anything else to do with it, you could give it to some poor ghetto school in your area.

bedouin

  • VIP
  • Member
  • ***
  • Posts: 654
  • Kudos: 443
    • http://homepage.mac.com/alqahtani/
Re: Building a router...
« Reply #9 on: 11 September 2006, 08:35 »
DD-WRT is Linux firmware for the WRT-54G series of routers that can run Linux (not all can).  Since they're running Linux, you get all of the features you would get with a Linux distribution, like Samba support, SSH, VPNs, and then other cool stuff like turning your router into a hotspot -- all while consuming maybe 7 inches of space and not hearing whirling fans 24-7.  Plus there's a whole series of hacks and mods for it to do stuff like add external storage, overclocking, and of course what the hacked firmware was designed for in the first place: increasing your signal strength (even beyond legal limits, though you'll want to add some cooling since things will be getting hot in there.)

If you want some kind of l33tness factor hack your WRT54G to death.  Putting a bootdisk in a 486 has been done a million times over, and it's just clumsy by today's standards.

Pathos

  • Member
  • **
  • Posts: 518
  • Kudos: 416
Re: Building a router...
« Reply #10 on: 11 September 2006, 13:30 »
just make sure you buy the right one and not a handicapped one.

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
Re: Building a router...
« Reply #11 on: 11 September 2006, 14:19 »
I have experience with building routers out of computers.
Many people do it, especially at all the schools I was working or interning for.

It's great for web content filtering and blocking out spyware, trojans for the entire network using the hosts file list, and mare more usages.

It's mostly ClarkConnect or IPCop, but if you'd want to also use the web or possibly play some games on your NAT box, I'd recommend trying Debian with Shorewall. It's pretty easy to set up.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Re: Building a router...
« Reply #12 on: 12 September 2006, 18:29 »
I had a box with a 266MHz cpu running slackware, with two ethernet cards. One card was hooked up a cable modem, and the other was connected to a good ol' hub.

I made a custom firewall with IP Tables and ran a webserver on it. There wasnt any fancy software on it, I set up the routes and IP Tables rules to make it route the traffic for me. I can't recall exactly what I had to do to set it up (did it a few years ago and never touched it again except updates)

Using Squid as a proxy with adzap was a nice addition to remove ads from websites for me.

I'm not sure why you want a video card in it and such... and why it needs to be so powerful unless your doing some crazy amount of traffic through it.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'