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 : 220.127.116.11 Subnet : 255.255.255.240 Gateway : 18.104.22.168
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 22.214.171.124 (preferred DNS Server) nameserver 126.96.36.199 (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?