Difference: IPaddressAssignment (25 vs. 26)

Revision 2604 Nov 2020 - ChristopherCosby

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 IP and MAC Address Assignment

Line: 11 to 11
 

How the AMC13 IP Address is assigned

1. Via the Serial Number

Added:
>
>
 This scheme acts as the "backup" plan, using the jumper connections on T2 to assign IP addresses to both tongues The address is 192.168.z.x
  • Final Byte for Spartan Chip (T2) = 254 - 2*SN[6:0]
  • Final Byte for Virtex/Kintex Chip (T1) = 255 - 2*SN[6:0].
Changed:
<
<
z is 1 for SN 0-127 and 2 for SN 128-255 and 3 for SN 256-383.
>
>
z is 1 for SN 0-127 and 2 for SN 128-255 and 3 for SN 256-383.
  N.B.Serial numbers 0, 128, 256 are not used as it would result in IP address ending in 255, which can cause troubles on some networks.
Line: 35 to 37
 See https://twiki.cern.ch/twiki/bin/viewauth/CMS/CMSCommonMacAddresses.

Firmware review reveals-

Changed:
<
<
  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

>
>
  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

 

So all MAC addr start with 08-00-30-F3.

Line: 52 to 54
 
9 '0'
10 S/N( 8)
11 '0'
Deleted:
<
<
 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.

-- EricHazen - 21 Mar 2016

Added:
>
>

IP and MAC Address Calculator

Download and run this python script ($ python addressCalc.py -s serial_no), to get a quick printout of the IP and MAC address for a given SN

-- Christopher Cosby - 04 Nov 2020

 \ No newline at end of file
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback