Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

IPNAT, is this possible



would this work? :

                     internet
                         |
                     router(w2k)
                  /      |      \
             PC1  PC2  PC3(*)
                                   \
                                   PC4


(*) netbsd with "net.inet.ip.forwarding=1" (routing)

With setup:
router as 192.168.0.1  (netmask 255.255.255.0)
PC1 as 192.168.0.10  (          --    ||    --           )
PC2 as 192.168.0.20  (          --    ||    --           )
PC3 as 192.168.0.30 and another ethernetcard as 10.0.0.1 (netmask
255.255.255.0 and 255.0.0.0)
PC4 as 10.0.0.2 (netmask 255.0.0.0)

PC1, PC2 and PC3 "sees" internet. PC4 "sees" PC3 (X-server is run on PC4
and
clients on PC3) but does not "see" internet.

Gateway on PC4 is set to 10.0.0.1, on PC3 'sysctl
net.inet.ip.forwarding'
says: 'net.inet.ip.forwarding=1'

would it teoretically be possible to setup PC4 to "see" internet?

--
Øyvin



Home | Main Index | Thread Index | Old Index