hubertschilder
asked on
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?
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?
ASKER
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......
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......
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.
>> 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.
ASKER
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)<-->(1 0.0.0.150- 192.168.0. 1)<-->(192 .168.0.2-1 92.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-1 92.168.2.1 )<->(192.1 68.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..
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)<-->(1
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
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..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yep!, I used internetsharing. That must be it, thanks!
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.