Did you enaled ip-forwarding on machine C ? echo "1" > /proc/sys/net/ipv4/ip_forward Stef On Saturday 19 January 2002 23:49, Ali badilli wrote: > Hi, > > I have just started to build a small linux network. I > have the following question. If anybody helps I will > be really appreciated. > > I have installed linux 7.2 in machine A, B, C and > connected them as follows. > > A-----------C----------B > eth0 eth0 eth1 eth0 > > As it is shown in figure C has two ethernet interfaces > eth0 connected to A and eth1 connected to B. > > I have assigned the addresses as follows: > > A: 192.20.1.3 (eth0) mask:255.255.255.0 default > gw:192.20.1.1 > > B: 192.20.2.3 (eth0) mask:255.255.255.0 default > gw:192.20.2.1 > > C: 192.20.1.1 (eth0) mask:255.255.255.0 > default gw:192.20.2.1 > > and 192.20.2.1 (eth1) mask:255.255.255.0 > default gw:192.20.1.1 > > C acts as gateway between between A and B. > > > I configure routing table as follows: > > > A: destination network network mask gateway > 0.0.0.0 0.0.0.0 92.20.1.1 > > 192.20.1.0 255.255.255.0 192.20.1.3 > > > B:destination network network mask gateway > 0.0.0.0 0.0.0.0 92.20.2.1 > > 192.20.2.0 255.255.255.0 192.20.2.3 > > C:destination network network mask gateway > 192.20.2.0 255.255.255.0 192.20.2.1 > (eth0) > 192.20.1.0 255.255.255.0 192.20.1.1 > (eth1) > > I can ping from A to 192.20.2.1 but I cannot ping to > 192.20.2.3(which is B) > > similarly, > > I can ping from B to 192.20.1.1 but cannot ping to > 192.20.1.3 (which is A). > > In other word, Both A and B can ping the interfaces of > C which belong to different subnets, but A and B > cannot ping each other. > > Am I missing some basic configuration things?, Should > I install any other patch or etc?, > > I will be really appreciated If some body give me > clear explanation. Sorry for asking a simple question. > > Haci > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/ > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lar= tc/ --=20 stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" =20