I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in order to connect internet with other computer too.
Here is what I tried.
Pc : eth0 Ip address : 184.108.40.206 Netmask : 255.255.255.0 Laptop : eth0 Ip address : 220.127.116.11 Netmask : 255.255.255.0 wlan0 Ip address : 192.168.2.88 netmask : 255.255.255.0
With this network connection I typed in PC :
route add default gw 18.104.22.168
and also ip_forwarding is enable in Laptop. However when I ping google with PC it says unknown host. I think I missed something which I do not know how to solve it.. Could you plase help me ?