daesden,


it would seem that you've got it all working.

ps
one final correction to this thread:

the "route add default" noted below should in fact be
# route add default 192.168.1.1

sorry if my IP address typo confused anyone.

jim


Jim Sandoz replied to my query and explained in a better way my setup:

(config B)

dhcp    192.168.1.1    192.168.0.1   ]----- [PC1] 192.168.0.2
--[dsl router]------[ipf box]----[hub]----- [PC2] 192.168.0.3
                192.168.1.2          ]----- [PCn]

configuring the interface and routing on the ipf box is again
very simple; just have to deal with two intefaces and enabling
routing as well:
# ifconfig if0 192.168.1.2 netmask 255.255.255.0  # outside
# ifconfig if1 192.168.0.1 netmask 255.255.255.0  # inside
# route add default 192.168.0.1
# /usr/sbin/ndd -set /dev/ip ip_forwarding 1    # solaris syntax




Reply via email to