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 configuration as follows ;
Ipaddress : 18.104.22.168 Subnet : 255.255.255.240 Gateway : 22.214.171.124
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 126.96.36.199 (preferred DNS Server) nameserver 188.8.131.52 (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?