killosoccer.blogg.se

Ethernet loopback
Ethernet loopback











ethernet loopback
  1. Ethernet loopback drivers#
  2. Ethernet loopback driver#

The loopback connector is required for the external loopback test only. Note - The loopback connector is not required for both internal and external tests of the Ethernet device.

Ethernet loopback driver#

A loopback connector provides the network interface driver the necessary link for testing, while maintaining isolation from a live network. To run netlbtest, a loopback connector must be connected to the Ethernet interface when performing the external loobpback test only. # ifconfig interface down # ifconfig interface unplumb If the packets arrived late but within five times the timeout value and no packet is missing, the test passes. If a packet is received late and the current transmitted packet is not received, the test will stop with a warning message, Packet delay. If up to four packets are missing, the test will stop with an error message, Missed %d packet(s). If all of the packets are not received within the timeout time, the test will stop with the error message, timed out for receiving. After one packet is not received, four more packets are transmitted. Note - Do not run nettest and netlbtest at the same time or the tests might fail.Ī new debugging capability has been added in netlbtest. Each time a packet is sent, it is selected from a different starting point of the data buffer, so that any two consecutively transmitted packets are not the same. The data sent out is generated by a random number generator, and put into a data buffer. If an error occurs (for example, packet mismatch or timeout), an error message indicating the type of error, its probable cause(s), and recommended action(s) is displayed on the SunVTS console. The test generates and sends out the desired number of packets (a tunable parameter) and expects to receive the same number of packets through the loopback interface, external or internal. For the purpose of this test, a packet is defined as an Ethernet header followed by the Ethernet data payload (refer to the IEEE 802.3z standard). The netlbtest uses DLPI RAW mode to talk to the device driver. The netlbtest runs in loopback (external/internal) mode. These devices include eri (the Ethernet device in the RIO chip) and ge (Gigabit Ethernet), ce (GigaSwift Ethernet), dmfe (10/100 Mbps Ethernet), and vca (Sun Crypto Accelerator 4000).

Ethernet loopback drivers#

It provides functional test coverage of the devices which have device drivers that support the Ethernet loopback test. The netlbtest replaces the gemtest previously included in SunVTS.













Ethernet loopback