LOG action using NIC
This topic will demonstrate how to use the LOG
action in OF Renderer
. It enables the communication between two hosts and logging the flow statistics of the particular traffic.
Getting ready
Have your Mininet topology configured and the last NIC version compiled on your machine.
How to do it...
Start your Mininet network with three hosts, and then, create an intent to allow all traffic between two nodes setting LOG
as the action. Create two intents to allow traffic in both directions:
- Start
karaf
:
--[cut]-- ./karaf clean --[cut]--
- Create a new intent to allow bidirectional traffic between two endpoints:
--[cut]-- karaf> intent:add -f 00:00:00:00:00:01 -t 00:00:00:00:00:03 -a ALLOW karaf> intent:add -f 00:00:00:00:00:03 -t 00:00:00:00:00:01 -a ALLOW --[cut]--
- Create a new intent to
LOG
all activities between those two endpoints:
--[cut]-- karaf> intent:add -f 00:00:00:00:00:01 -t 00:00:00:00:00:03 -a LOG --[cut]--
- Verify the communication between both:
--[cut]-- mininet>...