- DPVS version: v1.7.6, v1.8.4
- Host: Arch Linux
- VirtualBox: 6.1.2
- Virtual machines:
- centos: as the DPVS load balancer
- dfly: as the backend real server
- Virtual networks: File -> Preferences -> Network -> Add NAT networks
- WAN:
172.27.34.0/24
, external traffic and VIPs - LAN:
192.168.34.0/24
, traffic between DPVS and real servers
- WAN:
- OS: CentOS 7.7
- CPU count: 2
- Memory: 4GB
- Network:
- Adapter 1:
- Attached to: NAT Network
172.27.34.0/24
- Type: Intel PRO/1000 MT Server (e1000)
- Attached to: NAT Network
- Adapter 1:
- Attached to: NAT Network
192.168.34.0/24
- Type: Intel PRO/1000 MT Server (e1000)
- Attached to: NAT Network
- Adapter 1:
- OS: DragonFly BSD 5.7
- Memory: 1GB
- NIC: NAT Network
192.168.34.0/24
, virtio-net
- Mode: FullNAT
- VIP:
172.27.34.101
172.27.34.102
- LIP:
192.168.34.101
- RIP:
192.168.34.5
- TCP services:
172.27.34.101:80
->192.168.34.5:80
172.27.34.102:80
->192.168.34.5:81
- Build DPDK
- Install DPVS
- Configure DPVS (use this
dpvs.conf
) - Start DPVS by executing
start-dpvs.sh
- Configure FullNAT by executing
config-dpvs.sh
Run Nginx on ports 80 and 81.