Using the SANE O/S
Before using the Java Active Machine one must assign and ANET address
to their networking interface. Assignment and deletion of addresses
is accomplished with set_anet_addr and get_anet_addr utilities.
- Setting the ANET address
The anet address can be set with set_anet_addr. It's usage is
fairly straightforward. At this time it is only valid to set the
anet addr to be the ethernet address of the ethernet interface.
Ex.
set_anet_addr ed0 set ethernet 00:c0:a3:0d:dd:eb
- Clearing an ANET address
You can clear one by changing set to clear.
Ex.
set_anet_addr ed0 clear ethernet 00:c0:a3:0d:dd:eb
- Getting the ANET address
Simple: get_anet_addr interface.
Example: get_anet_addr ed0