Configuring service chaining by using bridging
Consider a scenario in which you have two guest VM1 and VM2, as illustrated in the following network diagram. These guest VMs can be any services such as vNAT, vFW, vDPI, and so on.
-
dp0p0s20f1 and dp0p0s2f0 are the ingress and egress interfaces, respectively, vCPE or the vhost.
- vhost0 and vhost1 are the virtual interfaces for VM1.
- vhost2 and vhost3 are the virtual interfaces for VM2.
- dp0p0s20f1 and vhost0 are in the br0 bridge group.
- vhost1 and vhost2 are in the br1 bridge group.
Note: eth1(VM1) and eth0(VM2) should be in the same subnet because vhost1and vhost2 are associated to the bridge.
In the topology, to perform service chaining between VM1 and VM2, the br1 bridge group is applied between dp0p0s20f1 and vhost0, and br2 between vhost1 and vhost2. All packets that are received on the dp0p0s20f1 are forwarded to vhost0, and the packets that are received on vhost1 are forwarded to vhost2.
Steps | Commands |
---|---|
Configure bridging. |
|
Commit the configuration. |
|
Save the configuration. |
|