212 | | iii. '''duplicate.config''' : in this file, you specify which port you want to duplicate traffic to. To figure out which port maps to which interface, use "sudo ovs-ofctl show br0". (You can use any editor to edit the file, e.g. use nano by typing sudo nano duplicate.config) |
213 | | |
214 | | 3. Run your newly written controller to duplicate traffic on the <data_interface_name> that corresponds to ''OVS:if2'' (which is connected to `host3`): |
| 212 | iii. '''duplicate.config''' : in this file, you need to specify which port you want to duplicate traffic to. We will be duplicating host2 traffic and sending it to host3. To figure out which port maps to which interface, use "sudo ovs-ofctl show br0". (You can use any editor to edit the file, e.g. use nano by typing sudo nano duplicate.config) |
| 213 | |
| 214 | 3. Run your newly written controller to duplicate traffic on the <data_interface_name> that corresponds to ''OVS:if2'' (which is connected to `host3`. We also noted it down in section 2a ): |