L3 switch between two virtual hubs

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Posts: 10
Joined: Sun Jun 28, 2020 10:28 am

L3 switch between two virtual hubs

Post by xiaowei.zhang » Sun Aug 16, 2020 3:08 pm

We are trying to set up a two-level vpn network, and hope to split vpn data in the 1st level. The followings are details
1. the 1st level, one edge node, where we set up one virtual server with two virtual hubs: HUB A is for the clients in L2TP over IPSEC, and its NAT ip range is; HUB B is to connect to center node via cascade, and its virtual NAT is disabled.
2. the 2nd level, one center node, where we set up another virtual server with one virtual hubs, and the hub NAT ip range is, and it is connected by HUB B of edge node via cascade.
when client connects to edge node in L2TP over IPSEC, we set vpn interface as default gateway, so all the data goes to edge node. then we want edge node just delivers data packets whose destination are to virtual HUB B, then to center node via cascade, and the other data packets go out from edge node to internet directly.

for the aboving data flow, we tried one L3 switch on edge node,
1. set up two virtual interaces, one for HUB A,, and the other for HUB B,
2. add routes, gw, and gw
my client connecting to HUB A of edge node has but it cannot ping, or
by tcpdump on edge node and softEther logging, we found the icmp packet from client has been sent to HUB A of edge node. but the packet didn't go to HUB B, it is send to the Linux defaul gateway of edge node, then had no response at all. so L3 switch doesn't work at all.

is there something wrong during my configuration? any help is appreciated!

Post Reply