internet sharing windows & solaris
Hi.
This is the situation
I have 2 NICs in a solaris box and a windows client
1 NIC connect to the modem (internet/DHCP) and the other connect to the windows client.
I want the windows client share the internet from the solaris PC. How can I do_
Thanks
PD. Sorry for my poor english.
[326 byte] By [
oashtona] at [2007-11-27 6:16:42]

# 1
That's fairly complex.
Unless your internet connection supports multiple routes on the inbound side (most cheap ones won't), you'd need to run a full NAT on the sun system.
ipfilter can handle it, but the configuration isn't necessarily obvious. I would look around for a good howto about NAT on Solaris.
--
Darren
# 2
The easyest solution is router.
All you need to be connected to the Internet, is dhcp enabled for Solaris and Windows machine.
Most of consumer routers have built in 4 port switches, so most likely that you even will not need additional switch (as I understand, you have no switch in your network).
# 3
I followed your advices and I search "nat solaris" and after reading some (many) tutorials (and staying awake most of the night) I finally could run a NAT in the solarys system and now all my windows client all have internet.
I have some trouble because I have solaris 10 developer edition and it doesn't have pfil, it only have ipfilter for some reason that were out of my understanding. Almost every tutorial assume that the package ipfilter/pfil are installed by default.
Well, thanks for your help