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