Wednesday, February 14, 2024

DIFFERENT COLOR NODE

 

Add the following two lines to your CBR agent definitions.

$udp0 set class_ 1
$udp1 set class_ 2


$ns color 1 Blue
$ns color 2 Red

This code allows you to set different colors for each flow id.

Nam snap shot

No comments:

Post a Comment