LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid and web server (https://www.linuxquestions.org/questions/linux-server-73/squid-and-web-server-4175515481/)

sunils1973 08-19-2014 12:49 PM

squid and web server
 
Friends pls help me

We have an intranet - ip nos 192.168.0.x range.
I have configured a windows squuid server for internet sharing (which have dual network card and having ipno 192.168.0.15). I have configured the client computers to point to this squid server. But I get internet only when the default gateway is written as 192.168.0.15. The problem is I want to run a php site which is installed in the machine 192.198.0.2. But I am not able to get the application http://192.168.0.2/folder. What should I do?

TB0ne 08-19-2014 01:00 PM

Quote:

Originally Posted by sunils1973 (Post 5223695)
Friends pls help me
We have an intranet - ip nos 192.168.0.x range.
I have configured a windows squuid server for internet sharing (which have dual network card and having ipno 192.168.0.15). I have configured the client computers to point to this squid server. But I get internet only when the default gateway is written as 192.168.0.15. The problem is I want to run a php site which is installed in the machine 192.198.0.2. But I am not able to get the application http://192.168.0.2/folder. What should I do?

As you've been asked before, spell out your words. It's "please", not "pls".

You don't tell us what your default gateway actually is or should be, but it would appear to be that your Windows system doesn't have a route back to the internal network. So, create one. Since that's a task on Windows, and since your Squid server is ALSO running on Windows, there doesn't appear to be much of a Linux-related question here.

sunils1973 08-20-2014 01:55 PM

Quote:

Originally Posted by TB0ne (Post 5223703)
As you've been asked before, spell out your words. It's "please", not "pls".

You don't tell us what your default gateway actually is or should be, but it would appear to be that your Windows system doesn't have a route back to the internal network. So, create one. Since that's a task on Windows, and since your Squid server is ALSO running on Windows, there doesn't appear to be much of a Linux-related question here.

Thank you for the reply

By trial and error method, I found that without the gateway entry in network settings, it is unable to get the internet. The default gateway is the same squid server having dual network setting.

I think the problem is "Windows system doesn't have a route back to the internal network". Well, how this can be done in a linux system. If I am unable to do it in windows, I will do it by installing linux on this system.

TB0ne 08-20-2014 03:29 PM

Quote:

Originally Posted by sunils1973 (Post 5224242)
Thank you for the reply
By trial and error method, I found that without the gateway entry in network settings, it is unable to get the internet.

Right...without a default gateway, networks aren't going to be of much use.
Quote:

The default gateway is the same squid server having dual network setting.
Don't understand what you mean here...you have ONE default gateway; that is what makes it the 'default'. You were asked if the default gateway you mentioned above was correct...is it?
Quote:

I think the problem is "Windows system doesn't have a route back to the internal network". Well, how this can be done in a linux system. If I am unable to do it in windows, I will do it by installing linux on this system.
Yes, that is the problem...which is exactly what I told you in my first reply. You *CAN* do it in Windows, but again, this is LINUXQuestions...not sure how much help you're going to get for Windows on this site, so again, there was nothing Linux-related to your initial question. Did you try to put "how to add a network route" into Google??? The first hit is from Microsoft:
http://technet.microsoft.com/en-us/l...(v=ws.10).aspx

sunils1973 08-21-2014 09:55 AM

Thank you very much for the valuable information. I


All times are GMT -5. The time now is 02:42 AM.