Guus Sliepen <[email protected]> writes: > On Tue, Jul 17, 2012 at 09:29:11AM -0400, Nikolaus Rath wrote: > >> I'm confused by the subnet-up calls made by tinc. I was assuming that >> I'd be called once when it connects to another node. However, subnet-up >> appears to be called much more often than that. >> >> For example, I have the following configuration: >> >> ,---- >> | $ cat tinc.conf >> | ConnectTo = spitzer >> | Name = chronos >> | Mode = switch >> | >> | $ cat hbt/hosts/spitzer >> | address = spitzer.ap.columbia.edu >> | Compression = 11 >> | Cipher = AES128 >> | Subnet = 192.168.1.2/32 >> | Subnet = 192.168.1.0/24#15 > > You are using Mode = switch. This means tinc nodes are learning MAC addresses, > and they are spread around as Subnets. That is why you are seeing MAC > addresses > when subnet-up is called. > > Note that in switch mode, tinc never looks at the IP header, so the Subnet > statements you put in the host config file do not have any effect (except that > they do cause subnet-up to be called for them).
Ah, I see. Makes sense, thanks! Best, -Nikolaus -- »Time flies like an arrow, fruit flies like a Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C _______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
