multiple networks per computer

Mike MacNeill mikem at accesscomm.ca
Wed Aug 23 10:41:59 CEST 2000


I have a strange problem that I have worked around for now but I thought
someone might have an answer. My Machines look like this.

192.168.1.1/24    192.168.42.1/24
          |         |
        +++++++++++++++
        +             + server1
        +++++++++++++++
               | extern int
               |
           internet
               |
               | extern int
        +++++++++++++++
        +             + server2
        +++++++++++++++
          |         |
192.168.37.1/24    192.168.38.1/24


both servers have 2 physical internal networks.
the tinc daemons are set up so that server1 is the listener
and server2 is the connector.

If server1 is setup with a tap0 on 192.168.1.1 and
   server2 is setup with a tap0 on 192.168.37.1

If the proper routes and rules are setup you can
from server1   ping 192.168.37.1 is ok
               ping 192.168.37.xxx is ok
               ping 192.168.38.1 is NOT ok!!!!
               ping 192.168.38.xxx is NOT ok!!!!
from server2   ping 192.168.1.1 is ok
               ping 192.168.1.xxx is ok
               ping 192.168.42.1 is ok
               ping 192.168.42.xxx is ok

in other words the 2nd network on server2 cannot get packets
through.

to solve this problem I setup up 2 tinc daemons on each machine.

server1 is setup with a tap0 on 192.168.1.1 and
                        tap1 on 192.168.1.1
server2 is setup with a tap0 on 192.168.37.1 and
                        tap1 on 192.168.38.1

You can then get all the packets through that you need.

Does this strike a chord with anyone???

mikem at accesscomm.ca


-
Tinc:         Discussion list about the tinc VPN daemon
Archive:      http://mail.nl.linux.org/lists/
Tinc site:    http://ftp.nl.linux.org/pub/linux/tinc/



More information about the Tinc mailing list