How to setup an IP router

How to setup an IP router

Post by Shieh Ping Lu » Wed, 05 Feb 1997 04:00:00



Hi,

Assuming I have two networks 192.9.200.0 and 192.9.201.0 and I would like
configure a Linux system to act as an IP router with IP addresses 192.9.200.1
and 192.9.201.1.  How should I go about doing it?

I tried to install 2 ehternet cards by adding append="0,0,eth1" in lilo.conf
and adding ifconfg entry in rc.inet1 to configure eth1.  However, only
devices lo and eth0 appeared in netstat.  Is there any additional step that I
have missed out?  Also, how should I specify the route in rc.inet1?  Can
someone show me a sample script of rc.inet1 for IP router?  Thankx.

Shieh