Find the answer to your Linux question:
Results 1 to 6 of 6
Is it possible to convert a linux computer to a router? I am pretty green when it comes to networking, but I have a strong desire to make this work. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie ThoughtVelocity's Avatar
    Join Date
    May 2005
    Location
    OH
    Posts
    160

    Make Linux box into a router


    Is it possible to convert a linux computer to a router? I am pretty green when it comes to networking, but I have a strong desire to make this work. I currently use my SBC supplied DSL router (pppoe) connected to my computer. The router is junk to put it mildly. I have to restart the thing like every half hour or so. Plus I'd love to have one less piece of hardware plugged in. My goal is to do away with it and "bring it inside". Hardware wise I assume all I need is two NIC cards which I have. Is there software to make this easier? Or does a particular distro have some edge in this area? I'm looking for some input at this point. Maybe a link to some howto's to see if this is do-able. Thanks.
    "If you are out to describe the truth leave elegance to the tailor."
    -Einstein

  2. #2
    Linux User Stefann's Avatar
    Join Date
    Nov 2004
    Location
    Boise, ID
    Posts
    340

    Re: Make Linux box into a router

    Quote Originally Posted by ThoughtVelocity
    Is it possible to convert a linux computer to a router? I am pretty green when it comes to networking, but I have a strong desire to make this work. I currently use my SBC supplied DSL router (pppoe) connected to my computer. The router is junk to put it mildly. I have to restart the thing like every half hour or so. Plus I'd love to have one less piece of hardware plugged in. My goal is to do away with it and "bring it inside". Hardware wise I assume all I need is two NIC cards which I have. Is there software to make this easier? Or does a particular distro have some edge in this area? I'm looking for some input at this point. Maybe a link to some howto's to see if this is do-able. Thanks.
    You for one, either need two NIC cards and a external DSL modem, doesn't have to be a router, but has to at least be a modem, said modem needs to work with your ISP, or a internal DSL modem, which also needs to work with your ISP.

    Second, you need a (2nd) NIC to connect to a network hub(not router, they are two entirley different things) which will connect to all of your PC's.

    Third, you need to set up a DHCP server or assign all of your network PC's static IPs.

    Fourth and foremost, you need to set up IPtables to NAT your network, if you have servers running on them id recommend doing some hostname forwarding, but anyways now I'm getting a little overboard.

    Disclaimer: I DO NOT KNOW ANYTHING ON HOW TO SET UP IPTABLES, I only know you need to use it.
    Nothing is worse than ten penguins fighting over which is better, vi or emacs.
    Registered Linux User #404402
    Finally I'm back on LF after a long while.

  3. #3
    Linux Newbie ThoughtVelocity's Avatar
    Join Date
    May 2005
    Location
    OH
    Posts
    160
    You, know I have probably not thought enough about this. What I was refering to as the router is in fact what you say is the modem. That's what I was hoping to eliminate. Well I guess that makes my mind up. Thanks.
    "If you are out to describe the truth leave elegance to the tailor."
    -Einstein

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    There are a few distros which can do this for you automaticially without any hassle, I'd suggest you take a look at either Smoothwall or IPCop. Also, both act as firewalls, require low spec hardware (PII, 32MB RAM) and are relatively painless to setup.
    Life is complex, it has a real part and an imaginary part.

  6. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    52
    Yep, I use IPCop and love it. Though it is not a Modem, it is a multi inteface firewall and router.

  7. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Or you could buy a Linux router...

    http://www.linuxjournal.com/article/7322

    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •