PDA

View Full Version : Two LAN + Internet


kafsar
2005-03-06, 12:27 AM CST
I have installed Fedora FC3 with 3 NIC and Squid as proxy

I have two LAN.

eth0- 10.0.0.1 Connected with DSL router for Internet
eth1- 10.48.60.0 LAN 1
eth2- 192.168.102.0 LAN 2

Selinux disabled

both LAN can access Internet via Squid Proxy..

now problem thet I can connect computer from LAN1 to LAN2 but can't connect form LAN2 to LAN1 even if I eneble both in Security Level TRUSTED DEVICE..

I also attached my rc.firewall file

can any one help me ?


Thanks

mungoose
2005-03-07, 04:06 PM CST
Without reading your attachment (because I do not like attachments) and without the intention to start a 'religious' war on networking I think:
!.) It's 'not kosher' to use the basic network address of 10.0.0.x on the network. I would rather change it to 10.0.1.x (I do not have the space reserved for private use in mind right now).

However, the question is: Do you have an own DNS server running? If not, what kind of software 'controls' your internal inet addresses - do you use the hosts file on each machine?
You might want to check all the entries in either your DNS server setup or/and your host setup.

Are the entries in your various /etc/resolv.conf files pointing to the right gateway and does the gateway computer route internal request correctly, i.e. not through the internet?

Is your squid proxy configured so it won't control internal requests, let's say from 10.48.60.X to 192.168.102.X?

The problem can be manifold. Are your log files showing anything?
Did you test to reach LAN2 from LAN1 without any active firewall and proxy and does this work?

wshawn
2005-03-08, 07:13 AM CST
Just curious... Did you add the proper entries in /etc/hosts?