Hi Blue,



I have a firewall/router (fw) that has two NIC. NIC-1 (eth0) belongs to subnet 192.168.0.0/24 and NIC-2 (eth1) belongs to 192.168.0.32/24.

It is also connect to the internet using a modem (ppp0), and has a
default route thru ppp0.

Both subnet can connect to the internet. The fw can ping ping either
subnets, and has routes for 192.168.0.0 thru eth0 and 192.168.0.32 thru
eth1.


Ok.

My problems is that I want the two subnets to be able to see each other.
I am not sure where to start.


Try this:
Start by enabling ip_forwarding.
#echo 1 > /proc/sys/net/ipv4/ip_forward
and make the eth0 the default gateway of 192.168.0.0/24
and eth1 the default gateway of 192.168.0.32/24

I started looking at bridging but found that 2.4 kernel does not support
it.


Linux 2.4 supports bridging.

I was also thinking of making both subnets into one big network,
but since they are on different NIC, I am not very sure how to do that.


So is your setup:
eth0 is gateway of subnet1 and
eth1 is gateway of subnet 2?

Basically I have two LAN connected to a single firewall/router and I
want the two LAN to see each other.


Just make the Linux box act as gateway.

Can anyone give me pointers on what I should look for (or search for in
the web) to get me started (other than upgrading my kernel to 2.6)?


I'd be much oblige for any pointers/hints you can provide.


More info about your network would be nice.

regards,
Kenneth
--
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.q-linux.com (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to