
Dear "T K, Sunil Kumar",
please stop top posting / full quoting.
Make sure to read http://www.netmeister.org/news/learn2quote.html
In message 674D2C24C8992F46817BBBF3ECAE914F4EBF8714A9@blr-sms-exch01.digi.com you wrote:
If you IP address is 192.168.42.30, then the gateway should have an IP address in _your_ network, i. e. something starting 192.168.xx.xx
--> Yes. I agree with you. Whatever gateway IP I have mentioned it is of server's gateway IP (In this case server is my PC. So I have given my PC gateway IP.) But earlier it was " gatewayip=0.0.0.0" and was working fine also. Can't we go ahead without gatewayip?
If your server's and your target's IP addresses are in two different networks (as determined by their respective IP addresses and the uset network mask) then you do need a gateway, and it mut have an IP address in the network where your target is (otherwise the target cannot talk to it).
If you put both the server and the target in the same network then no gateway i sneeded. In this case "gatewayip" should be unset.
Best regards,
Wolfgang Denk