question LAN

From: gaspo1@fastwebnet.it
Date: Mon Aug 25 2003 - 22:23:58 EDT


i need to make a Lan on My SonUS 5.9 OS,
i have:
SunOS on eth0 >> windows1 eth1 (eth* pcn*)
>> windows2 eth2
so,is easy start a Lan with SunOS, or i need particular settings.?
at moment i have debian and my lan is:
eth0 is the 1 interface with real Ip 62.101.126.49
eth1 192.168.0.1
eth2 192.168.1.1

windows 1 is connect to eth1 and use ip: 192.168.0.2
windows 2 is connect to eth2 and use ip: 192.168.1.2
i have put iptables rules like:
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j MASQUERADE
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j MASQUERADE
so all my lan is perfect .But i like SunOS.
Can U help me to make all Settings perfecly?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:59 EDT