From 2f915fb51be8f97590085800fc3ff0d4c64284e6 Mon Sep 17 00:00:00 2001 From: Logan007 Date: Sun, 20 Sep 2020 21:14:12 +0545 Subject: [PATCH] consolidated documentation on tap interface configuration --- doc/TapConfiguration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/TapConfiguration.md b/doc/TapConfiguration.md index 5bd632f..3d0df57 100644 --- a/doc/TapConfiguration.md +++ b/doc/TapConfiguration.md @@ -18,7 +18,9 @@ n2n supports several ways to assign an IPv4 address to the virtual ethernet devi ### Manually Assigned IP Address -The command line parameter `-a ` assigns a static IP address, e.g. `-a 192.168.8.5` to the device. The netmask can optionally be provided using `-s `, e.g. `-s 255.255.255.0` which also is the default should `-s` not be provided. +The command line parameter `-a ` assigns a static IP address, e.g. `-a static:192.168.8.5` to the device. The optional `static` keyword (and the delimiting colon) can be omitted, so `-a 192.168.8.5` works as well. + +The netmask can optionally be provided using `-s `, e.g. `-s 255.255.255.0` which also is the default should `-s` not be provided. ### Auto-IP Address