tha_0ne
10-16-2001, 04:15 PM
Umm...I destroyed my Routing tables in my fresh install of Red Hat today. :D
I have an internet connection, let's say 213.67.215.134 is the IP, and a local network, in which the linux computer has 192.168.1.1.
How should i set the tables up with the "route" command again?
213.67.215.134 - Internet IP (eth0)
192.168.1.1 - Internal IP (eth1)
First, I want to share the connection to my other computer, 192.168.1.* (the entire network), BUT, I want to access the internet on the linux-machine too! ;)
The only routing table I have is "route add -net 127.0.0.1 netmask 255.0.0.0" or something...
So, the thing I wanna do is to fix the table, so both the linux-box AND the network can access the net.
Please help me make it again!!
I have an internet connection, let's say 213.67.215.134 is the IP, and a local network, in which the linux computer has 192.168.1.1.
How should i set the tables up with the "route" command again?
213.67.215.134 - Internet IP (eth0)
192.168.1.1 - Internal IP (eth1)
First, I want to share the connection to my other computer, 192.168.1.* (the entire network), BUT, I want to access the internet on the linux-machine too! ;)
The only routing table I have is "route add -net 127.0.0.1 netmask 255.0.0.0" or something...
So, the thing I wanna do is to fix the table, so both the linux-box AND the network can access the net.
Please help me make it again!!