I configure the IP address like this :
192.168.1.1 (ADSL Modem)
192.168.1.2 (Computer 1)
192.168.1.3 (Computer 2)
and pointing the gateway on each computer to the ADSL modem IP (192.168.1.1)
Logically, this setting have to work. But, in fact i can't browsing to the internet on each computers. I saw the log on the modem that my modem already connected and got WAN IP address.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBSU4FdfkckvpUKvwbqAGuOhoRSPh-6FK75YSW8qC1U0F10y13Bbvd0ScmHTxOEtiPY97jCdsyiIXs0FSURpfrJ8PPF37Kap90Lwq6pKHh9zEzHzQQ7bgz1IFaPDC-DA9HJL5D/s320/modem.jpg)
So, what's wrong here? Ok, i try to solve this problem by changing the TCP/IP address to obtain an IP address automatically.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6dJU-GmeFnHDmP4ccyZqcmfZ5gfIZ40BvIcYYxHgdlpGg9uA6WTF0xQX9sV3G0fCbX4AFbScL7gN3Ko2LDrLBc58NnXC2cJ371AkWRj7_ljzmrHWVMRYVuuWJkQKJJyNRqWB0/s320/modem2.jpg)
Check the connection using ping command and restore the TCP/IP address to the default IP address which is 192.168.1.2 and 192.168.1.3.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilx4KBITpUaJxPZbh8c9WPM3h-AUhVCpRaDHsMuWKk7li4OjMUpOj-ne5RfJXbFbCP9v9w06C1XEehxb6UWw_Hdd42fGR3HwzyW5tCI2jFaLzCzh1vdELIzmEv70f4gv9zkyMT/s320/modem3.jpg)
And, magically now all computers connected to the internet.