Page 1 of 1

RouterTableAdd command Network is not working

Posted: Wed Feb 13, 2019 5:15 pm
by Tom168
VPNServer Version : softether-vpnserver-v4.25-9656-rtm-2018.01.15-linux-x64-64bit
RouterTableAdd command Network is not working

VPN Server> RouterTableAdd Guildford /NETWORK:10.10.201.120/24 /GATEWAY:10.10.201.1 /METRIC:1

Specify in the format of "IPv4 address/subnet mask".
Specify the IPv4 address by separating the decimal values using dots such as "192.168.0.1". For the subnet mask, either specify decimal values separated by dots such as "255.255.255.0", or you can specify the bit length of subnet mask using a decimal value such as 24.
To specify a standalone host, specify the subnet mask as either "255.255.255.255" or "32".
(Example)
192.168.0.1/24
192.168.0.1/255.255.255.0
192.168.0.5/255.255.255.255

Network Address/Subnet Mask: 10.10.201.120/24

The specified IP address is not a network address.


Network Address/Subnet Mask: 10.10.201.120/24 is not working, /NETWORK:10.10.201.120/24 is not working, but it is working in RouterIfAdd.
How to type the NETWORK for command RouterTableAdd?
Thanks.

Tom

Re: RouterTableAdd command Network is not working

Posted: Thu Apr 25, 2019 1:34 am
by thisjun
Network address should be 0 after netmask.
RouterTableAdd Guildford /NETWORK:10.10.201.0/24 /GATEWAY:10.10.201.1 /METRIC:1