Devdas Bhagat wrote:

On 09/01/05 18:04 +0530, Ravi Kumar wrote:


Hello,
I would like to know what are the things needed to convert a
machine running linux to a router. I know that the machine



sysctl -w net.ipv4.ip_forward=1 and two network interfaces on different networks.
# Make sure you change it to 1 in the /etc/sysctl.conf


1) needs atleast 2 network cards
2) Obviously the filtering has to be done using iptables / ipchains



Filtering?


# use the route command for static routing or use quagga or zebra (older) for other forms of routing.



3) do we need a monitor here ? If we don't have a monitor, how do you
do systems admin... from another machine using ssh or telnet ?



ssh.



What other things do we need to convert the linux machine into a
router ? And how does it fare w.r.t hardware routers like those of
cisco and juniper, dlink etc?


# Read below first. then if you still are going for linux, you can do a lot of 
stuff with it like packet filtering, IP accounting, redirection, content 
filtering, firewalling etc at a much advanced level. a linux router will 
satisfy most of your routing need except where highspeed - heavy links are 
involved.
Cisco/Juniper, etc do not have moving parts. You would need to put Linux
on CF to achieve that goal.

Hardware routers on the higher end side use ASICs to move packets. They
do not use a PCI bus, AFAIK, and hence can move packets faster.

For lower end requirements, Linux works just fine. You may even be able
to do some variety of dynamic routing with Quagga.

However, for anything other than a simple ethernet feed, you need
expensive hardware. The hardware router vendors pretty much support
their cards by default. You would have issues getting drivers for most
cards (I know of E1 cards being available with Linux support, but not
anything better).

Devdas Bhagat


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help





------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to