

So both the script and the above manual technique work identically when converting Ethernet addresses to Token Ring or Token Ring addresses to Ethernet. This is clearly identical to the inverse translation where the bit order is converted from 81 to 18. If the 8 bits in a byte are numbered from 18, this algorithm simply flips the order so that they appear from 81. The script provides an automated way to do these translations. So converting the entire address similarly gives 00-00-30-0f-21-06. The c becomes 3 and the 0 stays the same, giving a final value of 30. Then convert each of these characters by using Table 15-1. To figure out how this byte will look on the Token Ring side of the bridge, you first switch the two hex characters to get c0. Suppose the Ethernet address is 0000.0cf0.8460. This table converts each individual hex character in a MAC address, but there is more to it than this because a byte is eight bits long, not four bits like a hex character. Converting Token Ring to Ethernet MAC addresses Token Ring Table 15-3 shows how the conversion algorithm works. The rule for converting from one to the other is relatively simple, however, because it just reflects this reversing of the bit ordering. So when a bridge connects these two media, the MAC addresses of devices on the Ethernet side will look unfamiliar when viewed from the Token Ring side, and vice versa. The second one allows you to change IP-address part separating dot character to something else. The first one makes sure every IP-address part (between dots) uses two hex digits. Ethernet, on the other hand, puts the least significant bit first. This tool converts Internet Protocol (IPv4) addresses to hexadecimal form. Token Ring uses a convention of most significant bit first when writing a byte. Print "from Ethernet to Token Ring or Token Ring to Ethernet. Print "Note that this conversion is exactly the same whether converting Print "The output is the converted MAC address. Print " where is in the form HH:HH:HH:HH:HH:HH $_ = first check that there aren't any illegal characters in this address # first split the incoming MAC into bytesįor ($i=0 $i*2 < length($_) $i++) = substr($_, $i*2, 2) # addresses when bridging with RSRB or DLSw #!/usr/local/bin/perl # - a script to convert Ethernet to Token Ring MAC It also performs the reverse translation of Token Ring addresses to Ethernet, which is identical. The Perl script in Example 15-1 converts Ethernet addresses to the way they will appear when connected through a bridge to a Token Ring. The valid MAC address range is 00:50:56:00:00:00 to 00:50:56:3F:FF:FF.įor information about adding and removing network adapters, see Attaching VMs to networks.You want to convert the bit ordering of MAC addresses to see how they will look after passing through an Ethernet-to-Token Ring bridge.Must begin with the hexadecimal digits 00:50:56.For the network adapter you want to edit, click Edit.Įdit the MAC address using the guidelines listed below:.Work with your instructor or Skytap administrator to edit these settings.

If the Settings button isn’t visible, you don’t have permission to edit the VM settings. Navigate to the VM Settings > Network Adapters page for the VM you want to edit.Ĭlick ( Settings) for the VM you want to edit. To edit a VM MAC address, edit the VM network adapter settings You can’t change the MAC address for a Power A CPU architecture that supports IBM i, AIX, and Linux (on Power) in Skytap. A VM can have up to 10 MAC addresses, one for each network adapter on the VM.
