Add Simple Route Table
Hello!
Long story short - I have a SuSE8.1 machine connected to a cable modem. It has two NICs. I would like to have NIC1 connected to the cable modem and NIC2 to the local network. Apache will be running on NIC1. I want to setup Squid to run on NIC2. However, to do this I am guessing that I need to setup a route from NIC1 to NIC2.
NIC 1 IP: 10.158.0.1
NIC 2 IP: 192.168.0.1
I am very ignorant on how to set this up. Any help would be useful. I have looked at a some how-tos and readmes, but nothing has been really clear.
My current route table is shown below. Sorry about the format. This form did not like multiple spaces to show the table. Dashes seperate the values for the table.
The output of #route is below:
Kernel IP routing table
Destination - Gateway - Genmask - Flags - MSS - Window - irtt - Itface
68.xxx.xxx.192 - 0.0.0.0 - 255.255.255.192 - U - 40 - 0 - 0 - eth1
192.168.0.0 - 0.0.0.0 - 255.255.0.0 - U - 40 - 0 - 0 - eth0
0.0.0.0 - 68.xxx.xxx.193 - 0.0.0.0 - UG - 40 - 0 - 0 - eth
|