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 <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
<http://www.tinc-vpn.org/pipermail/tinc/attachments/20180320/1c423822/attachment.sig>