Line: 1 to 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AMC13 IP and MAC Address Assignment | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Line: 34 to 34 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See https://twiki.cern.ch/twiki/bin/viewauth/CMS/CMSCommonMacAddresses![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < | For all AMC13XG with current firmware, the MAC address is in the range
08-00-30-F3-00-00 to 08-00-30-F3-01-FF with the low 9 bits as follows: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | Firmware review reveals- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < | bits 0-5 complement of serial number bits 0-5 bit 6 =0 for T2 board (lower IP) =1 for T1 board (upper IP) bit 7, 8 serial number bits 6, 7 (complemented for S/N > 64) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | nSN <= not SerialNumber; mac => x"080030f30" & "000" & not nSN(7 downto 6) & '0' & nSN(5 downto 0) #old T2 mac => x"080030f30" & '0' & not nSN(8) & '0' & not nSN(7 downto 6) & '0' & nSN(5 downto 0), #new T2 mac <= x"080030f30" & '0' & not nSN(8) & '0' & not nSN(7 downto 6) & '1' & nSN(5 downto 0); #all T1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | So all MAC addr start with 08-00-30-F3. The S/N bits are mapped to MAC address bits as follows: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < | Example:
If we have a board with serial number 37, we can calculate the last digit of the MAC address:
63-37 = 26, which is 0x1a in hex
SN37 MAC addresses:
08-00-30-F3-00-1a (for T2, low IP)and
08-00-30-F3-00-5a (for T1, higher IP)
For modules with serial numbers above 63 the upper two bits are complemented and assigned to MAC address bits 7, 8.
example
SN66 (0b01000010)
08-00-30-F3-01-3d (for T2, low IP)and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < | 08-00-30-F3-01-7d (for T1, higher IP) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | This results in a range of 00-00 to 01-FF for AMC13 serial# 0-255
and 04-00 to 05-FF for AMC13 serial# 256-511. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
< < | -- EricHazen - 12 Mar 2014 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
\ No newline at end of file | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> > | -- EricHazen - 21 Mar 2016 |