On Tue, Mar 20, 2018 at 05:15:28PM +0200, ST wrote:

> Here
> https://www.tinc-vpn.org/documentation/Example-configuration.html#Example-configuration
> 
> BranchA would be configured like this:
> 
> In /etc/tinc/company/tinc-up:
> 
> # Real interface of internal network:
> # ifconfig eth0 10.1.54.1 netmask 255.255.0.0
> 
> ifconfig $INTERFACE 10.1.54.1 netmask 255.0.0.0
> 
> Is netmask 255.255.0.0 or 255.0.0.0 ?

The documentation is correct, the netmask in that last line is
255.0.0.0. The example is for a VPN with 4 sites, each has a 10.x.0.0/16
out of the 10.0.0.0/8 range. By setting the netmask on the VPN interface
to 255.0.0.0, all packets for 10.0.0.0/8 are automatically being routed
to the VPN interface.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: PGP signature

_______________________________________________
tinc mailing list
[email protected]
https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to