Routing again

Hi

I dont know what try next so please help.

I have 2 LAN's one with adresses 192.168.0.* a second 192.168.1.* and I have two routers the first one has IP 192.168.1.1 and second is 192.168.0.1. The second one is connected to internet.And I want to browse internet from computers with IP 192.168.1.* so I installed solaris 10 on the computer with IP 192.168.1.1. I setup routing tables and I try to ping from computer 192.168.1.2 to 192.168.0.1 but I did not get response.I figured out with tcpdump that the packet goes to 192.168.0.1 and get back to 192.168.1.1 but solaris I dont know why did not forward the packet to 192.168.1.2.

My routing table on solaris is:

Routing Table: IPv4

DestinationGatewayFlags RefUseInterface

-- -- -- --

192.168.0.0 192.168.0.43 U 1461 iprb0

192.168.1.0 192.168.1.1 U 112 rtls0

224.0.0.0192.168.0.43 U 10 iprb0

default 192.168.0.1 UG12

127.0.0.1127.0.0.1UH477 lo0

Please help what I should add to routing table that it will also forward packets to 192.168.1.*.

Thank you!

AnDY

[1286 byte] By [simkoa] at [2007-11-25 22:42:46]
# 1
did you enable ip_forwarding? /usr/sbin/ndd -set /dev/ip ip_forwarding 1
leonkyneur at 2007-7-5 14:22:22 > top of Java-index,General,Network Configurations...
# 2
Check that the router 192.168.0.1 has a route to 192.168.1.0/24 via 192.168.0.43
pmccormick at 2007-7-5 14:22:22 > top of Java-index,General,Network Configurations...