i have been using adsl connection to share internet for whole network using gateway of 192.168.0.101 (for test purpose) with dns address 126.96.36.199
i tried internet browsing with a linux terminas(centOS) with ip 192.168.0.105
I want to use the linux as an internet gateway. so i tried using 2 ethernet cards so i configured them as
eth0: ip address: 192.168.0.105
eth1: ip address: 192.168.28.1
dns address: 188.8.131.52
i wanted to test if i could share the internet from another subnetwork with ip 192.168.28.2 via with gateway configured as 192.168.28.1
now i can ping from the remote computer to both 192.168.0.105 and 192.168.28.1
but internet sharing is not happening
i tried all the steps mentioned by http://www.howtoforge.com/nat_iptables
i wanted to make sure internet sharing happens.. so that i can completely shift to linux for internet sharing..
thanks in advance..