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