I'm evaluating a RouterOS currently on virtual machine to estimate some functions that need to me - if all will be good, planning to buy Mikrotik Wi-Fi router. One of features which I'm interested in is L2TP client, so first of all I've tried to configure it on my test environment (one "client PC" under Windows and RouterOS host which serves as a router). Although client configured and connection established (was able to traceroute remote gateway on remote VPN), I saw that l2tp interface got wrong network settings from DHCP server - see configuration commands and info below:
Meanwhile according to SoftEther server logs (it's used as L2TP server) - DHCP supplies all correct network settings including network, gateway etc:
Code: Select all
2015-08-20 08:51:35.343 L2TP PPP Session [xxx.xxx.xxx.xxx:48390]: Trying to request an IP address from the DHCP server.
2015-08-20 08:51:35.484 [HUB "VPN01"] Session "SID-LOCALBRIDGE-1": The DHCP server of host "00-AC-CA-F7-19-BC" (10.7.0.1) on this session allocated, for host "SID-xxxxx-[L2TP]-10" on another session "CA-82-6F-00-9A-3E", the new IP address 10.7.0.100.
2015-08-20 08:51:35.484 L2TP PPP Session [xxx.xxx.xxx.xxx:48390]: An IP address is assigned. IP Address of Client: 10.7.0.100, Subnet Mask: 255.255.255.0, Default Gateway: 10.7.0.1, Domain Name: "ll-local", DNS Server 1: 8.8.8.8, DNS Server 2: 0.0.0.0, WINS Server 1: 0.0.0.0, WINS Server 2: 0.0.0.0, IP Address of DHCP Server: 10.7.0.1, Lease Lifetime: 43200 seconds
2015-08-20 08:51:35.484 L2TP PPP Session [xxx.xxx.xxx.xxx:48390]: The IP address and other network information parameters are set successfully. IP Address of Client: 10.7.0.100, Subnet Mask: 255.255.255.0, Default Gateway: 10.7.0.1, DNS Server 1: 8.8.8.8, DNS Server 2: 0.0.0.0, WINS Server 1: 0.0.0.0, WINS Server 2: 0.0.0.0
Best regards,
Konstantin