- First, decide which interface is going to transmit/receive data.
E.g. (Port 1, tx), (Port 2, rx)
Then, for the transmit port do the steps indicated in list item 2.
- SmartBits Ethernet card configuration
- From the main SmartWindows window, click on the port icon and select:
Layer 3 setup
- configure the MAC address (any of your choice) and the IP address
Note: the IP address of the card has
*different* from the IP source
address deployed for traffic tranmission, i.e. the src IP address in
data packets will be different from the IP address configured here.
- Gateway: IP address of the next hop router interface
- reply to all arp requests: DISABLED
- From the main SmartWindows window, click on the port icon and select:
SmartMetrics Mode
Note: SmartMetrics Mode allows the port to send out IP and UDP traffic.
- From the main SmartWindows window, click on the port and select:
100 Mbps or 10 Mbps and in case of Fastethernet Half/full duplex
- For *both* the tx and rx port, define the traffic stream profile
which is also called "VTE" (Virtual Transmit Engine). For each port we can
configure up to 1000 VTE. Before each test run a given VTE has to be
selected. A VTE is configured like in the following:
- From the main SmartWindows window, click on the port icon and
select:
Transmit Setup > add VTE
and configure the VTE
- size: ethernet frame size including overhead - CRC (4 bytes)
- protocol: e.g. UDP; then click on OK, a window calles
protocol edit will pop up.
- Protocol edit> MAC dest: MAC address of the next hop router
- Protocol edit> MAC src: MAC address of the source, it
has to be *different* from the MAC address of the tx port
- Protocol edit> source IP: tx IP address, it has to be
*different* from the IP address of the source port.
- Protocol edit> dest IP: rx IP address, it has to be
*different* from the IP address of the destination SmartBits port.
- close the window, data is atomatically saved.
Note: on the tx port we configured the transmitting VTE. Even for
one-way tests like latency tests we have configured the symmetric
VTE on the rx port.
- Force an ARP transaction. This can be done in 2 ways:
- From the main SmartWindows window, click on the port icon and
select: Layer 3 send ARP Request
This has to be repeated for both the tx and rx port
Actions > Layer 3 ARP
- Click on the tx port icon and select the following:
Transmit Setup > Edit settings for this port
This is to configure the packet size and the output rate.
- Run the test selected, for example:
Options > SmartMetrics > Latency over time
and then press "Start".
We didn't find a way to set the test length. We stop the latency
test by pressing "Stop".
Note: results are displayed on the screen only after
"Stop" is selected.
- In order to save the current settings (port configuration and VTE
configuration), select the following:
file > save as