This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
cmd:lotest [2012/03/24 20:31] mcb30 |
cmd:lotest [2016/05/23 22:31] mcb30 |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Synopsis ===== | ===== Synopsis ===== | ||
- | lotest [--mtu <mtu>] <sending interface> <receiving interface> | + | lotest [--mtu <mtu>] [--broadcast] <sending interface> <receiving interface> |
===== Examples ===== | ===== Examples ===== | ||
Line 16: | Line 16: | ||
You can specify the packet size (excluding the link-layer header) using the ''%%--mtu%%'' option. If no packet size is specified, then the default Ethernet size of 1500 bytes will be used. | You can specify the packet size (excluding the link-layer header) using the ''%%--mtu%%'' option. If no packet size is specified, then the default Ethernet size of 1500 bytes will be used. | ||
+ | |||
+ | You can specify a broadcast destination link-layer address using the ''%%--broadcast%%'' option. If a broadcast destination address is not specified, then the link-layer address of the receiving interface will be used. | ||
The test will continue until it is interrupted (e.g. by pressing ''Ctrl-C'') or until a packet is received incorrectly. The number of packets successfully received will be displayed as a running total during the test. | The test will continue until it is interrupted (e.g. by pressing ''Ctrl-C'') or until a packet is received incorrectly. The number of packets successfully received will be displayed as a running total during the test. | ||
Line 37: | Line 39: | ||
Some drivers that pass a loopback test may use an MTU that is too small to support VLANs. These can be identified by creating a VLAN interface on each end, and then performing the loopback test over the VLAN interfaces. For example: | Some drivers that pass a loopback test may use an MTU that is too small to support VLANs. These can be identified by creating a VLAN interface on each end, and then performing the loopback test over the VLAN interfaces. For example: | ||
- | vcreate --id 123 net0 | + | vcreate --tag 123 net0 |
- | vcreate --id 123 net1 | + | vcreate --tag 123 net1 |
lotest net0-123 net1-123 | lotest net0-123 net1-123 | ||