Friday, August 16, 2013

IxNetwork Traffic: How to measure Latency and jitter


Setup information :
2 ports connected back to back
Port1 IP=1.1.1.1
Port2 IP=1.1.1.2
Send traffic from Port1 to Port2 and check latency/jitter.

Step1.  Enable Latency and Jitter measurements for the test
In order to measure jitter you will need to enable  Latency and Delay Variation statistics measurements from traffic options.

Go to Test Options (main ribbon) -Traffic Options and enable Latency and Delay Variation

There are some restrictions regarding which set of statistics can work together, please check the bellow compatibility table



Step2. Configure the ports 


Step3. Create a Traffic Item
On flow tracking page make sure that you enable Latency  Bin measurements and flow tracking.
Since the latency variation is a perFlow statistics enable some sort of  flow tracking.
I’ve chosen Flow tracking based on Traffic Item



Step4. Apply and start the traffic

Step5. Verifying the results
On main ribbon on View tab  verify that Statistics button is  pressed








On main ribbon on Data tab verify that Traffic Statistics button is pressed

On the  bottom part of the screen  on Traffic Item Statistics you should see by default all the statistics 




If you want to see only the latency related one choose the predefined Latency tab

Wednesday, July 17, 2013

IxNetwork Traffic : How to Configure Incremental Raw Traffic


In  case you need to send IP traffic from a  bunch  of source addresses  to   other bunch of destination address you have to options.
Option 1: configure IP Interfaces and use them to create  IPv4 Traffic Item
 This is useful when you   need to   add different other protocol on those IP addresses: let’s say that when you need  to send traffic from 1.1.0.1 and in the same time 1.1.0.1 should be a simulated OSPF Router
 Option 2: create directly Raw Traffic Item   between 2 ports and add IPv4 on payload .
This is useful if your purpose is just to send traffic. Take in consideration that you should  know the value of the 1st Hop MAC Address  ( if  the traffic will pass through a router).

Bellow I am going to explain how to create traffic using the 2nd option

Setup:
Create 1 traffic item with 10 flows tracked after the Source IP as bellow:
Flow 1   VLAN 101 Source IP=1.1.0.1 Destination IP=2.1.0.1
Flow2    VLAN 102 Source IP=1.2.0.1 Destination IP=2.2.0.1
………
Flow10  VLAN 110 Source IP=1.10.0.1 Destination IP=2.10.0.1


Configuration Steps:

     On Main Window go to Traffic Item and select to add a L2-3 Traffic item

    The Advance Traffic Wizard will open

    On Endpoint Page chose type of traffic Raw and send  from port 1 to 2


                            
      On Packet /QoS page perform the following settings:
Set the MAC destination address as : 00:00:02:00:00:1 
Clickon the small arrow  next to MAC value and chose to change the  value type Incremental  count 10
Perform similar setting on the MAC Source address
Mac Source=00:00:01:00:00:01 incremental count 10

Click on the Payload and then on Add Protocol button. On the popup window select to add VLAN


Make the VLAN incremental
















Similarly Add IPv4 protocol to payload and make the Source/ Destination IP address incremental
    On the Flow Goup Setup page check that you want to create flows based on IPv4 Source Address

    On Frame setup change the Frame size to 1000B
    On the Rate Setup page change the rate to 1000pkts/seconds
    On Flow tracking page  chose to track  flows based on Ipv4 source address as we set on the flows 









Now you will see the newly created  Traffic Item  on the Traffic Item Window

In order for traffic to work you will need to apply it to the ports using the following button















As soon as traffic is applied you will see the green arrow next to it and you can start it.





Note:
If you want you can start just one  flow at a time by going on L2-3 flow groups window


After traffic is started you can see  the traffic  item statistics in the Main Statistics window

If yo would like to see statistics per flow chose to Drill down the statistics per IPv4 Source Address



Wednesday, July 3, 2013

IxNetwork Traffic- How to send multicast traffic

IxNetwork Traffic: Setup Multicast Traffic

Setup information:
Multicast source port: IP=1.1.1.1
Multicast destination port: IP=1.1.1.2, G=224.0.0.1
Traffic (S=1.1.1.1, G=224.0.0.1) 
For   sending multicast traffic ( if multicast routing  is already working) you will need to perform the following:
1. Configure  IGMP  protocol on the Multicast Destination ports
2. Configure the multicast traffic

Configuration steps:
1. Configure  IGMP  protocol on the Multicast Destination ports
Enable IGMP  protocol on the Multicast Destination ports


Make sure that IP addresses are configured properly. The Protocol Interface node button should be green:


Click on IGMP protocol node and go to Hosts tab.
Change the version of IGMP to 3 if necessary and set the number of groups to 1
Assign the connected interface and  check the Enable box


Configure multicast destination port  as IGMP host for multicast address G=224.0.0.1
Click on IGMP tab and go to Group Ranges:
In the Group IP configure the  multicast address and enable.

Start the IGMP protocol from the button: 





















2. Create the multicast traffic:
Chose to add a L2-3 Item. 


On the destination side click on the button  with the cursor on. Select the destination as multicast:

*** Another way to set the traffic stream is to directly select as destination IGMP-> Multicast range. 


***In order for statistics to work properly in case you have more ports as destination for multicast traffic make sure that Merge Destination range is checked
  




Tuesday, June 25, 2013

IxNetwork DHCP: How to configure DHCPv4 Client and DHCPv4 Server




In the main navigation window, click Protocol Configuration.
Click Access and enable DHCP/PD/w Auth on port1 and DHCP Server on port2

Configure DHCPv4 Client
Under Protocol Configuration, click DHCP/PD w/Auth node  and then the DHCP Client tab
*** the All tab contains all  configuration options for DHCP clients. In order to be easy to use the DHCPv4 client configuration options are grouped in  tabs
Click the Basic tab and make sure that Client is IPv4 type ( default).
Configure Count to be 100 in order to emulate 100 DHCPv4 clients

Click the DHCPv4 tab to see other parameters that might be configured.

Optionally you can click on MAC tab to configure the MAC addresses used by clients

Optionally you can click on VLAN tab to configure VLAN information for each client.
Uncheck box means that no VLAN is currently used (default)

Note:
You can configure up to six levels of VLAN stack.
VLAN stack 1 and 2 can be activated directly from the grid.
To configure more, click on Edit VLAN tab


 Configure Global DHCP client settings
 Click on Protocol Options icon from top to configure the Global settings for  DHCPv4 clients

On protocol option click on DHCP Client
On Global Settings tab General tab you can configure the Setup rate, Teardown Rate, Timeout and retransmission for DHCPv4 and also the DCPv4 ports to be used on client-server exchange
In order to be able to generate traffic although not all clients have been negotiated check the box Accept Partial Configuration


To specify a desired rate per port go to  Port Group Settings tabs and   activate  overrides for specific ports:







Configure DHCP Server
Under Protocol Configuration click DHCP Server and then click the DHCP Server tab. All tab is selected by default

Go on DHCP Server tab
Make sure that type is Ipv4
Configure Server Address an Server Gateway ( optional). They should be in the same subnet


On DHCP Leases tab configure the pool addresses to be used by the DHCP server:

If you want to add more ranges from a click on the Add Range button from above or Append To button if you want to add more  from a click. Check the box in front of row in order to be used.

*****In case of using Relay Agent the pool should be on the same subnet with the IPv4 address of the Relay Agent

 Optionally configure MAC and VLAN for server from their respective tabs:


Configure DHCP server Global Settings
To configure Lease Timeout and maximum Lease time go to Protocol Options click on DHCP Server node and Global Settings are displayed