Kvm+ikuai single-arm routing experiment

The entire experimental topology
Kvm+ikuai single-arm routing experiment
host creates a bridge br1
ip link add br1 type bridge
creates a vlan of the bridge br1
ip link add link br1 name br1.1 type vlan id 1
ip addr add 192.168.11.1/24 dev br1.1

ip link add link br1 name br1.8 type vlan id 8
ip addr add 192.168.88.1/24 dev br1.8

The results are as follows:
Kvm+ikuai single-arm routing experiment

Install one virtual machine client centos8, one ikuai router, and the network is designated as br1
Kvm+ikuai single-arm routing experiment
client network configuration:
create a vlan subinterface:
ip link add link ens3 name ens3.1 type vlan id 1
and configure ip, gateway
ip: 192.168.11.101
gw:192.168.11.1
Kvm+ikuai single-arm routing experiment

Router network configuration:
First, the ikuai router single network card access, you can turn on the single-arm routing mode to
enter the ikuai router for the first time, select "enable single-arm routing", and restart the router to take effect
and enter the router again, bind lan1, wan1, and set the ip Address
Kvm+ikuai single-arm routing experiment
lan1:192.168.11.254
wan1:192.168.88.254
gw:192.168.88.1 The
result is as follows:
Kvm+ikuai single-arm routing experiment

Finally test the network
Kvm+ikuai single-arm routing experiment

Guess you like

Origin blog.51cto.com/3823536/2573959