Fedora as a Router

Tom 'Needs A Hat' Mitchell mitch48 at sbcglobal.net
Thu Mar 18 19:00:01 UTC 2004


On Thu, Mar 18, 2004 at 08:43:39AM -0500, jludwig wrote:

> All linux boxes with 2.4 kernels set up about the same.
> 1) Set /etc/sysctl.conf line net.ipv4.ip_forward = 1
> 2) Modify your static routes to reflect your network(s)
> 3) All the other stuff others will remind me of that I forgot.
> 4) Consider bridging, which I have never used.

Good stuff.

You may also need dynamic routing software or by hand enter your routing
configuration.

Start with "apropos routing; apropos route" to get a list of possible
commands that you have already installed.  Search the RedHat-9
documentation for routing info, setup and tips.  Google search for
Linux route and Linux routing for things.

For many people all you need to do is:
	 chkconfig routed on; service routed start
  or
	 chkconfig zebra on; service zebra start

Read the man pages for what ever routing agent you elect to use.

Ip tables and other filter tricks need attention.

The key is the "or".  You want one and only one dynamic routing
agent active in the system.  This may include your fingers.
For most of us there is a need to understand  "RFC-1918" 
and what "private address spaces" are.

By convention "private address spaces" are not routed.  So if you are
using any of these IP address ranges ( Examples: 10.0.0.0,
192.168.0.0, 192.168.1.0... or 172.16.--172.31.0.0) you will have to 
read the fine manuals (polite speak for RTFM) and configure things
as needed.
  http://www.faqs.org/rfcs/rfc1918.html
  http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1918.html
   
For today skip the IPV-6 tools and stuff ;-)

$ (apropos routing; apropos route) | sort | uniq
.... some edits ....
bgpd                 (8)  - a BGPv4, BGPv4+, BGPv4- routing engine for use with Zebra
ip                   (8)  - TCP/IP interface configuration and routing utility
ipx_route            (8)  - add or delete IPX route
NETLINK_ROUTE [rtnetlink] (7)  - Linux IPv4 routing socket
netstat              (8)  - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
ospfd                (8)  - an OSPF v2 routing engine for use with Zebra
radvd                (8)  - router advertisement daemon for IPv6
radvd.conf [radvd]   (5)  - configuration file of the router advertisement daemon radvd
radvdump             (8)  - dump router advertisements
rdisc                (8)  - network router discovery daemon
ripd                 (8)  - a RIP routing engine for use with Zebra
ripngd               (8)  - a RIP routing engine for use with Zebra and IPv6
route                (8)  - show / manipulate the IP routing table
routed               (8)  - network routing daemon
rtnetlink            (7)  - Linux IPv4 routing socket
traceroute           (8)  - print the route packets take to network host
vtysh                (1)  - a integrated shell for Zebra routing software
xtraceroute          (1)  - graphical (X11) traceroute
zebra                (8)  - a routing manager for use with associated components


-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.





More information about the users mailing list