RouterTableAdd command Network is not working

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Tom168
Posts: 1
Joined: Wed Feb 13, 2019 4:32 pm

RouterTableAdd command Network is not working

Post by Tom168 » Wed Feb 13, 2019 5:15 pm

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

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: RouterTableAdd command Network is not working

Post by thisjun » Thu Apr 25, 2019 1:34 am

Network address should be 0 after netmask.
RouterTableAdd Guildford /NETWORK:10.10.201.0/24 /GATEWAY:10.10.201.1 /METRIC:1

Post Reply