Dear
1. First of all your Internet proving server
"192.168.0.1" should be configured as router.
2. You have to decleare gateway 192.168.0.1 in your
machine, which you have done.
After that you should be able to telnet, traceroute,
ssh remote host on the internet from your linux
machine. traceroute is interesting.
As I told you, you will not be able to ping from the
client machine below your linux machines to other side
of the network segment, since you are on "unconnected
ip network" of IP numbers. 192.168... are non
routable. If you still want to ping, you have to
define routes "to and from" other segments, since the
linux kernel do not create routing map for unconnected
ip numbers.
So the ping is not test of your setup, only try
traceroute, and nslookup from the client on network
192.168.10.xxx
your rest of the setup seems ok.
amit
9876229933
--- vipin singla <look_vip@...> wrote:
> Hello Everyone!
>
> I am facing the problem in configuring proxy server
> from a few day in RHEL 4. I don't know wat m i
> missing. Here i am telling you the details of my
> situation.
>
> I hav two ethernet cards in my PC which is to be
> configured as proxy server.
>
> Our main server IP is 192.168.0.1 from where the
> internet connection is coming to my PC.
>
> Now on my linux PC which i want to configure as
> Proxy i am alloted one ip address i.e. 192.168.0.36.
>
> My configurations are :
>
> eth0
> IP : 192.168.0.36 (IP Address
> alloted to me)
> netmask : 255.255.255.0
> gateway : 192.168.0.1 (IP address of
> the main server from where internet
> connection is coming to me)
>
> eth1
> IP : 192.168.10.1 (New Series i
> want to start)
> netmask : 255.255.255.0
> gateway : 192.168.0.36 (IP address of
> eth0)
>
> i hav edited the /etc/squid/squid.conf file making
> following entries.
>
> visible_hostname vipin
> http_port 3128
> acl group src 192.168.10.1-192.168.10.254 (at the
> last of all acl's)
> http_access allow group
>
> Now to the client PC i hav given the IP address
> 192.168.10.2
>
> Client PC is pinging to 192.168.10.1 and
> 192.168.0.36
> but not to 192.168.0.1 and is not able to open any
> site except the one hosted by me on 192.168.10.1.
>
> I have disabled the firewall.
>
> Now i don't know wat m i missing. Any suggestion???
> Plz help me.
>
> Thanks
>
> Vipin Kumar Singla
> PH. 09888273320
>
> UIET
> Panjab University, Chandigarh
>
>
>
>
> ---------------------------------
> Yahoo! DSL Something to write home about. Just
> $16.99/mo. or less
Send instant messages to your online friends http://in.messenger.yahoo.com