[Ilugc] urgent help on Linux-LAN

  • From: knura@xxxxxxxxx (Arun Khan)
  • Date: Thu Nov 29 13:44:36 2007

An ascii art of your network topology would have given a much clearer  
picture and help us understand your problem.  BTW, I am curious as to 
why you have complicated your network so much?  Is this a lab 
assignment question?

On Wednesday 28 Nov 2007, swapan karmakar wrote:

two LANS-192.168.1.0 series and 172.16.1.0 series
                                  ^^^^^^^^^^
This is a class B network 172.16.0.0 unless you are subnetting it.

one proxy server whose ip is 172.16.10.1 is connected to braodband
internet (modem).. 

So does your proxy have 2 NICs?  one bridged to the DSL modem and acting 
as WAN interface and the other one connected to your own "router" 
system?

one system acting as router has eth0=172.16.1.1 & 
eth1=192.168.1.1 172.16.1.1 system is getting net via 172.16.10.1
the 192.168.1.2 client is not able to access the internet...is it
possible to acess internet via 192.168.1.1...? 

The proxy server needs to know that 192.168.1.0 network is behind 
172.16.1.1 (man route on how to do this).  Otherwise how will the proxy 
know where to send the packets for 192.168.1.0?  Alternately, do NAT on 
your "router" system on iface 172.16.1.1 - all traffic from 192.168.1. 
will appear as coming from 172.16.1.1

in present case , i 
want to redirect 192.168.1.2 to 172.16.1.1:3128 to access net..

Do not understand what you are trying to do here.  Suggest, first solve 
your basic routing table entries and then tackle above.

ISP has given two dns address & one router address.

This would be on the proxy server.  Your def gw on the 192.168.1. 
network s/b 192.168.1.1 and on the 172.16. network s/b 172.16.10.1

Let us know when you solve the problem (along with your solution) to 
help others who may run into a similar issue.

HTH,
Arun Khan

Other related posts: