« Back to Technical Discussions

extIp and ip attributes

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi, I was trying to get IP addresses of elements in UCS. I have enumerated all mgmtIf classes and some of them have extIp filled and some have not. Here is what I get:
 
dn: sys/switch-A/mgmt/if-1 extIp: 10.140.107.44 ;  ip 127.12.0.1
dn: sys/switch-B/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.12.0.2
dn: sys/chassis-1/slot-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.254
dn: sys/chassis-2/slot-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.254
dn: sys/chassis-1/blade-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.1
dn: sys/chassis-1/blade-2/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.2
dn: sys/chassis-1/blade-3/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.3
dn: sys/chassis-1/blade-4/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.1.4
dn: sys/chassis-2/blade-1/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.1
dn: sys/chassis-2/blade-2/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.2
dn: sys/chassis-2/blade-3/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.3
dn: sys/chassis-2/blade-4/mgmt/if-1 extIp: 0.0.0.0 ;  ip 127.5.2.4
 
My question is, externally available IP address is extIp, when is different from "0.0.0.0", or is there any other way how to detect externally reachable ip addresses of ucs elements ?
 
thanks, Martin

So what you getting is IP address assigned to Fabric Interconnect switch-A/mgmt/if-1 and switch-B/mgmt.. I don't why you are not getting switch-B, may be it does not exist ? 
 
all the other ones are actually blades like slot-x/mgmt/x for which you should see mac , i don't think you would get the external IP for these ones. 

So what you getting is IP address assigned to Fabric Interconnect switch-A/mgmt/if-1 and switch-B/mgmt.. I don't why you are not getting switch-B, may be it does not exist ? 
 
all the other ones are actually blades like slot-x/mgmt/x for which you should see mac , i don't think you would get the external IP for these ones. 


I thought - switch-B was not configured to have external IP and blades were not in ip pool, so they havent public ip either. But, my question was - can I rely on extIp = 0.0.0.0 when external IP is not assigned, or is there a better way ?

Switch A and B both need an individual IP Address.  They then share a common Virtual IP Address that you would use to manage the system.  You should always use the common because the active switch will always respond.  If you have an outage of a switch, the secondary will take over responding to the virtual ip address.  
 
Look on the Admin tab, under Communication Management, under Management Interfaces.  Please see attached file screen-capture-237.
 
extIp is the out of band management address for a server.  It is created by the Management IP Pool (ext-mgmt).  If this is not set, then you will not be able to use KVM to the individual server as an example.  I think this is reliable.  It might also be possible to check the Management IP Pools and see what IP Addresses are assigned to what servers, but I have not checked.  Please see the second picture for what I'm talking about.

 
 
Attachments: