I am not sure my installation procedure is correct or not so I write a brife in here:
- Select "Enable spoofing of MAC addresses" in the guest OS, which is CentOS 6.6. The host is Server 2008r2.
- Follow this to install the SoftEther
http://exalute.blogspot.com/2013/11/how ... erver.html
- I forgot which one I have selected: the "Remote Access VPN Server" or "Other Advanced Configuration of VPN" on the "SoftEther VPN Server / Bridge Easy Setup".
- Create a Virtual huba, Enable SecureNAT, set huba IP Address to 10.168.30.1, uncheck "Use Virtual DHCP Server Functions"
- Create a Virtual hubc, Enable SecureNAT, set hubc IP Address to 10.168.32.1, uncheck "Use Virtual DHCP Server Functions"
- Create users
- Create a Virtual Layer 3 Switch. Add huba/10.168.30.1 and hubc/10.168.32.1.
- route add 10.168.32.0 mask 255.255.255.0 10.168.30.1 on computer 10.168.30.10
- route add 10.168.30.0 mask 255.255.255.0 10.168.32.1 on computer 10.168.32.10
that's all
I have done a lot of trial and error. Unfortunately the current setting cannot ping the other hub ip now. I don't know why.
Except the ipconfig, I redo the route print and tracert. Hope it helps.
---------------------
computer 10.168.30.10
Windows IP Configuration
Ethernet adapter VPN119 - VPN Client:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter VPN2 - VPN Client:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.168.30.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VPN127 - VPN Client:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Wired Ethernet Connection 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Wired Ethernet Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Bluetooth:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : fe80::8973:6b9e:8c5a:531e%4
IPv4 Address. . . . . . . . . . . : 192.168.50.51
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.50.50
Ethernet adapter Wired Ethernet Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.lan:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : lan
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{6F7097D7-EB66-4598-9B13-69042A9C8F87}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
===========================================================================
Interface List
28...00 ac e9 71 bd da ......VPN Client Adapter - VPN119
27...00 ac af 10 d0 fd ......VPN Client Adapter - VPN2
26...00 ac 7c a9 cb ed ......VPN Client Adapter - VPN127
15...00 ff f6 94 27 ed ......TAP-Windows Adapter V9 #2
10...00 ff 26 4c bf 37 ......TAP-Windows Adapter V9
7...ac 7b a1 09 f3 9f ......Microsoft Wi-Fi Direct
6...ac 7b a1 09 f3 a2 ......Bluetooth
4...ac 7b a1 09 f3 9e ......Intel(R) Wireless-N 7260
3...b8 2a 72 fb ae 68 ......Realtek PCIe GBE Family Controller
1...........................Software Loopback Interface 1
8...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
9...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
11...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.50.50 192.168.50.51 25
10.168.30.0 255.255.255.0 On-link 10.168.30.10 257
10.168.30.10 255.255.255.255 On-link 10.168.30.10 257
10.168.30.255 255.255.255.255 On-link 10.168.30.10 257
10.168.32.0 255.255.255.0 10.168.30.1 10.168.30.10 2
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
130.158.6.111 255.255.255.255 192.168.50.50 192.168.50.51 25
192.168.50.0 255.255.255.0 On-link 192.168.50.51 281
192.168.50.51 255.255.255.255 On-link 192.168.50.51 281
192.168.50.255 255.255.255.255 On-link 192.168.50.51 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.168.30.10 257
224.0.0.0 240.0.0.0 On-link 192.168.50.51 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.168.30.10 257
255.255.255.255 255.255.255.255 On-link 192.168.50.51 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.50.50 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
4 281 fe80::/64 On-link
4 281 fe80::8973:6b9e:8c5a:531e/128
On-link
1 306 ff00::/8 On-link
4 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\30.10>tracert 10.168.30.1
Tracing route to 10.168.30.1 over a maximum of 30 hops
1 2 ms 2 ms 3 ms 10.168.30.1
Trace complete.
C:\30.10>tracert 10.168.32.1
Tracing route to 10.168.32.1 over a maximum of 30 hops
1 5 ms 7 ms 3 ms 10.168.30.1
2 3 ms 70 ms 138 ms OpenWrt.lan [192.168.50.50]
3 327 ms 277 ms 58 ms 221.126.199.1
4 295 ms 27 ms 24 ms 10.30.0.113
5 * * * Request timed out.
6 ^C
C:\30.10>