Srinivasa Rao wrote:
Yes after changing the subnet mask to 255.255.0.0 it
had worked .any explanation for this problem and
solution?

Given below.


--- Sudev Barar <[EMAIL PROTECTED]> wrote:

On Thu, 2004-03-25 at 18:05, Srinivasa Rao wrote:

cable guys gateway 172.16.50.1 says network
unreachable

the config of eth0
ip  172.16.12.146
subnet mask   255.255.255.0
default gateway   172.16.50.1


ip = 172.016.012.146 mask = 255.255.255.0

... means that only machines with the IP address of the form 172.16.12.xxx are directly reachable using your cable ethernet network. For machines of any other IP, the data has to go via your gateway.

However, your gateway itself has the IP 172.16.50.1, which cannot be reached directly by your machine. This causes your machine to give up trying to find a route to teh concerned machine.

Your gateway should atleast be directly reachable by your computer.

Using a mask of 255.255.0.0 means that any machine with the IP address of the form 172.16.xxx.xxx are directly reachable by your machine. This includes your gateway. That is why this netmask will work.

- Sandip




-- Sandip Bhattacharya sandip (at) puroga.com Puroga Technologies Pvt. Ltd. Work: http://www.puroga.com Home: http://www.sandipb.net

GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3


_______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to