routing problem

Please dont ask me why this configuration, but this is my problem.

computer 1 has internet
computer 2 has internet
computer 3 not.

Computer 3 can ping computer 1 (192.168.2.102)
Computer 3 can't ping router (192.168.2.1)


configuration:


ROUTER: ip : 192.168.2.1 DHCP enabled (WAN connected to adsl modem)
|
|
|
Computer 1   OS WinXP professional   2 Networkcards Bridget Auto configured by DHCP  (IP: 192.168.2.102) (route add 192.168.1.0 mask 255.255.255 192.168.2.104)
|
|
|
Computer 2 OS win98 (Routing enabled) 2 networkcards. 1 auto configured (ip:192.168.2.104), 2 fixed ip : 192.168.1.1 mask 255.255.255.0
|
|
|
Computer 3 OS XP professional 1 networkcard fixed ip: 192.168.1.3 mask 255.255.255.0 gateway 192.168.1.1


This configuration ones worked when computer 1 did not bridge the 2 cards.
So it looks like the problem is in computer 1, but why does computer 2 has
internet while its routed thrue computer 1 by the bridged networkcards.
Anyone an idee?
hubertschilderAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meverestCommented:
Hello,

the router needs a route to computer 3 too.  or bridge the network cards in computer 2 and mke computer3 on the same subnet as the others (i.e. 192.168.2.x)

Cheers.
hubertschilderAuthor Commented:
The router is only connected to Computer 1, computer 2 is connected to computer 1, and computer 3 is connected to computer 2.
Computer 2 is working fine (win98 can not bridge cards). wat is the problem with the configuration for computer 3? because for all 3 computers i can browse the folders of each one of them, but computer 3 can't reach the router......
meverestCommented:
Hello,

>> The router is only connected to Computer 1, computer 2 is connected to computer 1, and computer 3 is connected to computer 2.

yes, I understand how they are connected - I think.

>> wat is the problem with the configuration for computer 3?

Like I said - the router does not know how to reach that subnet.  It is not a problem with the computer - he knows how to reach the router (i.e. the default route/gateway) - but it is a problem with the router - he doesn't know how to find PC3 on  192.168.1.0/24.

What you need to do is help the router find computer 3 the same way that you help computer 1 find computer 3:

route add 192.168.1.0 mask 255.255.255 192.168.2.102

cheers.
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

hubertschilderAuthor Commented:
hmmmm, trying to do that, its a Sweex router, and the NAT is configured to forward port 80 to my webserver, wich is computer1.
I dont know how to apply a ROUTE ADD in that router.

I got this working, when i did not bridget the cards in computer 1, and had a second subnet. No problems all for computer 3 then.

(0.0.0.0-10.0.0.138)<-->(10.0.0.150-192.168.0.1)<-->(192.168.0.2-192.168.1.1)<--> (192.168.1.3) this worked ones
   adsl router                        computer1                             computer2                          computer3
                                      192.168.1.0 192.168.0.2            gateway=192.168.0.1      gateway=192.68.1.1
now it is:
                                                                        < -->(192.168.2.103)
(0.0.0.0-10.0.0.138)<->(10.0.0.150-192.168.2.1)<->(192.168.2.102 bridget)<->(192.168.2.104-192.168.1.1)<->(192.168.1.3)
adsl modem                       sweex router                        computer1                          computer 2                            computer 3
                                           wan/4lan                     gateway=192.168.2.1        gateway=192.168.2.1          gateway=192.168.1.1

maybe I miss something..
meverestCommented:
maybe you ran internet sharing on computer1 when it was not bridged?  if so, then computer1 would be translating the addresses of the other computers and thus get connection to internet by 'proxy'

I just looked at the sweex router docs, and i think that you probably can't do it that way.  You will need to bridge all the interfaces, or you have to run internet sharing on the first one.

Cheers.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hubertschilderAuthor Commented:
Yep!, I used internetsharing. That must be it, thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.