This post may be outdated. Please refer to the
Router ModeSupport:The Router mode feature can be enabled and configure in Express, but support is only available for Plus since routing, policy based routing, gateways and high availability can get complicated and unique to each case.
Overview:In router mode, only the wan0 interface is used. In this mode Wanos supports two or more ip addresses on the same interface. Primary wan0, Secondary virtual lan0. Both addresses bind to the wan0 interface.
Traffic from the wan is directed to the standard wan0 ip address.
Traffic from the lan is directed to the virtual lan0 ip address.
All sites can be in router mode or a mix of router mode and bridge mode.
Typical Configuration:
This address may overlap with wan0. In most cases,
this is all that needs to be configured on Wanos. Other than this setting, the network needs to be configured to direct the traffic to these two addresses. Use routing, policy based routing or default gateways to direct traffic to the correct addresses.
To verify that the virtual lan0 is active, ping the address
from the network e.g. from server or router. Remember to enable promiscuous / mac spoofing or equivalent.
Stop here for the initial configuration. "VIRT_LAN0" is the only Wanos config required.
Advance setup with multiple subnets:Optional* Multiple secondary lan0 networks are also supported, if the workstations will direct their default gateways directly to the virtual gateways configured on Wanos. To configure these
multiple additional virtual lan0 networks, these extra networks can be added to /tce/etc/wanos/virtual_lan.
e.g:
10.1.1.1/24
10.2.2.1/24
10.3.3.1/24
All these networks will be available as secondary virtual ip addresses to be used as gateways for the workstations or servers.
Examples:In the diagram the Wan Accelerator is deployed out of path at the main site. Traffic from the wan is directed to the wan0 address 10.0.0.2. Traffic from the lan that needs to be optimized is directed to the virtual lan address 10.0.0.1
Example 2:In the following diagram the data center wan accelerator primary address shares a segment with the gateway router. Traffic from the wan is directed to the wan0 address 10.0.0.2. Devices on the lan have their default gateways set to be the wan accelerator virtual lan addresses 10.1.1.1 and 10.2.2.1. High availability is possible by configuring secondary routes.
VerificationWhile pinging a host at the remote site. tcpdump should produce the following output on wan0:
sudo tcpdump -i wan0 host x.x.x.x

Both the icmp echo and echo replies are seen in the output. Noting only echos and no replies, or only replies and no echos indicates that routing or default gateway or PBR needs to be reviewed.