View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 03:16 PM
Alex van Denzel
 
Posts: n/a
Default Re: Identifying ce? interface based on PCI slot and GigaSwift portlocations

cdmonline@mac.com wrote:
> I can see the various ce? interfaces all plumbed via ifconfig -a but
> the documentation that I have inherited is extremely poor and I'm
> trying to match up the ce? interfaces with specific ports on cards in
> specific slots.

Possibly the cards are labeled with the MAC address. Then you can
reverse map the card with the output from ifconfig -a

Probably the card has four consecutive MAC addresses so the label on de
card will show the first.

If there no MAC address label on the card, try matching the last digits
of the serial number.

If that failes, connect the card with _one_ connection to a network and
try a DHCP client. That will give you a functioning IP address on the
connected interface. Then label it as such.

> I'm working under the assumption that with 2 cards with 4 ports each,
> the ce interfaces are grouped into ce0, ce1, ce2 & ce3 on one card and
> ce4, ce5, ce6 & ce7 on the other card. Is this a valid assumption to be
> making? The only thing is that I don't know which ports are from which
> card.


I'm not sure about Solaris (I guess that's what you're using) but in (at
least RedHat) Linux it's possible to change the device names after
detection.

> I know I can scan the /etc/path_to_inst file to locate the ports but I
> don't have the documentation that came with the V280r to help me
> identify/interpret which PCI slot address is associated with the
> information in there.


> My lowest number ce interface is ce0 whilst the highest is ce7. This is
> why I'm assuming 0-3 & 4-7 across the two cards. I'm curious as to why
> this numbering convention is in place given that the GigaSwift cards
> are in slots 2 & 3. I might have expected ce0-ce3 to be associated with
> PCI slot 0. Does this imply that the port number (ce?) is NOT fixed
> based on the PCI slot?


I guess ce0 will be the first ce device detected.

> Why does the numbering start at 0 when the first
> card is not in slot 0? If the numbering is dynamic, what would happen,
> for example, if a new 4-port GigaSwift card were to be installed in
> slot 0, for example? Would the existing numbers all shift?


Probably.

> - CDM


--
Alex.
Reply With Quote