I am planning to use a RHEL5 installed computer as a internet connection sharing device.
I have installed 2 LAN cards, eth0 and eth1.
eth0: Internet
eth1: LAN
eth0 configuration as follows ;
Ipaddress : 115.252.64.187
Subnet : 255.255.255.240
Gateway : 115.252.64.177
eth1 configuration:
ipaddress : 192.168.1.1
subnet : 255.255.255.0
gateway : 192.168.1.1
I wrote the following entries in /etc/resolv.conf:
nameserver 202.138.96.2
(preferred DNS Server)
nameserver 202.138.103.2
(secondary DNS server)
I am confused about which gateway I should use in the above scenario. I am unable to ping to my LAN and am also unable to connect to the Internet. How can I configure this server as my gateway?