routing between 2 interfaces

Hello

I have a problem. I got 2 interfaces:

iprb0 - 192.168.0.43

rtls0 - 192.168.1.1

Iprb0 is for connectivity to internet throw 192.168.0.1. My problem is that I need for example from computer with address 192.168.1.2 browse on the internet.Can you help me please how colud I do this?I try everything ( the official documentation for solaris 10, and everything what I have found on google.com) Can you write me some steps to be sure that I am not doing something wrong?

Thank you very much!

AnDY

[637 byte] By [simkoa] at [2007-11-25 22:42:31]
# 1

do u have ip_forwarding activated? u can check with this command #ndd -get /dev/ip ip_forwarding

if its 0 the ip_forwarding is disable :

u can enable it like this

#ndd -set /dev/ip ip_forwarding 1

actually u can make a script that enable it on reboot!

create the script /etc/init.d/ipforwarding ;

#!/sbin/sh

case "$1" in

start)

/usr/sbin/ndd -set /dev/ip ip_forwarding 1

/usr/sbin/ndd -set /dev/ip ip6_forwarding 1

;;

stop)

/usr/sbin/ndd -set /dev/ip ip_forwarding 0

/usr/sbin/ndd -set /dev/ip ip6_forwarding 0

;;

*)

echo "Usage: $0 { start | stop }"

exit 1

;;

esac

exit 0

u make it root exec

#chmod 744 /etc/init.d/ipforwarding

copy it to : /etc/rc2.d:

# cp /etc/init.d/ipforwarding /etc/rc2.d/S69ipforwarding

and that's it hope that help's u

unixcoder at 2007-7-5 14:21:39 > top of Java-index,General,Network Configurations...
# 2
Hi. yes I have everything necessary enabled.I read a lot of documentation but I have no succes with this problem.I dont know what else I am doing wrong.... what should I try next? thanks a lot
simkoa at 2007-7-5 14:21:39 > top of Java-index,General,Network Configurations...