ArpNdConfig Object


Description:

ARP/ND configuration. The ARP/ND capability resolves the MAC address of the gateway/destination configured in stream blocks or emulated devices. A project can contain exactly one ArpNdConfig object.

Automatically created from: Project

ArpNdConfig Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
AllowUnsolicitedNA

Allow unsolicited neighbor advertisement processing or not.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Unsolicited neighbor advertisement will be processed.

FALSE

Unsolicited neighbor advertisement will not be processed.

ApplyConfiguredGatewayMac

When this property is enabled and "Resolve Gateway Mac Address" is not checked, the configured gateway mac address to IL arp/ND will be applied.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Apply the configured gateway mac address.

FALSE

Do not apply the configured gateway mac address.

DuplicateGatewayDetection

Whether to perform ARP/ND suppression for a duplicate gateway.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enable ARP/ND suppression for duplicate gateway.

FALSE

Disable ARP/ND suppression for duplicate gateway.

EmulationNsUsesGlobalAddr

Neighbor Solicitations sent for emulation will use the global scoped address for the source. If there is no global scoped address configured on the device, it will use source address selection on the configured addresses.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

NS from the protocol stack will use global scoped addresses for the source

FALSE

NS from the protocol stack will use source address selection for the source

EnableAutoArp

Whether to resolve IPv4 or IPv6 addresses before transmitting.

For emulated hosts and routers, once ARP has been resolved, it will not be resolved again. For stream blocks, ARP will be resolved each time before transmitting, even if it has already been resolved.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Resolve IP addresses before transmitting.

FALSE

Do not resolve IP addresses before transmitting.

EnableCyclicArp

Whether to enable or disable cyclic ARP.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -EnableCyclicArp true

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Enable cyclic ARP.

FALSE

Disable cyclic ARP.

EnableUniqueMacAddrInReply

Whether to enable the firmware to respond with a unique MAC address.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -EnableUniqueMacAddrInReply true

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Reply with unique MAC address.

FALSE

Do not reply with MAC address.

EnableUniqueMacPattern

Sets the response pattern for the first two octets of the MAC address to be sent to firmware when EnableUniqueMacAddrInReply is enabled.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -UniqueMACPattern 1111

Type: u16

Default: 2222

IgnoreFailures

Whether to ignore ARP/ND failures and proceed to transmit.

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

If ARP/ND fails, transmit anyway.

FALSE

If ARP/ND fails, do not transmit.

LearningRate

Learning rate for ARP/ND in packets per second.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -LearningRate 20000

Type: u32

Default: 250

MaxBurst

Maximum burst size allowed for ARP/ND. Specified in packets.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -MaxBurst 20000

Type: u32

Default: 16

NeighborAdvertismentAlwaysOverrides

NA will have the override flag set and include the target link layer option regardless if the solicitation is unicasted.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

NA will have the override flag set regardless if NS is unicasted.

FALSE

NA will have the override flag unset if NS is unicasted.

ProcessGratuitousArpRequests

Whether to allow gratuitous ARP requests from the DUT.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -ProcessGratuitousArpRequests false

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Allow gratuitous ARP requests from the DUT.

FALSE

Do not allow gratuitous ARP requests from the DUT.

ProcessUnsolicitedArpReplies

Whether to allow unsolicited ARP replies from the DUT.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -ProcessUnsolicitedArpReplies false

Type: bool

Default: TRUE

Possible Values:

Value Description
TRUE

Allow unsolicited ARP replies from the DUT.

FALSE

Do not allow unsolicited ARP replies from the DUT.

RetryCount

Retry count of ARP/ND.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -RetryCount 5

Type: u32

Default: 3

Range: 0 - 100

SendNsToMultipleGateways

Send NS to multiple gateways, and learn the MAC address from the gateway that sent back NA

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Send NS to multiple gateways from which RAs were received

FALSE

Send NS to gateway from which the last RA was received

SetArpNdNoExpire

When the property is enabled, ARP/ND will not expire.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

ARP/ND will not expire.

FALSE

ARP/ND can expire.

TimeOut

Timeout interval in milliseconds for ARP/ND.

Tcl example:

stc::config [stc::get project1 -children-arpndconfig] -TimeOut 50

Type: u32

Default: 1000

UpdateDestMacUponNonGratuitousArpRequestsReceived

Update destination MAC from received non-gratuitous Arp requests from DUT.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Allow updating destination MAC from received non-gratuitous Arp requests.

FALSE

Do not allow updating destination MAC from received non-gratuitous Arp Requests.

UseConfiguredLinkLocalAddrForNeighborDiscovery

Controls whether to use the configured LinkLocal IPv6 address as the source address for Neighbor Soliciations

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Use the configured LinkLocal Address for neighbor discovery.

FALSE

Do not use the configured LinkLocal Address for neighbor discovery.

UseGatewayForTarget

Use gateway as the ARP target when it is enabled.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable the use of gateway as the ARP target.

FALSE

Disable the use of gateway as the ARP target.

UseLinklayerCacheInStack

Controls whether to use link layer cache in USS. If there is cache, then no request goes out.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable the use of link layer cache in USS.

FALSE

Disable the use of link layer cache in USS.

UseLinkLocalAddrForNeighborDiscovery

Use link local interface of the emulated device to do neighbor discover.

Type: bool

Default: FALSE

Possible Values:

Value Description
TRUE

Enable the use of the link local interface.

FALSE

Disable the use of the link local interface.

ArpNdConfig Read-Only Attributes

There are no read-only attributes.